Home
last modified time | relevance | path

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

/linux/drivers/virtio/
H A Dvirtio_mem.c1589 unsigned long mb_id, uint64_t *nb_sb) in virtio_mem_sbm_unplug_any_sb_raw() argument
1595 while (*nb_sb) { in virtio_mem_sbm_unplug_any_sb_raw()
1604 while (count < *nb_sb && sb_id > 0 && in virtio_mem_sbm_unplug_any_sb_raw()
1613 *nb_sb -= count; in virtio_mem_sbm_unplug_any_sb_raw()
1629 uint64_t nb_sb = vm->sbm.sbs_per_mb; in virtio_mem_sbm_unplug_mb() local
1631 return virtio_mem_sbm_unplug_any_sb_raw(vm, mb_id, &nb_sb); in virtio_mem_sbm_unplug_mb()
1667 unsigned long mb_id, uint64_t *nb_sb) in virtio_mem_sbm_plug_and_add_mb() argument
1669 const int count = min_t(int, *nb_sb, vm->sbm.sbs_per_mb); in virtio_mem_sbm_plug_and_add_mb()
1705 *nb_sb -= count; in virtio_mem_sbm_plug_and_add_mb()
1718 unsigned long mb_id, uint64_t *nb_sb) in virtio_mem_sbm_plug_any_sb() argument
[all …]