Lines Matching refs:_state
425 #define virtio_mem_bbm_for_each_bb(_vm, _bb_id, _state) \
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) \
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) \
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) \
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)