Lines Matching defs:wiov
267 struct vringh_kiov *wiov,
288 if (WARN_ON(!riov && !wiov))
293 if (wiov)
294 wiov->i = wiov->used = 0;
346 iov = wiov;
349 if (unlikely(wiov && wiov->used)) {
359 !wiov ? "writable" : "readable");
659 * @wiov: where to put the writable descriptors (or NULL)
670 * Note that you may need to clean up riov and wiov, even on error!
674 struct vringh_iov *wiov,
712 (struct vringh_kiov *)wiov,
738 * @wiov: the wiov as passed to vringh_getdesc_user() (updated as we consume)
744 ssize_t vringh_iov_push_user(struct vringh_iov *wiov,
747 return vringh_iov_xfer(NULL, (struct vringh_kiov *)wiov,
929 * @wiov: where to put the writable descriptors (or NULL)
931 * @gfp: flags for allocating larger riov/wiov.
940 * Note that you may need to clean up riov and wiov, even on error!
944 struct vringh_kiov *wiov,
959 err = __vringh_iov(vrh, *head, riov, wiov, no_range_check, NULL,
984 * @wiov: the wiov as passed to vringh_getdesc_kern() (updated as we consume)
990 ssize_t vringh_iov_push_kern(struct vringh_kiov *wiov,
993 return vringh_iov_xfer(NULL, wiov, (void *)src, len, kern_xfer);
1281 * @wiov: where to put the writable descriptors (or NULL)
1283 * @gfp: flags for allocating larger riov/wiov.
1292 * Note that you may need to clean up riov and wiov, even on error!
1296 struct vringh_kiov *wiov,
1311 err = __vringh_iov(vrh, *head, riov, wiov, no_range_check, NULL,
1340 * @wiov: the wiov as passed to vringh_getdesc_iotlb() (updated as we consume)
1347 struct vringh_kiov *wiov,
1350 return vringh_iov_xfer(vrh, wiov, (void *)src, len, xfer_to_iotlb);