Searched refs:iov_iter_rw (Results 1 – 25 of 28) sorted by relevance
12
1146 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 …]
1326 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()
1317 else if (iov_iter_rw(&iter) == WRITE) in SYSCALL_DEFINE4()
76 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()
206 if ((iov_iter_rw(iter) == WRITE && in bio_copy_user_iov()
523 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()
258 if (iov_iter_rw(iter) == WRITE) { in v9fs_direct_IO()
114 static inline unsigned char iov_iter_rw(const struct iov_iter *i) in iov_iter_rw() function
342 if (unlikely(iov_iter_rw(iter) == WRITE && ret < 0)) { in jfs_direct_IO()
403 if (iov_iter_rw(iter) == WRITE) { in affs_direct_IO()411 if (ret < 0 && iov_iter_rw(iter) == WRITE) in affs_direct_IO()
421 int rw = iov_iter_rw(iter); in exfat_direct_IO()
2864 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()
723 return (iov_iter_rw(from) == WRITE && in file_extending_write()
141 if (unlikely(iov_iter_rw(iter) == WRITE && ret < 0)) { in hfsplus_direct_IO()
144 if (unlikely(iov_iter_rw(iter) == WRITE && ret < 0)) { in hfs_direct_IO()
136 if (iov_iter_rw(iter) == READ) in nfs_swap_rw()
269 if (iov_iter_rw(iter) == WRITE) { in fat_direct_IO()289 if (ret < 0 && iov_iter_rw(iter) == WRITE) in fat_direct_IO()
1941 if (iov_iter_rw(&msg->msg_iter) == WRITE) { in smbd_recv()1944 iov_iter_rw(&msg->msg_iter)); in smbd_recv()
524 enum ORANGEFS_io_type type = iov_iter_rw(iter) == WRITE ? in orangefs_direct_IO()
292 if (iov_iter_rw(iter) == WRITE) in nilfs_direct_IO()
927 if (ret < 0 && iov_iter_rw(iter) == WRITE) in ext2_direct_IO()
758 int wr = iov_iter_rw(iter) & WRITE; in ntfs_direct_IO()
2444 if (iov_iter_rw(iter) == READ) in ocfs2_direct_IO()
1449 if (iov_iter_rw(i) != WRITE) in __iov_iter_get_pages_alloc()
227 if (unlikely(ret < 0 && iov_iter_rw(iter) == WRITE)) in udf_direct_IO()