Searched refs:in_bytes (Results 1 – 5 of 5) sorted by relevance
/qemu/subprojects/libvhost-user/ |
H A D | libvhost-user.h | 741 void vu_queue_get_avail_bytes(VuDev *vdev, VuVirtq *vq, unsigned int *in_bytes, 754 bool vu_queue_avail_bytes(VuDev *dev, VuVirtq *vq, unsigned int in_bytes,
|
H A D | libvhost-user.c | 2450 vu_queue_get_avail_bytes(VuDev *dev, VuVirtq *vq, unsigned int *in_bytes, in vu_queue_get_avail_bytes() argument 2546 if (in_bytes) { in vu_queue_get_avail_bytes() 2547 *in_bytes = in_total; in vu_queue_get_avail_bytes() 2560 vu_queue_avail_bytes(VuDev *dev, VuVirtq *vq, unsigned int in_bytes, in vu_queue_avail_bytes() argument 2566 in_bytes, out_bytes); in vu_queue_avail_bytes() 2568 return in_bytes <= in_total && out_bytes <= out_total; in vu_queue_avail_bytes()
|
/qemu/hw/virtio/ |
H A D | virtio.c | 1257 unsigned int *in_bytes, unsigned int *out_bytes, in virtqueue_split_get_avail_bytes() argument 1352 if (in_bytes) { in virtqueue_split_get_avail_bytes() 1353 *in_bytes = in_total; in virtqueue_split_get_avail_bytes() 1393 unsigned int *in_bytes, in virtqueue_packed_get_avail_bytes() argument 1495 if (in_bytes) { in virtqueue_packed_get_avail_bytes() 1496 *in_bytes = in_total; in virtqueue_packed_get_avail_bytes() 1508 int virtqueue_get_avail_bytes(VirtQueue *vq, unsigned int *in_bytes, in virtqueue_get_avail_bytes() argument 1534 virtqueue_packed_get_avail_bytes(vq, in_bytes, out_bytes, in virtqueue_get_avail_bytes() 1538 virtqueue_split_get_avail_bytes(vq, in_bytes, out_bytes, in virtqueue_get_avail_bytes() 1545 if (in_bytes) { in virtqueue_get_avail_bytes() [all …]
|
/qemu/include/hw/virtio/ |
H A D | virtio.h | 277 int virtqueue_avail_bytes(VirtQueue *vq, unsigned int in_bytes, 283 int virtqueue_get_avail_bytes(VirtQueue *vq, unsigned int *in_bytes,
|
/qemu/hw/net/ |
H A D | virtio-net.c | 1659 unsigned int in_bytes; in virtio_net_has_buffers() local 1663 opaque = virtqueue_get_avail_bytes(q->rx_vq, &in_bytes, NULL, in virtio_net_has_buffers() 1666 if (bufsize <= in_bytes) { in virtio_net_has_buffers()
|