Searched refs:out_total (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/hw/virtio/ |
H A D | virtio.c | 1254 unsigned int total_bufs, in_total, out_total; in virtqueue_split_get_avail_bytes() local 1262 total_bufs = in_total = out_total = 0; in virtqueue_split_get_avail_bytes() 1316 out_total += desc.len; in virtqueue_split_get_avail_bytes() 1347 *out_bytes = out_total; in virtqueue_split_get_avail_bytes() 1352 in_total = out_total = 0; in virtqueue_split_get_avail_bytes() 1392 unsigned int total_bufs, in_total, out_total; in virtqueue_packed_get_avail_bytes() local 1403 total_bufs = in_total = out_total = 0; in virtqueue_packed_get_avail_bytes() 1455 out_total += desc.len; in virtqueue_packed_get_avail_bytes() 1490 *out_bytes = out_total; in virtqueue_packed_get_avail_bytes() 1495 in_total = out_total = 0; in virtqueue_packed_get_avail_bytes() [all …]
|
/openbmc/qemu/subprojects/libvhost-user/ |
H A D | libvhost-user.c | 2455 unsigned int total_bufs, in_total, out_total; in vu_queue_get_avail_bytes() local 2460 total_bufs = in_total = out_total = 0; in vu_queue_get_avail_bytes() 2524 out_total += le32toh(desc[i].len); in vu_queue_get_avail_bytes() 2526 if (in_total >= max_in_bytes && out_total >= max_out_bytes) { in vu_queue_get_avail_bytes() 2550 *out_bytes = out_total; in vu_queue_get_avail_bytes() 2555 in_total = out_total = 0; in vu_queue_get_avail_bytes() 2563 unsigned int in_total, out_total; in vu_queue_avail_bytes() local 2565 vu_queue_get_avail_bytes(dev, vq, &in_total, &out_total, in vu_queue_avail_bytes() 2568 return in_bytes <= in_total && out_bytes <= out_total; in vu_queue_avail_bytes()
|