Searched refs:num_free (Results 1 – 8 of 8) sorted by relevance
71 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()
112 uint16_t num_free; member
339 vq->num_free--; in qvirtqueue_add()366 vq->num_free--; in qvirtqueue_add_indirect()
37 uint32_t num_free; member
169 vq->num_free = vq->size; in qvirtio_mmio_virtqueue_setup()
220 vqpci->vq.num_free = vqpci->vq.size; in qvirtio_pci_virtqueue_setup_common()
302 uint32_t num_free; in qemu_text_console_handle_keysym() local341 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()
7013 int num_total, num_prim, num_sec, num_free, diff, limit; in nvme_assign_virt_res_to_sec() local7031 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()