Searched refs:sb_states (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/virtio/ |
H A D | virtio_mem.c | 202 unsigned long *sb_states; member 522 __bitmap_set(vm->sbm.sb_states, bit, count); in virtio_mem_sbm_set_sb_plugged() 536 __bitmap_clear(vm->sbm.sb_states, bit, count); in virtio_mem_sbm_set_sb_unplugged() 549 return test_bit(bit, vm->sbm.sb_states); in virtio_mem_sbm_test_sb_plugged() 552 return find_next_zero_bit(vm->sbm.sb_states, bit + count, bit) >= in virtio_mem_sbm_test_sb_plugged() 566 return find_next_bit(vm->sbm.sb_states, bit + count, bit) >= in virtio_mem_sbm_test_sb_unplugged() 579 return find_next_zero_bit(vm->sbm.sb_states, in virtio_mem_sbm_first_unplugged_sb() 595 if (vm->sbm.sb_states && old_pages == new_pages) in virtio_mem_sbm_sb_states_prepare_next_mb() 603 if (vm->sbm.sb_states) in virtio_mem_sbm_sb_states_prepare_next_mb() 604 memcpy(new_bitmap, vm->sbm.sb_states, old_pages * PAGE_SIZE); in virtio_mem_sbm_sb_states_prepare_next_mb() [all …]
|