Home
last modified time | relevance | path

Searched refs:iov_iter_rw (Results 1 – 25 of 29) sorted by relevance

12

/kernel/linux/linux-5.10/fs/
Ddirect-io.c1151 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 …]
Ddax.c1118 if (iov_iter_rw(iter) == READ) { in dax_iomap_actor()
1177 if (iov_iter_rw(iter) == WRITE) in dax_iomap_actor()
1217 if (iov_iter_rw(iter) == WRITE) { in dax_iomap_rw()
Dblock_dev.c275 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()
Dsplice.c1314 else if (iov_iter_rw(&iter) == WRITE) in SYSCALL_DEFINE4()
/kernel/linux/linux-5.10/fs/iomap/
Ddirect-io.c457 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/
Dvfs_addr.c241 if (iov_iter_rw(iter) == WRITE) { in v9fs_direct_IO()
/kernel/linux/linux-5.10/include/linux/
Duio.h83 static inline unsigned char iov_iter_rw(const struct iov_iter *i) in iov_iter_rw() function
/kernel/linux/linux-5.10/fs/jfs/
Dinode.c349 if (unlikely(iov_iter_rw(iter) == WRITE && ret < 0)) { in jfs_direct_IO()
/kernel/linux/linux-5.10/block/
Dblk-map.c209 if ((iov_iter_rw(iter) == WRITE && in bio_copy_user_iov()
/kernel/linux/linux-5.10/fs/affs/
Dfile.c403 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/
Dinode.c442 int rw = iov_iter_rw(iter); in exfat_direct_IO()
/kernel/linux/linux-5.10/fs/hfsplus/
Dinode.c140 if (unlikely(iov_iter_rw(iter) == WRITE && ret < 0)) { in hfsplus_direct_IO()
/kernel/linux/linux-5.10/fs/hfs/
Dinode.c144 if (unlikely(iov_iter_rw(iter) == WRITE && ret < 0)) { in hfs_direct_IO()
/kernel/linux/linux-5.10/fs/fuse/
Dfile.c3175 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()
Ddax.c724 return (iov_iter_rw(from) == WRITE && in file_extending_write()
/kernel/linux/linux-5.10/fs/nfs/
Ddirect.c174 if (iov_iter_rw(iter) == READ) in nfs_direct_IO()
/kernel/linux/linux-5.10/fs/fat/
Dinode.c269 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/
Diov_iter.c1346 iov_iter_rw(i) != WRITE ? FOLL_WRITE : 0, in iov_iter_get_pages()
1428 iov_iter_rw(i) != WRITE ? FOLL_WRITE : 0, p); in iov_iter_get_pages_alloc()
/kernel/linux/linux-5.10/fs/orangefs/
Dinode.c556 enum ORANGEFS_io_type type = iov_iter_rw(iter) == WRITE ? in orangefs_direct_IO()
/kernel/linux/linux-5.10/fs/cifs/
Dsmbdirect.c1932 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/
Dinode.c291 if (iov_iter_rw(iter) == WRITE) in nilfs_direct_IO()
/kernel/linux/linux-5.10/fs/ext2/
Dinode.c944 if (ret < 0 && iov_iter_rw(iter) == WRITE) in ext2_direct_IO()
/kernel/linux/linux-5.10/fs/f2fs/
Ddata.c3609 if (iov_iter_rw(iter) == READ && offset >= i_size_read(inode)) in check_direct_IO()
3675 int rw = iov_iter_rw(iter); in f2fs_direct_IO()
Df2fs.h4109 int rw = iov_iter_rw(iter); in allow_outplace_dio()
4119 int rw = iov_iter_rw(iter); in f2fs_force_buffered_io()
/kernel/linux/linux-5.10/fs/ocfs2/
Daops.c2448 if (iov_iter_rw(iter) == READ) in ocfs2_direct_IO()

12