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.c351 unsigned long bb_id) in virtio_mem_bb_id_to_phys() argument
353 return bb_id * vm->bbm.bb_size; in virtio_mem_bb_id_to_phys()
372 unsigned long bb_id, in virtio_mem_bbm_set_bb_state() argument
375 const unsigned long idx = bb_id - vm->bbm.first_bb_id; in virtio_mem_bbm_set_bb_state()
390 unsigned long bb_id) in virtio_mem_bbm_get_bb_state() argument
392 return vm->bbm.bb_states[bb_id - vm->bbm.first_bb_id]; in virtio_mem_bbm_get_bb_state()
681 static int virtio_mem_bbm_add_bb(struct virtio_mem *vm, unsigned long bb_id) in virtio_mem_bbm_add_bb() argument
683 const uint64_t addr = virtio_mem_bb_id_to_phys(vm, bb_id); in virtio_mem_bbm_add_bb()
813 unsigned long bb_id) in virtio_mem_bbm_offline_and_remove_bb() argument
815 const uint64_t addr = virtio_mem_bb_id_to_phys(vm, bb_id); in virtio_mem_bbm_offline_and_remove_bb()
[all …]