Lines Matching refs:out_num

819     for (i = 0; i < elem->out_num; i++)  in virtqueue_unmap_sg()
1606 static void virtqueue_undo_map_desc(unsigned int out_num, unsigned int in_num, in virtqueue_undo_map_desc() argument
1611 for (i = 0; i < out_num + in_num; i++) { in virtqueue_undo_map_desc()
1612 int is_write = i >= out_num; in virtqueue_undo_map_desc()
1647 virtqueue_map_iovec(vdev, elem->out_sg, elem->out_addr, elem->out_num, in virtqueue_map()
1651 static void *virtqueue_alloc_element(size_t sz, unsigned out_num, unsigned in_num) in virtqueue_alloc_element() argument
1656 size_t out_addr_end = out_addr_ofs + out_num * sizeof(elem->out_addr[0]); in virtqueue_alloc_element()
1659 size_t out_sg_end = out_sg_ofs + out_num * sizeof(elem->out_sg[0]); in virtqueue_alloc_element()
1663 trace_virtqueue_alloc_element(elem, sz, in_num, out_num); in virtqueue_alloc_element()
1664 elem->out_num = out_num; in virtqueue_alloc_element()
1682 unsigned out_num, in_num, elem_entries; in virtqueue_split_pop() local
1699 out_num = in_num = elem_entries = 0; in virtqueue_split_pop()
1756 map_ok = virtqueue_map_desc(vdev, &in_num, addr + out_num, in virtqueue_split_pop()
1757 iov + out_num, in virtqueue_split_pop()
1758 VIRTQUEUE_MAX_SIZE - out_num, true, in virtqueue_split_pop()
1765 map_ok = virtqueue_map_desc(vdev, &out_num, addr, iov, in virtqueue_split_pop()
1787 elem = virtqueue_alloc_element(sz, out_num, in_num); in virtqueue_split_pop()
1790 for (i = 0; i < out_num; i++) { in virtqueue_split_pop()
1795 elem->in_addr[i] = addr[out_num + i]; in virtqueue_split_pop()
1796 elem->in_sg[i] = iov[out_num + i]; in virtqueue_split_pop()
1808 trace_virtqueue_pop(vq, elem, elem->in_num, elem->out_num); in virtqueue_split_pop()
1815 virtqueue_undo_map_desc(out_num, in_num, iov); in virtqueue_split_pop()
1828 unsigned out_num, in_num, elem_entries; in virtqueue_packed_pop() local
1843 out_num = in_num = elem_entries = 0; in virtqueue_packed_pop()
1893 map_ok = virtqueue_map_desc(vdev, &in_num, addr + out_num, in virtqueue_packed_pop()
1894 iov + out_num, in virtqueue_packed_pop()
1895 VIRTQUEUE_MAX_SIZE - out_num, true, in virtqueue_packed_pop()
1902 map_ok = virtqueue_map_desc(vdev, &out_num, addr, iov, in virtqueue_packed_pop()
1927 elem = virtqueue_alloc_element(sz, out_num, in_num); in virtqueue_packed_pop()
1928 for (i = 0; i < out_num; i++) { in virtqueue_packed_pop()
1933 elem->in_addr[i] = addr[out_num + i]; in virtqueue_packed_pop()
1934 elem->in_sg[i] = iov[out_num + i]; in virtqueue_packed_pop()
1957 trace_virtqueue_pop(vq, elem, elem->in_num, elem->out_num); in virtqueue_packed_pop()
1964 virtqueue_undo_map_desc(out_num, in_num, iov); in virtqueue_packed_pop()
2092 unsigned int out_num; member
2114 assert(ARRAY_SIZE(data.out_addr) >= data.out_num); in qemu_get_virtqueue_element()
2116 elem = virtqueue_alloc_element(sz, data.out_num, data.in_num); in qemu_get_virtqueue_element()
2123 for (i = 0; i < elem->out_num; i++) { in qemu_get_virtqueue_element()
2133 for (i = 0; i < elem->out_num; i++) { in qemu_get_virtqueue_element()
2156 data.out_num = elem->out_num; in qemu_put_virtqueue_element()
2162 for (i = 0; i < elem->out_num; i++) { in qemu_put_virtqueue_element()
2172 for (i = 0; i < elem->out_num; i++) { in qemu_put_virtqueue_element()