Home
last modified time | relevance | path

Searched full:riov (Results 1 – 8 of 8) sorted by relevance

/linux/tools/virtio/
H A Dvringh_test.c200 struct vringh_iov riov, wiov; in parallel_test() local
222 vringh_iov_init(&riov, in parallel_test()
229 err = vringh_getdesc_user(&vrh, &riov, &wiov, in parallel_test()
257 if (riov.used) { in parallel_test()
258 rlen = vringh_iov_pull_user(&riov, rbuf, in parallel_test()
263 assert(riov.i == riov.used); in parallel_test()
449 struct vringh_iov riov, wiov; in main() local
502 err = vringh_getdesc_user(&vrh, &riov, &wiov, getrange, &head); in main()
523 vringh_iov_init(&riov, host_riov, ARRAY_SIZE(host_riov)); in main()
526 err = vringh_getdesc_user(&vrh, &riov, &wiov, getrange, &head); in main()
[all …]
/linux/drivers/vhost/
H A Dvringh.c293 struct vringh_kiov *riov, in __vringh_iov() argument
315 if (WARN_ON(!riov && !wiov)) in __vringh_iov()
318 if (riov) in __vringh_iov()
319 riov->i = riov->used = riov->consumed = 0; in __vringh_iov()
375 iov = riov; in __vringh_iov()
685 * @riov: where to put the readable descriptors (or NULL)
697 * Note that you can reuse riov and wiov with subsequent calls. Content is
699 * When you don't have to use riov and wiov anymore, you should clean up them
703 struct vringh_iov *riov, in vringh_getdesc_user() argument
741 err = __vringh_iov(vrh, *head, (struct vringh_kiov *)riov, in vringh_getdesc_user()
[all …]
/linux/include/linux/
H A Dvringh.h159 struct vringh_iov *riov,
166 ssize_t vringh_iov_pull_user(struct vringh_iov *riov, void *dst, size_t len);
230 struct vringh_kiov *riov,
303 struct vringh_kiov *riov,
309 struct vringh_kiov *riov,
/linux/tools/testing/selftests/mm/
H A Dmemfd_secret.c128 struct iovec liov, riov; in try_process_vm_read() local
137 liov.iov_len = riov.iov_len = sizeof(buf); in try_process_vm_read()
139 riov.iov_base = mem; in try_process_vm_read()
141 if (process_vm_readv(getppid(), &liov, 1, &riov, 1, 0) < 0) { in try_process_vm_read()
/linux/tools/testing/selftests/bpf/
H A Dnetlink_helpers.c153 struct iovec riov; in __rtnl_talk_iov() local
177 msg.msg_iov = &riov; in __rtnl_talk_iov()
/linux/drivers/vdpa/mlx5/core/
H A Dmlx5_vdpa.h63 struct vringh_kiov riov; member
/linux/drivers/vdpa/mlx5/net/
H A Dmlx5_vnet.c2208 read = vringh_iov_pull_iotlb(&cvq->vring, &cvq->riov, in handle_ctrl_mac()
2300 read = vringh_iov_pull_iotlb(&cvq->vring, &cvq->riov, (void *)&mq, sizeof(mq)); in handle_ctrl_mq()
2339 read = vringh_iov_pull_iotlb(&cvq->vring, &cvq->riov, &vlan, sizeof(vlan)); in handle_ctrl_vlan()
2350 read = vringh_iov_pull_iotlb(&cvq->vring, &cvq->riov, &vlan, sizeof(vlan)); in handle_ctrl_vlan()
2393 err = vringh_getdesc_iotlb(&cvq->vring, &cvq->riov, &cvq->wiov, &cvq->head, in mlx5_cvq_kick_handler()
2398 read = vringh_iov_pull_iotlb(&cvq->vring, &cvq->riov, &ctrl, sizeof(ctrl)); in mlx5_cvq_kick_handler()
2422 vringh_kiov_cleanup(&cvq->riov); in mlx5_cvq_kick_handler()
/linux/drivers/iio/adc/
H A Dpac1921.c1085 * - set READ/INT pin override (RIOV) to control operation mode via in pac1921_init()