Lines Matching refs:direction
436 void iov_iter_init(struct iov_iter *i, unsigned int direction, in iov_iter_init() argument
440 WARN_ON(direction & ~(READ | WRITE)); in iov_iter_init()
441 direction &= READ | WRITE; in iov_iter_init()
445 i->type = ITER_KVEC | direction; in iov_iter_init()
448 i->type = ITER_IOVEC | direction; in iov_iter_init()
1131 void iov_iter_kvec(struct iov_iter *i, unsigned int direction, in iov_iter_kvec() argument
1135 WARN_ON(direction & ~(READ | WRITE)); in iov_iter_kvec()
1136 i->type = ITER_KVEC | (direction & (READ | WRITE)); in iov_iter_kvec()
1144 void iov_iter_bvec(struct iov_iter *i, unsigned int direction, in iov_iter_bvec() argument
1148 WARN_ON(direction & ~(READ | WRITE)); in iov_iter_bvec()
1149 i->type = ITER_BVEC | (direction & (READ | WRITE)); in iov_iter_bvec()
1157 void iov_iter_pipe(struct iov_iter *i, unsigned int direction, in iov_iter_pipe() argument
1161 BUG_ON(direction != READ); in iov_iter_pipe()
1181 void iov_iter_discard(struct iov_iter *i, unsigned int direction, size_t count) in iov_iter_discard() argument
1183 BUG_ON(direction != READ); in iov_iter_discard()