Searched refs:vringh (Results 1 – 12 of 12) sorted by relevance
/linux-6.12.1/include/linux/ |
D | vringh.h | 25 struct vringh { struct 57 void (*notify)(struct vringh *); argument 61 typedef void vrh_callback_t(struct virtio_device *, struct vringh *); 76 struct vringh *vrhs[], vrh_callback_t *callbacks[]); 126 int vringh_init_user(struct vringh *vrh, u64 features, 158 int vringh_getdesc_user(struct vringh *vrh, 161 bool (*getrange)(struct vringh *vrh, 173 int vringh_complete_user(struct vringh *vrh, u16 head, u32 len); 174 int vringh_complete_multi_user(struct vringh *vrh, 179 void vringh_abandon_user(struct vringh *vrh, unsigned int num); [all …]
|
/linux-6.12.1/drivers/vhost/ |
D | vringh.c | 38 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() 143 static inline bool range_check(struct vringh *vrh, u64 addr, size_t *len, in range_check() 145 bool (*getrange)(struct vringh *, in range_check() argument 177 static inline bool no_range_check(struct vringh *vrh, u64 addr, size_t *len, in no_range_check() 179 bool (*getrange)(struct vringh *, in no_range_check() argument 186 static int move_to_indirect(const struct vringh *vrh, in move_to_indirect() 245 static u16 __cold return_from_indirect(const struct vringh *vrh, int *up_next, in return_from_indirect() [all …]
|
D | Makefile | 11 obj-$(CONFIG_VHOST_RING) += vringh.o
|
D | Kconfig | 5 Generic IOTLB implementation for vhost and vringh.
|
/linux-6.12.1/tools/virtio/ |
D | vringh_test.c | 37 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() 176 struct vringh vrh; in parallel_test() 446 struct vringh vrh; in main() 456 bool (*getrange)(struct vringh *vrh, u64 addr, struct vringh_range *r); in main()
|
D | Makefile | 5 vringh_test: vringh_test.o vringh.o virtio_ring.o
|
/linux-6.12.1/drivers/vdpa/vdpa_sim/ |
D | vdpa_sim.h | 23 struct vringh vring;
|
D | vdpa_sim.c | 82 static void vdpasim_vq_notify(struct vringh *vring) in vdpasim_vq_notify() 378 struct vringh *vrh = &vq->vring; in vdpasim_set_vq_state() 392 struct vringh *vrh = &vq->vring; in vdpasim_get_vq_state()
|
/linux-6.12.1/drivers/vdpa/mlx5/core/ |
D | mlx5_vdpa.h | 57 struct vringh vring;
|
/linux-6.12.1/drivers/net/caif/ |
D | caif_virtio.c | 104 struct vringh *vr_rx; 350 static void cfv_recv(struct virtio_device *vdev, struct vringh *vr_rx) in cfv_recv()
|
/linux-6.12.1/drivers/vdpa/mlx5/net/ |
D | mlx5_vnet.c | 2508 static void mlx5_cvq_notify(struct vringh *vring) in mlx5_cvq_notify()
|
/linux-6.12.1/ |
D | MAINTAINERS | 24489 F: include/linux/vringh.h
|