Home
last modified time | relevance | path

Searched refs:_bb_id (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/virtio/
H A Dvirtio_mem.c423 #define virtio_mem_bbm_for_each_bb(_vm, _bb_id, _state) \ argument
424 for (_bb_id = vm->bbm.first_bb_id; \
425 _bb_id < vm->bbm.next_bb_id && _vm->bbm.bb_count[_state]; \
426 _bb_id++) \
427 if (virtio_mem_bbm_get_bb_state(_vm, _bb_id) == _state)
429 #define virtio_mem_bbm_for_each_bb_rev(_vm, _bb_id, _state) \ argument
430 for (_bb_id = vm->bbm.next_bb_id - 1; \
431 _bb_id >= vm->bbm.first_bb_id && _vm->bbm.bb_count[_state]; \
432 _bb_id--) \
433 if (virtio_mem_bbm_get_bb_state(_vm, _bb_id) == _state)