Searched refs:_mb_id (Results 1 – 1 of 1) sorted by relevance
489 #define virtio_mem_sbm_for_each_mb(_vm, _mb_id, _state) \ argument490 for (_mb_id = _vm->sbm.first_mb_id; \491 _mb_id < _vm->sbm.next_mb_id && _vm->sbm.mb_count[_state]; \492 _mb_id++) \493 if (virtio_mem_sbm_get_mb_state(_vm, _mb_id) == _state)495 #define virtio_mem_sbm_for_each_mb_rev(_vm, _mb_id, _state) \ argument496 for (_mb_id = _vm->sbm.next_mb_id - 1; \497 _mb_id >= _vm->sbm.first_mb_id && _vm->sbm.mb_count[_state]; \498 _mb_id--) \499 if (virtio_mem_sbm_get_mb_state(_vm, _mb_id) == _state)