Lines Matching refs:_vm
400 #define virtio_mem_bbm_for_each_bb(_vm, _bb_id, _state) \ argument
402 _bb_id < vm->bbm.next_bb_id && _vm->bbm.bb_count[_state]; \
404 if (virtio_mem_bbm_get_bb_state(_vm, _bb_id) == _state)
406 #define virtio_mem_bbm_for_each_bb_rev(_vm, _bb_id, _state) \ argument
408 _bb_id >= vm->bbm.first_bb_id && _vm->bbm.bb_count[_state]; \
410 if (virtio_mem_bbm_get_bb_state(_vm, _bb_id) == _state)
466 #define virtio_mem_sbm_for_each_mb(_vm, _mb_id, _state) \ argument
467 for (_mb_id = _vm->sbm.first_mb_id; \
468 _mb_id < _vm->sbm.next_mb_id && _vm->sbm.mb_count[_state]; \
470 if (virtio_mem_sbm_get_mb_state(_vm, _mb_id) == _state)
472 #define virtio_mem_sbm_for_each_mb_rev(_vm, _mb_id, _state) \ argument
473 for (_mb_id = _vm->sbm.next_mb_id - 1; \
474 _mb_id >= _vm->sbm.first_mb_id && _vm->sbm.mb_count[_state]; \
476 if (virtio_mem_sbm_get_mb_state(_vm, _mb_id) == _state)