Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dvringh.h98 struct vringh_iov { struct
132 static inline void vringh_iov_init(struct vringh_iov *iov, in vringh_iov_init()
141 static inline void vringh_iov_reset(struct vringh_iov *iov) in vringh_iov_reset()
149 static inline void vringh_iov_cleanup(struct vringh_iov *iov) in vringh_iov_cleanup()
159 struct vringh_iov *riov,
160 struct vringh_iov *wiov,
166 ssize_t vringh_iov_pull_user(struct vringh_iov *riov, void *dst, size_t len);
169 ssize_t vringh_iov_push_user(struct vringh_iov *wiov,
/openbmc/linux/drivers/vhost/
H A Dvringh.c704 struct vringh_iov *riov, in vringh_getdesc_user()
705 struct vringh_iov *wiov, in vringh_getdesc_user()
722 BUILD_BUG_ON(sizeof(struct vringh_kiov) != sizeof(struct vringh_iov)); in vringh_getdesc_user()
724 offsetof(struct vringh_iov, iov)); in vringh_getdesc_user()
726 offsetof(struct vringh_iov, i)); in vringh_getdesc_user()
728 offsetof(struct vringh_iov, used)); in vringh_getdesc_user()
730 offsetof(struct vringh_iov, max_num)); in vringh_getdesc_user()
760 ssize_t vringh_iov_pull_user(struct vringh_iov *riov, void *dst, size_t len) in vringh_iov_pull_user()
775 ssize_t vringh_iov_push_user(struct vringh_iov *wiov, in vringh_iov_push_user()
/openbmc/linux/tools/virtio/
H A Dvringh_test.c197 struct vringh_iov riov, wiov; in parallel_test()
446 struct vringh_iov riov, wiov; in main()