Lines Matching refs:type
86 if (unlikely(i->type & ITER_BVEC)) { \
90 } else if (unlikely(i->type & ITER_KVEC)) { \
103 if (unlikely(i->type & ITER_BVEC)) { \
113 } else if (unlikely(i->type & ITER_KVEC)) { \
333 i->type = direction; in iov_iter_init()
336 i->type = direction; in iov_iter_init()
432 if (i->type & (ITER_BVEC|ITER_KVEC)) { in copy_page_to_iter()
445 if (i->type & (ITER_BVEC|ITER_KVEC)) { in copy_page_from_iter()
502 else if (i->type & ITER_BVEC) in iov_iter_single_seg_count()
514 i->type = direction; in iov_iter_kvec()
527 i->type = direction; in iov_iter_bvec()
572 res = get_user_pages_fast(addr, n, (i->type & WRITE) != WRITE, pages); in iov_iter_get_pages()
620 res = get_user_pages_fast(addr, n, (i->type & WRITE) != WRITE, p); in iov_iter_get_pages_alloc()
764 if (new->type & ITER_BVEC) in dup_iter()
776 int import_iovec(int type, const struct iovec __user * uvector, in import_iovec() argument
782 n = rw_copy_check_uvector(type, uvector, nr_segs, fast_segs, in import_iovec()
790 iov_iter_init(i, type, p, nr_segs, n); in import_iovec()
799 int compat_import_iovec(int type, const struct compat_iovec __user * uvector, in compat_import_iovec() argument
805 n = compat_rw_copy_check_uvector(type, uvector, nr_segs, fast_segs, in compat_import_iovec()
813 iov_iter_init(i, type, p, nr_segs, n); in compat_import_iovec()