Searched refs:vring_desc (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/include/uapi/linux/ |
D | virtio_ring.h | 107 struct vring_desc { struct 151 typedef struct vring_desc __attribute__((aligned(VRING_DESC_ALIGN_SIZE))) 204 vr->avail = (struct vring_avail *)((char *)p + num * sizeof(struct vring_desc)); in vring_init() 211 return ((sizeof(struct vring_desc) * num + sizeof(__virtio16) * (3 + num) in vring_size()
|
/linux-6.1.9/drivers/platform/mellanox/ |
D | mlxbf-tmfifo.c | 73 struct vring_desc *desc; 74 struct vring_desc *desc_head; 287 static struct vring_desc * 312 struct vring_desc *desc, u32 len) in mlxbf_tmfifo_release_desc() 334 struct vring_desc *desc) in mlxbf_tmfifo_get_pkt_len() 353 struct vring_desc *desc_head; in mlxbf_tmfifo_release_pending_pkt() 373 struct vring_desc *desc, bool is_rx) in mlxbf_tmfifo_init_net_desc() 383 static struct vring_desc * 386 struct vring_desc *desc; in mlxbf_tmfifo_get_next_pkt() 416 struct vring_desc *desc) in mlxbf_tmfifo_console_output_one() [all …]
|
/linux-6.1.9/drivers/vhost/ |
D | vringh.c | 178 const struct vring_desc *desc, in move_to_indirect() 179 struct vring_desc **descs, int *desc_max) in move_to_indirect() 190 if (unlikely(len % sizeof(struct vring_desc))) { in move_to_indirect() 201 *desc_max = len / sizeof(struct vring_desc); in move_to_indirect() 236 struct vring_desc **descs, int *desc_max) in return_from_indirect() 259 size_t part, len = sizeof(struct vring_desc); in slow_copy() 296 struct vring_desc desc, *descs; in __vringh_iov() 666 vrh->vring.desc = (__force struct vring_desc *)desc; in vringh_init_user() 922 struct vring_desc *desc, in vringh_init_kern() 1318 struct vring_desc *desc, in vringh_init_iotlb()
|
D | vhost.c | 1042 struct vring_desc *desc, int idx) in vhost_get_desc() 2097 static unsigned next_desc(struct vhost_virtqueue *vq, struct vring_desc *desc) in next_desc() 2114 struct vring_desc *indirect) in get_indirect() 2116 struct vring_desc desc; in get_indirect() 2216 struct vring_desc desc; in vhost_get_vq_desc()
|
/linux-6.1.9/tools/virtio/ringtest/ |
D | virtio_ring_0_9.c | 105 struct vring_desc *desc; in add_inbuf() 273 struct vring_desc *desc; in use_buf()
|
/linux-6.1.9/include/linux/ |
D | vringh.h | 174 struct vring_desc *desc, 283 struct vring_desc *desc,
|
/linux-6.1.9/drivers/virtio/ |
D | virtio_ring.c | 72 struct vring_desc *indir_desc; /* Indirect descriptor, if any. */ 420 struct vring_desc *desc) in vring_unmap_one_split_indirect() 465 static struct vring_desc *alloc_indirect_split(struct virtqueue *_vq, in alloc_indirect_split() 469 struct vring_desc *desc; in alloc_indirect_split() 479 desc = kmalloc_array(total_sg, sizeof(struct vring_desc), gfp); in alloc_indirect_split() 489 struct vring_desc *desc, in virtqueue_add_desc_split() 528 struct vring_desc *desc; in virtqueue_add_split() 624 vq, desc, total_sg * sizeof(struct vring_desc), in virtqueue_add_split() 631 total_sg * sizeof(struct vring_desc), in virtqueue_add_split() 757 struct vring_desc *indir_desc = in detach_buf_split() [all …]
|
/linux-6.1.9/tools/virtio/ |
D | vringh_test.c | 156 + RINGSIZE * 6 * sizeof(struct vring_desc); in parallel_test() 296 struct vring_desc *indirects; in parallel_test() 666 struct vring_desc *d = __user_addr_max - USER_MEM/2; in main()
|
/linux-6.1.9/drivers/vdpa/vdpa_sim/ |
D | vdpa_sim.c | 71 (struct vring_desc *)(uintptr_t)vq->desc_addr, in vdpasim_queue_ready()
|
/linux-6.1.9/drivers/vdpa/mlx5/net/ |
D | mlx5_vnet.c | 2514 (struct vring_desc *)(uintptr_t)cvq->desc_addr, in setup_cvq_vring()
|