Home
last modified time | relevance | path

Searched refs:next_mb_id (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/virtio/
H A Dvirtio_mem.c166 unsigned long next_mb_id; member
468 int old_pages = PFN_UP(vm->sbm.next_mb_id - vm->sbm.first_mb_id); in virtio_mem_sbm_mb_states_prepare_next_mb()
469 int new_pages = PFN_UP(vm->sbm.next_mb_id - vm->sbm.first_mb_id + 1); in virtio_mem_sbm_mb_states_prepare_next_mb()
491 _mb_id < _vm->sbm.next_mb_id && _vm->sbm.mb_count[_state]; \
496 for (_mb_id = _vm->sbm.next_mb_id - 1; \
588 const unsigned long old_nb_mb = vm->sbm.next_mb_id - vm->sbm.first_mb_id; in virtio_mem_sbm_sb_states_prepare_next_mb()
1642 if (vm->sbm.next_mb_id > vm->sbm.last_usable_mb_id) in virtio_mem_sbm_prepare_next_mb()
1656 *mb_id = vm->sbm.next_mb_id++; in virtio_mem_sbm_prepare_next_mb()
2573 vm->sbm.next_mb_id = vm->sbm.first_mb_id; in virtio_mem_init_hotplug()