Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/virtio/
Dvirtio_mem.c198 unsigned long *sb_states; member
515 __bitmap_set(vm->sbm.sb_states, bit, count); in virtio_mem_sbm_set_sb_plugged()
529 __bitmap_clear(vm->sbm.sb_states, bit, count); in virtio_mem_sbm_set_sb_unplugged()
542 return test_bit(bit, vm->sbm.sb_states); in virtio_mem_sbm_test_sb_plugged()
545 return find_next_zero_bit(vm->sbm.sb_states, bit + count, bit) >= in virtio_mem_sbm_test_sb_plugged()
559 return find_next_bit(vm->sbm.sb_states, bit + count, bit) >= in virtio_mem_sbm_test_sb_unplugged()
572 return find_next_zero_bit(vm->sbm.sb_states, in virtio_mem_sbm_first_unplugged_sb()
588 if (vm->sbm.sb_states && old_pages == new_pages) in virtio_mem_sbm_sb_states_prepare_next_mb()
596 if (vm->sbm.sb_states) in virtio_mem_sbm_sb_states_prepare_next_mb()
597 memcpy(new_bitmap, vm->sbm.sb_states, old_pages * PAGE_SIZE); in virtio_mem_sbm_sb_states_prepare_next_mb()
[all …]