Lines Matching refs:type
80 if (unlikely(i->type & ITER_BVEC)) { \
84 } else if (unlikely(i->type & ITER_KVEC)) { \
88 } else if (unlikely(i->type & ITER_DISCARD)) { \
102 if (unlikely(i->type & ITER_BVEC)) { \
110 } else if (unlikely(i->type & ITER_KVEC)) { \
120 } else if (unlikely(i->type & ITER_DISCARD)) { \
425 if (!(i->type & (ITER_BVEC|ITER_KVEC))) { in iov_iter_fault_in_readable()
445 i->type = ITER_KVEC | direction; in iov_iter_init()
448 i->type = ITER_IOVEC | direction; in iov_iter_init()
892 if (i->type & (ITER_BVEC|ITER_KVEC)) { in copy_page_to_iter()
915 if (i->type & (ITER_BVEC|ITER_KVEC)) { in copy_page_from_iter()
1136 i->type = ITER_KVEC | (direction & (READ | WRITE)); in iov_iter_kvec()
1149 i->type = ITER_BVEC | (direction & (READ | WRITE)); in iov_iter_bvec()
1163 i->type = ITER_PIPE | READ; in iov_iter_pipe()
1184 i->type = ITER_DISCARD | READ; in iov_iter_discard()
1639 ssize_t import_iovec(int type, const struct iovec __user * uvector, in import_iovec() argument
1645 n = rw_copy_check_uvector(type, uvector, nr_segs, fast_segs, in import_iovec()
1653 iov_iter_init(i, type, p, nr_segs, n); in import_iovec()
1662 ssize_t compat_import_iovec(int type, in compat_import_iovec() argument
1669 n = compat_rw_copy_check_uvector(type, uvector, nr_segs, fast_segs, in compat_import_iovec()
1677 iov_iter_init(i, type, p, nr_segs, n); in compat_import_iovec()