Home
last modified time | relevance | path

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

12

/Linux-v6.1/fs/
Ddirect-io.c1146 if (iov_iter_rw(iter) == READ && !count) in __blockdev_direct_IO()
1160 if (dio->flags & DIO_LOCKING && iov_iter_rw(iter) == READ) { in __blockdev_direct_IO()
1167 if (iov_iter_rw(iter) == READ && offset >= dio->i_size) { in __blockdev_direct_IO()
1180 if (dio->flags & DIO_LOCKING && iov_iter_rw(iter) == READ) { in __blockdev_direct_IO()
1196 else if (iov_iter_rw(iter) == WRITE && end > i_size_read(inode)) in __blockdev_direct_IO()
1202 if (iov_iter_rw(iter) == WRITE) { in __blockdev_direct_IO()
1214 if (dio->is_async && iov_iter_rw(iter) == WRITE) { in __blockdev_direct_IO()
1251 dio->should_dirty = user_backed_iter(iter) && iov_iter_rw(iter) == READ; in __blockdev_direct_IO()
1308 if (iov_iter_rw(iter) == READ && (dio->flags & DIO_LOCKING)) in __blockdev_direct_IO()
1320 (iov_iter_rw(iter) == READ || dio->result == count)) in __blockdev_direct_IO()
[all …]
Ddax.c1326 bool write = iov_iter_rw(iter) == WRITE; in dax_iomap_iter()
1375 if (map_len == -EIO && iov_iter_rw(iter) == WRITE) { in dax_iomap_iter()
1451 if (iov_iter_rw(iter) == WRITE) { in dax_iomap_rw()
Dsplice.c1317 else if (iov_iter_rw(&iter) == WRITE) in SYSCALL_DEFINE4()
/Linux-v6.1/block/
Dfops.c76 if (iov_iter_rw(iter) == READ) { in __blkdev_direct_IO_simple()
91 if (iov_iter_rw(iter) == WRITE) in __blkdev_direct_IO_simple()
177 bool is_read = (iov_iter_rw(iter) == READ), is_sync; in __blkdev_direct_IO()
299 bool is_read = iov_iter_rw(iter) == READ; in __blkdev_direct_IO_async()
Dblk-map.c206 if ((iov_iter_rw(iter) == WRITE && in bio_copy_user_iov()
/Linux-v6.1/fs/iomap/
Ddirect-io.c523 if (iov_iter_rw(iter) == READ) { in __iomap_dio_rw()
577 if (iov_iter_rw(iter) == WRITE) { in __iomap_dio_rw()
617 if (iov_iter_rw(iter) == READ && iomi.pos >= dio->i_size) in __iomap_dio_rw()
/Linux-v6.1/fs/9p/
Dvfs_addr.c258 if (iov_iter_rw(iter) == WRITE) { in v9fs_direct_IO()
/Linux-v6.1/include/linux/
Duio.h114 static inline unsigned char iov_iter_rw(const struct iov_iter *i) in iov_iter_rw() function
/Linux-v6.1/fs/jfs/
Dinode.c342 if (unlikely(iov_iter_rw(iter) == WRITE && ret < 0)) { in jfs_direct_IO()
/Linux-v6.1/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()
/Linux-v6.1/fs/exfat/
Dinode.c421 int rw = iov_iter_rw(iter); in exfat_direct_IO()
/Linux-v6.1/fs/fuse/
Dfile.c2864 if ((iov_iter_rw(iter) == READ) && (offset >= i_size)) in fuse_direct_IO()
2876 io->write = (iov_iter_rw(iter) == WRITE); in fuse_direct_IO()
2909 if (iov_iter_rw(iter) == WRITE) { in fuse_direct_IO()
2932 if (iov_iter_rw(iter) == WRITE) { in fuse_direct_IO()
Ddax.c723 return (iov_iter_rw(from) == WRITE && in file_extending_write()
/Linux-v6.1/fs/hfsplus/
Dinode.c141 if (unlikely(iov_iter_rw(iter) == WRITE && ret < 0)) { in hfsplus_direct_IO()
/Linux-v6.1/fs/hfs/
Dinode.c144 if (unlikely(iov_iter_rw(iter) == WRITE && ret < 0)) { in hfs_direct_IO()
/Linux-v6.1/fs/nfs/
Ddirect.c136 if (iov_iter_rw(iter) == READ) in nfs_swap_rw()
/Linux-v6.1/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()
/Linux-v6.1/fs/cifs/
Dsmbdirect.c1941 if (iov_iter_rw(&msg->msg_iter) == WRITE) { in smbd_recv()
1944 iov_iter_rw(&msg->msg_iter)); in smbd_recv()
/Linux-v6.1/fs/orangefs/
Dinode.c524 enum ORANGEFS_io_type type = iov_iter_rw(iter) == WRITE ? in orangefs_direct_IO()
/Linux-v6.1/fs/nilfs2/
Dinode.c292 if (iov_iter_rw(iter) == WRITE) in nilfs_direct_IO()
/Linux-v6.1/fs/ext2/
Dinode.c927 if (ret < 0 && iov_iter_rw(iter) == WRITE) in ext2_direct_IO()
/Linux-v6.1/fs/ntfs3/
Dinode.c758 int wr = iov_iter_rw(iter) & WRITE; in ntfs_direct_IO()
/Linux-v6.1/fs/ocfs2/
Daops.c2444 if (iov_iter_rw(iter) == READ) in ocfs2_direct_IO()
/Linux-v6.1/lib/
Diov_iter.c1449 if (iov_iter_rw(i) != WRITE) in __iov_iter_get_pages_alloc()
/Linux-v6.1/fs/udf/
Dinode.c227 if (unlikely(ret < 0 && iov_iter_rw(iter) == WRITE)) in udf_direct_IO()

12