Lines Matching refs:iovec

27 /* covers iovec and kvec alike */
127 const struct iovec *iov = iter_iov(i); \
205 * @size. For each iovec, fault in each page that constitutes the iovec.
220 const struct iovec *p;
263 const struct iovec *p;
285 const struct iovec *iov, unsigned long nr_segs,
625 const struct iovec *iov, *end;
650 /* iovec and kvec have identical layouts */
691 } else { /* same logics for iovec and kvec */
692 const struct iovec *iov = iter_iov(i);
815 const struct iovec *iov = iter_iov(i) + k;
902 const struct iovec *iov = iter_iov(i) + k;
946 /* iovec and kvec have identical layouts */
974 const struct iovec *iov = iter_iov(i) + k;
1068 const struct iovec *iov = iter_iov(i) + k;
1259 const struct iovec *p;
1303 /* iovec and kvec have identical layouts */
1325 /* iovec and kvec have identical layout */
1327 new->nr_segs * sizeof(struct iovec),
1333 static __noclone int copy_compat_iovec_from_user(struct iovec *iov,
1334 const struct iovec __user *uvec, unsigned long nr_segs)
1365 static __noclone int copy_iovec_from_user(struct iovec *iov,
1366 const struct iovec __user *uiov, unsigned long nr_segs)
1397 struct iovec *iovec_from_user(const struct iovec __user *uvec,
1399 struct iovec *fast_iov, bool compat)
1401 struct iovec *iov = fast_iov;
1414 iov = kmalloc_array(nr_segs, sizeof(struct iovec), GFP_KERNEL);
1433 * Single segment iovec supplied by the user, import it as ITER_UBUF.
1435 static ssize_t __import_iovec_ubuf(int type, const struct iovec __user *uvec,
1436 struct iovec **iovp, struct iov_iter *i,
1439 struct iovec *iov = *iovp;
1456 ssize_t __import_iovec(int type, const struct iovec __user *uvec,
1457 unsigned nr_segs, unsigned fast_segs, struct iovec **iovp,
1462 struct iovec *iov;
1507 * import_iovec() - Copy an array of &struct iovec from userspace
1528 ssize_t import_iovec(int type, const struct iovec __user *uvec,
1530 struct iovec **iovp, struct iov_iter *i)
1538 struct iovec *iov, struct iov_iter *i)
1592 BUILD_BUG_ON(sizeof(struct iovec) != sizeof(struct kvec));