Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/virtio/
Dvirtio_mem.c209 unsigned long bb_count[VIRTIO_MEM_BBM_BB_COUNT]; member
358 BUG_ON(vm->bbm.bb_count[old_state] == 0); in virtio_mem_bbm_set_bb_state()
359 vm->bbm.bb_count[old_state]--; in virtio_mem_bbm_set_bb_state()
360 vm->bbm.bb_count[state]++; in virtio_mem_bbm_set_bb_state()
402 _bb_id < vm->bbm.next_bb_id && _vm->bbm.bb_count[_state]; \
408 _bb_id >= vm->bbm.first_bb_id && _vm->bbm.bb_count[_state]; \
1751 vm->bbm.bb_count[VIRTIO_MEM_BBM_BB_UNUSED]++; in virtio_mem_bbm_prepare_next_bb()