Home
last modified time | relevance | path

Searched refs:vringh (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/include/linux/
Dvringh.h25 struct vringh { struct
54 void (*notify)(struct vringh *); argument
69 typedef void vrh_callback_t(struct virtio_device *, struct vringh *);
72 struct vringh *vrhs[], vrh_callback_t *callbacks[]);
110 int vringh_init_user(struct vringh *vrh, u64 features,
142 int vringh_getdesc_user(struct vringh *vrh,
145 bool (*getrange)(struct vringh *vrh,
157 int vringh_complete_user(struct vringh *vrh, u16 head, u32 len);
158 int vringh_complete_multi_user(struct vringh *vrh,
163 void vringh_abandon_user(struct vringh *vrh, unsigned int num);
[all …]
/linux-6.1.9/drivers/vhost/
Dvringh.c38 static inline int __vringh_get_head(const struct vringh *vrh, in __vringh_get_head()
39 int (*getu16)(const struct vringh *vrh, in __vringh_get_head()
107 static inline ssize_t vringh_iov_xfer(struct vringh *vrh, in vringh_iov_xfer()
110 int (*xfer)(const struct vringh *vrh, in vringh_iov_xfer()
133 static inline bool range_check(struct vringh *vrh, u64 addr, size_t *len, in range_check()
135 bool (*getrange)(struct vringh *, in range_check() argument
167 static inline bool no_range_check(struct vringh *vrh, u64 addr, size_t *len, in no_range_check()
169 bool (*getrange)(struct vringh *, in no_range_check() argument
176 static int move_to_indirect(const struct vringh *vrh, in move_to_indirect()
235 static u16 __cold return_from_indirect(const struct vringh *vrh, int *up_next, in return_from_indirect()
[all …]
DMakefile11 obj-$(CONFIG_VHOST_RING) += vringh.o
DKconfig5 Generic IOTLB implementation for vhost and vringh.
/linux-6.1.9/tools/virtio/
Dvringh_test.c37 static bool getrange_iov(struct vringh *vrh, u64 addr, struct vringh_range *r) in getrange_iov()
51 static bool getrange_slow(struct vringh *vrh, u64 addr, struct vringh_range *r) in getrange_slow()
111 static inline int vringh_get_head(struct vringh *vrh, u16 *head) in vringh_get_head()
137 bool (*getrange)(struct vringh *vrh, in parallel_test()
173 struct vringh vrh; in parallel_test()
443 struct vringh vrh; in main()
453 bool (*getrange)(struct vringh *vrh, u64 addr, struct vringh_range *r); in main()
DMakefile5 vringh_test: vringh_test.o vringh.o virtio_ring.o
/linux-6.1.9/drivers/vdpa/vdpa_sim/
Dvdpa_sim.h23 struct vringh vring;
Dvdpa_sim.c55 static void vdpasim_vq_notify(struct vringh *vring) in vdpasim_vq_notify()
401 struct vringh *vrh = &vq->vring; in vdpasim_set_vq_state()
415 struct vringh *vrh = &vq->vring; in vdpasim_get_vq_state()
/linux-6.1.9/drivers/vdpa/mlx5/core/
Dmlx5_vdpa.h55 struct vringh vring;
/linux-6.1.9/drivers/net/caif/
Dcaif_virtio.c104 struct vringh *vr_rx;
350 static void cfv_recv(struct virtio_device *vdev, struct vringh *vr_rx) in cfv_recv()
/linux-6.1.9/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c2000 static void mlx5_cvq_notify(struct vringh *vring) in mlx5_cvq_notify()