Lines Matching refs:_vm
425 #define virtio_mem_bbm_for_each_bb(_vm, _bb_id, _state) \ argument
427 _bb_id < vm->bbm.next_bb_id && _vm->bbm.bb_count[_state]; \
429 if (virtio_mem_bbm_get_bb_state(_vm, _bb_id) == _state)
431 #define virtio_mem_bbm_for_each_bb_rev(_vm, _bb_id, _state) \ argument
433 _bb_id >= vm->bbm.first_bb_id && _vm->bbm.bb_count[_state]; \
435 if (virtio_mem_bbm_get_bb_state(_vm, _bb_id) == _state)
491 #define virtio_mem_sbm_for_each_mb(_vm, _mb_id, _state) \ argument
492 for (_mb_id = _vm->sbm.first_mb_id; \
493 _mb_id < _vm->sbm.next_mb_id && _vm->sbm.mb_count[_state]; \
495 if (virtio_mem_sbm_get_mb_state(_vm, _mb_id) == _state)
497 #define virtio_mem_sbm_for_each_mb_rev(_vm, _mb_id, _state) \ argument
498 for (_mb_id = _vm->sbm.next_mb_id - 1; \
499 _mb_id >= _vm->sbm.first_mb_id && _vm->sbm.mb_count[_state]; \
501 if (virtio_mem_sbm_get_mb_state(_vm, _mb_id) == _state)