Searched refs:in_sg_ofs (Results 1 – 3 of 3) sorted by relevance
630 size_t in_sg_ofs = ALIGN_UP(sz, __alignof__(elem->in_sg[0])); in vduse_queue_alloc_element() local631 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()
2768 size_t in_sg_ofs = ALIGN_UP(sz, __alignof__(elem->in_sg[0])); in virtqueue_alloc_element() local2769 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()
1657 size_t in_sg_ofs = QEMU_ALIGN_UP(out_addr_end, __alignof__(elem->in_sg[0])); in virtqueue_alloc_element() local1658 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()