Home
last modified time | relevance | path

Searched refs:wiov (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/tools/virtio/
H A Dvringh_test.c197 struct vringh_iov riov, wiov; in parallel_test() local
222 vringh_iov_init(&wiov, in parallel_test()
267 assert(wiov.i == wiov.used); in parallel_test()
446 struct vringh_iov riov, wiov; in main() local
531 assert(wiov.used == 1); in main()
533 assert(wiov.iov[0].iov_len == 2); in main()
535 assert(wiov.used == 2); in main()
537 assert(wiov.iov[0].iov_len == 1); in main()
554 assert(wiov.i == wiov.used); in main()
604 assert(wiov.used == 0); in main()
[all …]
/openbmc/linux/include/linux/
H A Dvringh.h160 struct vringh_iov *wiov,
169 ssize_t vringh_iov_push_user(struct vringh_iov *wiov,
234 struct vringh_kiov *wiov,
239 ssize_t vringh_iov_push_kern(struct vringh_kiov *wiov,
311 struct vringh_kiov *wiov,
319 struct vringh_kiov *wiov,
/openbmc/linux/drivers/vhost/
H A Dvringh.c295 struct vringh_kiov *wiov, in __vringh_iov() argument
316 if (WARN_ON(!riov && !wiov)) in __vringh_iov()
321 if (wiov) in __vringh_iov()
322 wiov->i = wiov->used = wiov->consumed = 0; in __vringh_iov()
374 iov = wiov; in __vringh_iov()
377 if (unlikely(wiov && wiov->used)) { in __vringh_iov()
705 struct vringh_iov *wiov, in vringh_getdesc_user() argument
743 (struct vringh_kiov *)wiov, in vringh_getdesc_user()
978 struct vringh_kiov *wiov, in vringh_getdesc_kern() argument
1482 struct vringh_kiov *wiov, in vringh_getdesc_iotlb() argument
[all …]
/openbmc/linux/drivers/vdpa/mlx5/core/
H A Dmlx5_vdpa.h63 struct vringh_kiov wiov; member
/openbmc/linux/drivers/vdpa/mlx5/net/
H A Dmlx5_vnet.c2039 err = vringh_getdesc_iotlb(&cvq->vring, &cvq->riov, &cvq->wiov, &cvq->head, in mlx5_cvq_kick_handler()
2066 write = vringh_iov_push_iotlb(&cvq->vring, &cvq->wiov, &status, sizeof(status)); in mlx5_cvq_kick_handler()
2069 vringh_kiov_cleanup(&cvq->wiov); in mlx5_cvq_kick_handler()