Home
last modified time | relevance | path

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

/linux-5.19.10/include/linux/
Dvringh.h88 struct vringh_iov { struct
116 static inline void vringh_iov_init(struct vringh_iov *iov, in vringh_iov_init()
125 static inline void vringh_iov_reset(struct vringh_iov *iov) in vringh_iov_reset()
133 static inline void vringh_iov_cleanup(struct vringh_iov *iov) in vringh_iov_cleanup()
143 struct vringh_iov *riov,
144 struct vringh_iov *wiov,
150 ssize_t vringh_iov_pull_user(struct vringh_iov *riov, void *dst, size_t len);
153 ssize_t vringh_iov_push_user(struct vringh_iov *wiov,
/linux-5.19.10/drivers/vhost/
Dvringh.c694 struct vringh_iov *riov, in vringh_getdesc_user()
695 struct vringh_iov *wiov, in vringh_getdesc_user()
712 BUILD_BUG_ON(sizeof(struct vringh_kiov) != sizeof(struct vringh_iov)); in vringh_getdesc_user()
714 offsetof(struct vringh_iov, iov)); in vringh_getdesc_user()
716 offsetof(struct vringh_iov, i)); in vringh_getdesc_user()
718 offsetof(struct vringh_iov, used)); in vringh_getdesc_user()
720 offsetof(struct vringh_iov, max_num)); in vringh_getdesc_user()
750 ssize_t vringh_iov_pull_user(struct vringh_iov *riov, void *dst, size_t len) in vringh_iov_pull_user()
765 ssize_t vringh_iov_push_user(struct vringh_iov *wiov, in vringh_iov_push_user()
/linux-5.19.10/tools/virtio/
Dvringh_test.c197 struct vringh_iov riov, wiov; in parallel_test()
445 struct vringh_iov riov, wiov; in main()