wiov 85 drivers/misc/mic/vop/vop_main.h struct vringh_kiov wiov; wiov 335 drivers/misc/mic/vop/vop_vringh.c vringh_kiov_init(&vvr->wiov, NULL, 0); wiov 442 drivers/misc/mic/vop/vop_vringh.c vringh_kiov_cleanup(&vvr->wiov); wiov 753 drivers/misc/mic/vop/vop_vringh.c struct vringh_kiov *wiov = &vvr->wiov; wiov 761 drivers/misc/mic/vop/vop_vringh.c if (riov->i == riov->used && wiov->i == wiov->used) { wiov 762 drivers/misc/mic/vop/vop_vringh.c ret = vringh_getdesc_kern(vrh, riov, wiov, wiov 793 drivers/misc/mic/vop/vop_vringh.c ret = vop_vringh_copy(vdev, wiov, ubuf, len, wiov 809 drivers/misc/mic/vop/vop_vringh.c if (riov->i == riov->used && wiov->i == wiov->used) wiov 821 drivers/misc/mic/vop/vop_vringh.c total += vop_vringh_iov_consumed(wiov); wiov 827 drivers/misc/mic/vop/vop_vringh.c vringh_kiov_cleanup(wiov); wiov 258 drivers/vhost/vringh.c struct vringh_kiov *wiov, wiov 279 drivers/vhost/vringh.c else if (wiov) wiov 280 drivers/vhost/vringh.c wiov->i = wiov->used = 0; wiov 330 drivers/vhost/vringh.c iov = wiov; wiov 333 drivers/vhost/vringh.c if (unlikely(wiov && wiov->i)) { wiov 343 drivers/vhost/vringh.c !wiov ? "writable" : "readable"); wiov 652 drivers/vhost/vringh.c struct vringh_iov *wiov, wiov 690 drivers/vhost/vringh.c (struct vringh_kiov *)wiov, wiov 722 drivers/vhost/vringh.c ssize_t vringh_iov_push_user(struct vringh_iov *wiov, wiov 725 drivers/vhost/vringh.c return vringh_iov_xfer((struct vringh_kiov *)wiov, wiov 918 drivers/vhost/vringh.c struct vringh_kiov *wiov, wiov 933 drivers/vhost/vringh.c err = __vringh_iov(vrh, *head, riov, wiov, no_range_check, NULL, wiov 964 drivers/vhost/vringh.c ssize_t vringh_iov_push_kern(struct vringh_kiov *wiov, wiov 967 drivers/vhost/vringh.c return vringh_iov_xfer(wiov, (void *)src, len, kern_xfer); wiov 133 include/linux/vringh.h struct vringh_iov *wiov, wiov 142 include/linux/vringh.h ssize_t vringh_iov_push_user(struct vringh_iov *wiov, wiov 194 include/linux/vringh.h struct vringh_kiov *wiov, wiov 199 include/linux/vringh.h ssize_t vringh_iov_push_kern(struct vringh_kiov *wiov, wiov 197 tools/virtio/vringh_test.c struct vringh_iov riov, wiov; wiov 222 tools/virtio/vringh_test.c vringh_iov_init(&wiov, wiov 226 tools/virtio/vringh_test.c err = vringh_getdesc_user(&vrh, &riov, &wiov, wiov 263 tools/virtio/vringh_test.c err = vringh_iov_push_user(&wiov, rbuf, rlen); wiov 267 tools/virtio/vringh_test.c assert(wiov.i == wiov.used); wiov 444 tools/virtio/vringh_test.c struct vringh_iov riov, wiov; wiov 495 tools/virtio/vringh_test.c err = vringh_getdesc_user(&vrh, &riov, &wiov, getrange, &head); wiov 517 tools/virtio/vringh_test.c vringh_iov_init(&wiov, host_wiov, ARRAY_SIZE(host_wiov)); wiov 519 tools/virtio/vringh_test.c err = vringh_getdesc_user(&vrh, &riov, &wiov, getrange, &head); wiov 527 tools/virtio/vringh_test.c assert(wiov.used == 1); wiov 528 tools/virtio/vringh_test.c assert(wiov.iov[0].iov_base == __user_addr_max - 3); wiov 529 tools/virtio/vringh_test.c assert(wiov.iov[0].iov_len == 2); wiov 531 tools/virtio/vringh_test.c assert(wiov.used == 2); wiov 532 tools/virtio/vringh_test.c assert(wiov.iov[0].iov_base == __user_addr_max - 3); wiov 533 tools/virtio/vringh_test.c assert(wiov.iov[0].iov_len == 1); wiov 534 tools/virtio/vringh_test.c assert(wiov.iov[1].iov_base == __user_addr_max - 2); wiov 535 tools/virtio/vringh_test.c assert(wiov.iov[1].iov_len == 1); wiov 546 tools/virtio/vringh_test.c err = vringh_iov_push_user(&wiov, buf, 5); wiov 550 tools/virtio/vringh_test.c assert(wiov.i == wiov.used); wiov 551 tools/virtio/vringh_test.c assert(vringh_iov_push_user(&wiov, buf, 5) == 0); wiov 586 tools/virtio/vringh_test.c vringh_iov_init(&wiov, host_wiov, ARRAY_SIZE(host_wiov)); wiov 588 tools/virtio/vringh_test.c err = vringh_getdesc_user(&vrh, &riov, &wiov, getrange, &head); wiov 599 tools/virtio/vringh_test.c assert(!(wiov.max_num & VRINGH_IOV_ALLOCATED)); wiov 600 tools/virtio/vringh_test.c assert(wiov.used == 0); wiov 613 tools/virtio/vringh_test.c vringh_iov_cleanup(&wiov); wiov 638 tools/virtio/vringh_test.c vringh_iov_init(&wiov, host_wiov, ARRAY_SIZE(host_wiov)); wiov 641 tools/virtio/vringh_test.c err = vringh_getdesc_user(&vrh, &riov, &wiov, getrange, &head); wiov 723 tools/virtio/vringh_test.c vringh_iov_init(&wiov, host_wiov, ARRAY_SIZE(host_wiov)); wiov 725 tools/virtio/vringh_test.c err = vringh_getdesc_user(&vrh, &riov, &wiov, getrange, &head);