Searched refs:wiov (Results 1 – 5 of 5) sorted by relevance
/linux-5.19.10/tools/virtio/ |
D | vringh_test.c | 197 struct vringh_iov riov, wiov; in parallel_test() local 222 vringh_iov_init(&wiov, in parallel_test() 226 err = vringh_getdesc_user(&vrh, &riov, &wiov, in parallel_test() 263 err = vringh_iov_push_user(&wiov, rbuf, rlen); in parallel_test() 267 assert(wiov.i == wiov.used); in parallel_test() 445 struct vringh_iov riov, wiov; in main() local 497 err = vringh_getdesc_user(&vrh, &riov, &wiov, getrange, &head); in main() 519 vringh_iov_init(&wiov, host_wiov, ARRAY_SIZE(host_wiov)); in main() 521 err = vringh_getdesc_user(&vrh, &riov, &wiov, getrange, &head); in main() 529 assert(wiov.used == 1); in main() [all …]
|
/linux-5.19.10/drivers/vhost/ |
D | vringh.c | 285 struct vringh_kiov *wiov, in __vringh_iov() argument 306 if (WARN_ON(!riov && !wiov)) in __vringh_iov() 311 if (wiov) in __vringh_iov() 312 wiov->i = wiov->used = wiov->consumed = 0; in __vringh_iov() 364 iov = wiov; in __vringh_iov() 367 if (unlikely(wiov && wiov->used)) { in __vringh_iov() 377 !wiov ? "writable" : "readable"); in __vringh_iov() 695 struct vringh_iov *wiov, in vringh_getdesc_user() argument 733 (struct vringh_kiov *)wiov, in vringh_getdesc_user() 765 ssize_t vringh_iov_push_user(struct vringh_iov *wiov, in vringh_iov_push_user() argument [all …]
|
/linux-5.19.10/include/linux/ |
D | vringh.h | 144 struct vringh_iov *wiov, 153 ssize_t vringh_iov_push_user(struct vringh_iov *wiov, 218 struct vringh_kiov *wiov, 223 ssize_t vringh_iov_push_kern(struct vringh_kiov *wiov, 289 struct vringh_kiov *wiov, 297 struct vringh_kiov *wiov,
|
/linux-5.19.10/drivers/vdpa/mlx5/core/ |
D | mlx5_vdpa.h | 62 struct vringh_kiov wiov; member
|
/linux-5.19.10/drivers/vdpa/mlx5/net/ |
D | mlx5_vnet.c | 1854 err = vringh_getdesc_iotlb(&cvq->vring, &cvq->riov, &cvq->wiov, &cvq->head, in mlx5_cvq_kick_handler() 1881 write = vringh_iov_push_iotlb(&cvq->vring, &cvq->wiov, &status, sizeof(status)); in mlx5_cvq_kick_handler() 1884 vringh_kiov_cleanup(&cvq->wiov); in mlx5_cvq_kick_handler()
|