Lines Matching refs:READ
393 read_write == READ ? F_RDLCK : F_WRLCK); in rw_verify_area()
400 read_write == READ ? MAY_READ : MAY_WRITE); in rw_verify_area()
412 iov_iter_init(&iter, READ, &iov, 1, len); in new_sync_read()
457 ret = rw_verify_area(READ, file, pos, count); in vfs_read()
690 if (type == READ) in do_iter_readv_writev()
713 if (type == READ) { in do_loop_readv_writev()
928 ret = rw_verify_area(READ, file, pos, tot_len); in do_iter_read()
933 ret = do_iter_readv_writev(file, iter, pos, READ, flags); in do_iter_read()
935 ret = do_loop_readv_writev(file, iter, pos, READ, flags); in do_iter_read()
995 ret = import_iovec(READ, vec, vlen, ARRAY_SIZE(iovstack), &iov, &iter); in vfs_readv()
1184 ret = compat_import_iovec(READ, vec, vlen, UIO_FASTIOV, &iov, &iter); in compat_readv()
1420 retval = rw_verify_area(READ, in.file, &pos, count); in do_sendfile()
1639 ret = rw_verify_area(READ, file_in, &pos_in, len); in vfs_copy_file_range()