Lines Matching refs:_vm
415 #define virtio_mem_bbm_for_each_bb(_vm, _bb_id, _state) \ argument
417 _bb_id < vm->bbm.next_bb_id && _vm->bbm.bb_count[_state]; \
419 if (virtio_mem_bbm_get_bb_state(_vm, _bb_id) == _state)
421 #define virtio_mem_bbm_for_each_bb_rev(_vm, _bb_id, _state) \ argument
423 _bb_id >= vm->bbm.first_bb_id && _vm->bbm.bb_count[_state]; \
425 if (virtio_mem_bbm_get_bb_state(_vm, _bb_id) == _state)
481 #define virtio_mem_sbm_for_each_mb(_vm, _mb_id, _state) \ argument
482 for (_mb_id = _vm->sbm.first_mb_id; \
483 _mb_id < _vm->sbm.next_mb_id && _vm->sbm.mb_count[_state]; \
485 if (virtio_mem_sbm_get_mb_state(_vm, _mb_id) == _state)
487 #define virtio_mem_sbm_for_each_mb_rev(_vm, _mb_id, _state) \ argument
488 for (_mb_id = _vm->sbm.next_mb_id - 1; \
489 _mb_id >= _vm->sbm.first_mb_id && _vm->sbm.mb_count[_state]; \
491 if (virtio_mem_sbm_get_mb_state(_vm, _mb_id) == _state)