/kernel/linux/linux-5.10/fs/ |
D | direct-io.c | 1151 if (iov_iter_rw(iter) == READ && !count) in do_blockdev_direct_IO() 1165 if (dio->flags & DIO_LOCKING && iov_iter_rw(iter) == READ) { in do_blockdev_direct_IO() 1172 if (iov_iter_rw(iter) == READ && offset >= dio->i_size) { in do_blockdev_direct_IO() 1185 if (dio->flags & DIO_LOCKING && iov_iter_rw(iter) == READ) { in do_blockdev_direct_IO() 1201 else if (iov_iter_rw(iter) == WRITE && end > i_size_read(inode)) in do_blockdev_direct_IO() 1207 if (iov_iter_rw(iter) == WRITE) { in do_blockdev_direct_IO() 1222 if (dio->is_async && iov_iter_rw(iter) == WRITE) { in do_blockdev_direct_IO() 1259 dio->should_dirty = iter_is_iovec(iter) && iov_iter_rw(iter) == READ; in do_blockdev_direct_IO() 1316 if (iov_iter_rw(iter) == READ && (dio->flags & DIO_LOCKING)) in do_blockdev_direct_IO() 1328 (iov_iter_rw(iter) == READ || dio->result == count)) in do_blockdev_direct_IO() [all …]
|
D | dax.c | 1119 if (iov_iter_rw(iter) == READ) { in dax_iomap_actor() 1178 if (iov_iter_rw(iter) == WRITE) in dax_iomap_actor() 1218 if (iov_iter_rw(iter) == WRITE) { in dax_iomap_rw()
|
D | block_dev.c | 275 if (iov_iter_rw(iter) == READ) { in __blkdev_direct_IO_simple() 384 bool is_read = (iov_iter_rw(iter) == READ), is_sync; in __blkdev_direct_IO()
|
D | splice.c | 1314 else if (iov_iter_rw(&iter) == WRITE) in SYSCALL_DEFINE4()
|
/kernel/linux/linux-5.10/fs/iomap/ |
D | direct-io.c | 457 if (iov_iter_rw(iter) == READ) { in __iomap_dio_rw() 493 if (iov_iter_rw(iter) == WRITE) { in __iomap_dio_rw() 529 if (iov_iter_rw(iter) == READ && pos >= dio->i_size) { in __iomap_dio_rw()
|
/kernel/linux/linux-5.10/fs/9p/ |
D | vfs_addr.c | 241 if (iov_iter_rw(iter) == WRITE) { in v9fs_direct_IO()
|
/kernel/linux/linux-5.10/include/linux/ |
D | uio.h | 97 static inline unsigned char iov_iter_rw(const struct iov_iter *i) in iov_iter_rw() function
|
/kernel/linux/linux-5.10/fs/jfs/ |
D | inode.c | 349 if (unlikely(iov_iter_rw(iter) == WRITE && ret < 0)) { in jfs_direct_IO()
|
/kernel/linux/linux-5.10/block/ |
D | blk-map.c | 209 if ((iov_iter_rw(iter) == WRITE && in bio_copy_user_iov()
|
/kernel/linux/linux-5.10/fs/affs/ |
D | file.c | 403 if (iov_iter_rw(iter) == WRITE) { in affs_direct_IO() 411 if (ret < 0 && iov_iter_rw(iter) == WRITE) in affs_direct_IO()
|
/kernel/linux/linux-5.10/fs/exfat/ |
D | inode.c | 441 int rw = iov_iter_rw(iter); in exfat_direct_IO()
|
/kernel/linux/linux-5.10/fs/hfsplus/ |
D | inode.c | 140 if (unlikely(iov_iter_rw(iter) == WRITE && ret < 0)) { in hfsplus_direct_IO()
|
/kernel/linux/linux-5.10/fs/fuse/ |
D | file.c | 3175 if ((iov_iter_rw(iter) == READ) && (offset >= i_size)) in fuse_direct_IO() 3187 io->write = (iov_iter_rw(iter) == WRITE); in fuse_direct_IO() 3220 if (iov_iter_rw(iter) == WRITE) { in fuse_direct_IO() 3243 if (iov_iter_rw(iter) == WRITE) { in fuse_direct_IO()
|
D | dax.c | 724 return (iov_iter_rw(from) == WRITE && in file_extending_write()
|
/kernel/linux/linux-5.10/fs/hfs/ |
D | inode.c | 144 if (unlikely(iov_iter_rw(iter) == WRITE && ret < 0)) { in hfs_direct_IO()
|
/kernel/linux/linux-5.10/fs/nfs/ |
D | direct.c | 174 if (iov_iter_rw(iter) == READ) in nfs_direct_IO()
|
/kernel/linux/linux-5.10/fs/fat/ |
D | inode.c | 269 if (iov_iter_rw(iter) == WRITE) { in fat_direct_IO() 289 if (ret < 0 && iov_iter_rw(iter) == WRITE) in fat_direct_IO()
|
/kernel/linux/linux-5.10/lib/ |
D | iov_iter.c | 1332 iov_iter_rw(i) != WRITE ? FOLL_WRITE : 0, in iov_iter_get_pages() 1414 iov_iter_rw(i) != WRITE ? FOLL_WRITE : 0, p); in iov_iter_get_pages_alloc()
|
/kernel/linux/linux-5.10/fs/orangefs/ |
D | inode.c | 556 enum ORANGEFS_io_type type = iov_iter_rw(iter) == WRITE ? in orangefs_direct_IO()
|
/kernel/linux/linux-5.10/fs/cifs/ |
D | smbdirect.c | 1932 if (iov_iter_rw(&msg->msg_iter) == WRITE) { in smbd_recv() 1935 iov_iter_rw(&msg->msg_iter)); in smbd_recv()
|
/kernel/linux/linux-5.10/fs/nilfs2/ |
D | inode.c | 295 if (iov_iter_rw(iter) == WRITE) in nilfs_direct_IO()
|
/kernel/linux/linux-5.10/fs/ext2/ |
D | inode.c | 944 if (ret < 0 && iov_iter_rw(iter) == WRITE) in ext2_direct_IO()
|
/kernel/linux/linux-5.10/fs/f2fs/ |
D | f2fs.h | 4129 int rw = iov_iter_rw(iter); in allow_outplace_dio() 4139 int rw = iov_iter_rw(iter); in f2fs_force_buffered_io()
|
D | data.c | 3616 if (iov_iter_rw(iter) == READ && offset >= i_size_read(inode)) in check_direct_IO() 3682 int rw = iov_iter_rw(iter); in f2fs_direct_IO()
|
/kernel/linux/linux-5.10/fs/ocfs2/ |
D | aops.c | 2448 if (iov_iter_rw(iter) == READ) in ocfs2_direct_IO()
|