Lines Matching refs:_vm
418 #define virtio_mem_bbm_for_each_bb(_vm, _bb_id, _state) \ argument
420 _bb_id < vm->bbm.next_bb_id && _vm->bbm.bb_count[_state]; \
422 if (virtio_mem_bbm_get_bb_state(_vm, _bb_id) == _state)
424 #define virtio_mem_bbm_for_each_bb_rev(_vm, _bb_id, _state) \ argument
426 _bb_id >= vm->bbm.first_bb_id && _vm->bbm.bb_count[_state]; \
428 if (virtio_mem_bbm_get_bb_state(_vm, _bb_id) == _state)
484 #define virtio_mem_sbm_for_each_mb(_vm, _mb_id, _state) \ argument
485 for (_mb_id = _vm->sbm.first_mb_id; \
486 _mb_id < _vm->sbm.next_mb_id && _vm->sbm.mb_count[_state]; \
488 if (virtio_mem_sbm_get_mb_state(_vm, _mb_id) == _state)
490 #define virtio_mem_sbm_for_each_mb_rev(_vm, _mb_id, _state) \ argument
491 for (_mb_id = _vm->sbm.next_mb_id - 1; \
492 _mb_id >= _vm->sbm.first_mb_id && _vm->sbm.mb_count[_state]; \
494 if (virtio_mem_sbm_get_mb_state(_vm, _mb_id) == _state)