Searched refs:riov (Results 1 – 7 of 7) sorted by relevance
| /linux/tools/virtio/ |
| H A D | vringh_test.c | 200 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/net/caif/ |
| H A D | caif_virtio.c | 49 struct vringh_kiov riov; member 257 struct vringh_kiov *riov = &cfv->ctx.riov; in cfv_rx_poll() local 266 if (riov->i == riov->used) { in cfv_rx_poll() 276 riov, in cfv_rx_poll() 285 buf = phys_to_virt((unsigned long) riov->iov[riov->i].iov_base); in cfv_rx_poll() 289 riov->iov[riov->i].iov_len); in cfv_rx_poll() 306 ++riov->i; in cfv_rx_poll() 338 cfv->ndev->stats.rx_dropped = riov->used - riov->i; in cfv_rx_poll() 715 vringh_kiov_init(&cfv->ctx.riov, NULL, 0); in cfv_probe() 765 vringh_kiov_cleanup(&cfv->ctx.riov); in cfv_remove()
|
| /linux/include/linux/ |
| H A D | vringh.h | 159 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 D | memfd_secret.c | 128 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 D | netlink_helpers.c | 153 struct iovec riov; in __rtnl_talk_iov() local 177 msg.msg_iov = &riov; in __rtnl_talk_iov()
|
| /linux/drivers/vdpa/mlx5/core/ |
| H A D | mlx5_vdpa.h | 63 struct vringh_kiov riov; member
|
| /linux/drivers/vdpa/mlx5/net/ |
| H A D | mlx5_vnet.c | 2140 read = vringh_iov_pull_iotlb(&cvq->vring, &cvq->riov, (void *)mac, ETH_ALEN); in handle_ctrl_mac() 2289 read = vringh_iov_pull_iotlb(&cvq->vring, &cvq->riov, (void *)&mq, sizeof(mq)); in handle_ctrl_mq() 2328 read = vringh_iov_pull_iotlb(&cvq->vring, &cvq->riov, &vlan, sizeof(vlan)); in handle_ctrl_vlan() 2339 read = vringh_iov_pull_iotlb(&cvq->vring, &cvq->riov, &vlan, sizeof(vlan)); in handle_ctrl_vlan() 2382 err = vringh_getdesc_iotlb(&cvq->vring, &cvq->riov, &cvq->wiov, &cvq->head, in mlx5_cvq_kick_handler() 2387 read = vringh_iov_pull_iotlb(&cvq->vring, &cvq->riov, &ctrl, sizeof(ctrl)); in mlx5_cvq_kick_handler() 2411 vringh_kiov_cleanup(&cvq->riov); in mlx5_cvq_kick_handler()
|