Searched refs:num_free (Results 1 – 10 of 10) sorted by relevance
| /openbmc/u-boot/drivers/virtio/ |
| H A D | virtio_ring.c | 32 if (vq->num_free < descs_used) { in virtqueue_add() 34 descs_used, vq->num_free); in virtqueue_add() 71 vq->num_free -= descs_used; in virtqueue_add() 144 vq->num_free++; in detach_buf() 151 vq->num_free++; in detach_buf() 219 vq->num_free = vring.num; in __vring_new_virtqueue() 332 vq->free_head, vq->num_added, vq->num_free); in virtqueue_dump()
|
| /openbmc/qemu/hw/virtio/ |
| H A D | vhost-shadow-virtqueue.h | 112 uint16_t num_free; member
|
| H A D | vhost-shadow-virtqueue.c | 71 return svq->num_free; in vhost_svq_available_slots() 289 svq->num_free -= ndescs; in vhost_svq_add() 477 svq->num_free += num; in vhost_svq_get_buf() 697 svq->num_free = svq->vring.num; in vhost_svq_start()
|
| /openbmc/u-boot/include/ |
| H A D | virtio_ring.h | 103 unsigned int num_free; member
|
| /openbmc/qemu/tests/qtest/libqos/ |
| H A D | virtio.h | 37 uint32_t num_free; member
|
| H A D | virtio.c | 349 vq->num_free--; in qvirtqueue_add() 376 vq->num_free--; in qvirtqueue_add_indirect()
|
| H A D | virtio-mmio.c | 169 vq->num_free = vq->size; in qvirtio_mmio_virtqueue_setup()
|
| H A D | virtio-pci.c | 218 vqpci->vq.num_free = vqpci->vq.size; in qvirtio_pci_virtqueue_setup_common()
|
| /openbmc/qemu/ui/ |
| H A D | console-vc.c | 305 uint32_t num_free; in qemu_text_console_handle_keysym() local 344 num_free = fifo8_num_free(&s->out_fifo); in qemu_text_console_handle_keysym() 345 fifo8_push_all(&s->out_fifo, buf, MIN(num_free, q - buf)); in qemu_text_console_handle_keysym()
|
| /openbmc/qemu/hw/nvme/ |
| H A D | ctrl.c | 7127 int num_total, num_prim, num_sec, num_free, diff, limit; in nvme_assign_virt_res_to_sec() local 7145 num_free = num_total - num_prim - num_sec; in nvme_assign_virt_res_to_sec() 7148 if (diff > num_free) { in nvme_assign_virt_res_to_sec()
|