Searched refs:iov_iter_rw (Results 1 – 25 of 26) sorted by relevance
12
1128 if (iov_iter_rw(iter) == READ && !count) in __blockdev_direct_IO()1142 if (dio->flags & DIO_LOCKING && iov_iter_rw(iter) == READ) { in __blockdev_direct_IO()1150 if (iov_iter_rw(iter) == READ && offset >= dio->i_size) { in __blockdev_direct_IO()1163 if (dio->flags & DIO_LOCKING && iov_iter_rw(iter) == READ) { in __blockdev_direct_IO()1179 else if (iov_iter_rw(iter) == WRITE && end > i_size_read(inode)) in __blockdev_direct_IO()1185 if (iov_iter_rw(iter) == WRITE) { in __blockdev_direct_IO()1197 if (dio->is_async && iov_iter_rw(iter) == WRITE) { in __blockdev_direct_IO()1233 dio->should_dirty = user_backed_iter(iter) && iov_iter_rw(iter) == READ; in __blockdev_direct_IO()1290 if (iov_iter_rw(iter) == READ && (dio->flags & DIO_LOCKING)) in __blockdev_direct_IO()1302 (iov_iter_rw(iter) == READ || dio->result == count)) in __blockdev_direct_IO()[all …]
1428 bool write = iov_iter_rw(iter) == WRITE; in dax_iomap_iter()1488 if (map_len == -EHWPOISON && iov_iter_rw(iter) == WRITE) { in dax_iomap_iter()1563 if (iov_iter_rw(iter) == WRITE) { in dax_iomap_rw()
68 if (iov_iter_rw(iter) == READ) { in __blkdev_direct_IO_simple()83 if (iov_iter_rw(iter) == WRITE) in __blkdev_direct_IO_simple()169 bool is_read = (iov_iter_rw(iter) == READ), is_sync; in __blkdev_direct_IO()306 bool is_read = iov_iter_rw(iter) == READ; in __blkdev_direct_IO_async()
208 if (iov_iter_rw(iter) == WRITE && in bio_copy_user_iov()
582 if (iov_iter_rw(iter) == READ) { in __iomap_dio_rw()674 if (iov_iter_rw(iter) == READ && iomi.pos >= dio->i_size) in __iomap_dio_rw()
260 if (iov_iter_rw(iter) == WRITE) { in v9fs_direct_IO()
337 if (unlikely(iov_iter_rw(iter) == WRITE && ret < 0)) { in jfs_direct_IO()
139 static inline unsigned char iov_iter_rw(const struct iov_iter *i) in iov_iter_rw() function
405 if (iov_iter_rw(iter) == WRITE) { in affs_direct_IO()413 if (ret < 0 && iov_iter_rw(iter) == WRITE) in affs_direct_IO()
414 int rw = iov_iter_rw(iter); in exfat_direct_IO()
2899 if ((iov_iter_rw(iter) == READ) && (offset >= i_size)) in fuse_direct_IO()2911 io->write = (iov_iter_rw(iter) == WRITE); in fuse_direct_IO()2944 if (iov_iter_rw(iter) == WRITE) { in fuse_direct_IO()2967 if (iov_iter_rw(iter) == WRITE) { in fuse_direct_IO()
723 return (iov_iter_rw(from) == WRITE && in file_extending_write()
144 if (unlikely(iov_iter_rw(iter) == WRITE && ret < 0)) { in hfs_direct_IO()
141 if (unlikely(iov_iter_rw(iter) == WRITE && ret < 0)) { in hfsplus_direct_IO()
264 if (iov_iter_rw(iter) == WRITE) { in fat_direct_IO()284 if (ret < 0 && iov_iter_rw(iter) == WRITE) in fat_direct_IO()
146 if (iov_iter_rw(iter) == READ) in nfs_swap_rw()
516 enum ORANGEFS_io_type type = iov_iter_rw(iter) == WRITE ? in orangefs_direct_IO()
1912 if (iov_iter_rw(&msg->msg_iter) == WRITE) { in smbd_recv()1915 iov_iter_rw(&msg->msg_iter)); in smbd_recv()
292 if (iov_iter_rw(iter) == WRITE) in nilfs_direct_IO()
1113 if (iov_iter_rw(i) != WRITE) in __iov_iter_get_pages_alloc()
2459 if (iov_iter_rw(iter) == READ) in ocfs2_direct_IO()
779 int wr = iov_iter_rw(iter) & WRITE; in ntfs_direct_IO()
310 if (unlikely(ret < 0 && iov_iter_rw(iter) == WRITE)) in udf_direct_IO()
3249 if (unlikely(iov_iter_rw(iter) == WRITE && ret < 0)) { in reiserfs_direct_IO()
1401 bool write = iov_iter_rw(iter) == WRITE; in ceph_direct_read_write()