Home
last modified time | relevance | path

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

/qemu/hw/virtio/
H A Dvhost-shadow-virtqueue.c71 return svq->num_free; in vhost_svq_available_slots()
266 svq->num_free -= ndescs; in vhost_svq_add()
454 svq->num_free += num; in vhost_svq_get_buf()
674 svq->num_free = svq->vring.num; in vhost_svq_start()
H A Dvhost-shadow-virtqueue.h112 uint16_t num_free; member
/qemu/tests/qtest/libqos/
H A Dvirtio.c339 vq->num_free--; in qvirtqueue_add()
366 vq->num_free--; in qvirtqueue_add_indirect()
H A Dvirtio.h37 uint32_t num_free; member
H A Dvirtio-mmio.c169 vq->num_free = vq->size; in qvirtio_mmio_virtqueue_setup()
H A Dvirtio-pci.c220 vqpci->vq.num_free = vqpci->vq.size; in qvirtio_pci_virtqueue_setup_common()
/qemu/ui/
H A Dconsole-vc.c302 uint32_t num_free; in qemu_text_console_handle_keysym() local
341 num_free = fifo8_num_free(&s->out_fifo); in qemu_text_console_handle_keysym()
342 fifo8_push_all(&s->out_fifo, buf, MIN(num_free, q - buf)); in qemu_text_console_handle_keysym()
/qemu/hw/nvme/
H A Dctrl.c7013 int num_total, num_prim, num_sec, num_free, diff, limit; in nvme_assign_virt_res_to_sec() local
7031 num_free = num_total - num_prim - num_sec; in nvme_assign_virt_res_to_sec()
7034 if (diff > num_free) { in nvme_assign_virt_res_to_sec()