Home
last modified time | relevance | path

Searched refs:in_sg_ofs (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/subprojects/libvduse/
H A Dlibvduse.c630 size_t in_sg_ofs = ALIGN_UP(sz, __alignof__(elem->in_sg[0])); in vduse_queue_alloc_element() local
631 size_t out_sg_ofs = in_sg_ofs + in_num * sizeof(elem->in_sg[0]); in vduse_queue_alloc_element()
641 elem->in_sg = (void *)elem + in_sg_ofs; in vduse_queue_alloc_element()
/openbmc/qemu/subprojects/libvhost-user/
H A Dlibvhost-user.c2768 size_t in_sg_ofs = ALIGN_UP(sz, __alignof__(elem->in_sg[0])); in virtqueue_alloc_element() local
2769 size_t out_sg_ofs = in_sg_ofs + in_num * sizeof(elem->in_sg[0]); in virtqueue_alloc_element()
2780 elem->in_sg = (void *)elem + in_sg_ofs; in virtqueue_alloc_element()
/openbmc/qemu/hw/virtio/
H A Dvirtio.c1657 size_t in_sg_ofs = QEMU_ALIGN_UP(out_addr_end, __alignof__(elem->in_sg[0])); in virtqueue_alloc_element() local
1658 size_t out_sg_ofs = in_sg_ofs + in_num * sizeof(elem->in_sg[0]); in virtqueue_alloc_element()
1668 elem->in_sg = (void *)elem + in_sg_ofs; in virtqueue_alloc_element()