Home
last modified time | relevance | path

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

12

/linux-6.6.21/fs/
Ddirect-io.c1128 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 …]
Ddax.c1428 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()
/linux-6.6.21/block/
Dfops.c68 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()
Dblk-map.c208 if (iov_iter_rw(iter) == WRITE && in bio_copy_user_iov()
/linux-6.6.21/fs/iomap/
Ddirect-io.c582 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()
/linux-6.6.21/fs/9p/
Dvfs_addr.c260 if (iov_iter_rw(iter) == WRITE) { in v9fs_direct_IO()
/linux-6.6.21/fs/jfs/
Dinode.c337 if (unlikely(iov_iter_rw(iter) == WRITE && ret < 0)) { in jfs_direct_IO()
/linux-6.6.21/include/linux/
Duio.h139 static inline unsigned char iov_iter_rw(const struct iov_iter *i) in iov_iter_rw() function
/linux-6.6.21/fs/affs/
Dfile.c405 if (iov_iter_rw(iter) == WRITE) { in affs_direct_IO()
413 if (ret < 0 && iov_iter_rw(iter) == WRITE) in affs_direct_IO()
/linux-6.6.21/fs/exfat/
Dinode.c414 int rw = iov_iter_rw(iter); in exfat_direct_IO()
/linux-6.6.21/fs/fuse/
Dfile.c2899 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()
Ddax.c723 return (iov_iter_rw(from) == WRITE && in file_extending_write()
/linux-6.6.21/fs/hfs/
Dinode.c144 if (unlikely(iov_iter_rw(iter) == WRITE && ret < 0)) { in hfs_direct_IO()
/linux-6.6.21/fs/hfsplus/
Dinode.c141 if (unlikely(iov_iter_rw(iter) == WRITE && ret < 0)) { in hfsplus_direct_IO()
/linux-6.6.21/fs/fat/
Dinode.c264 if (iov_iter_rw(iter) == WRITE) { in fat_direct_IO()
284 if (ret < 0 && iov_iter_rw(iter) == WRITE) in fat_direct_IO()
/linux-6.6.21/fs/nfs/
Ddirect.c146 if (iov_iter_rw(iter) == READ) in nfs_swap_rw()
/linux-6.6.21/fs/orangefs/
Dinode.c516 enum ORANGEFS_io_type type = iov_iter_rw(iter) == WRITE ? in orangefs_direct_IO()
/linux-6.6.21/fs/smb/client/
Dsmbdirect.c1912 if (iov_iter_rw(&msg->msg_iter) == WRITE) { in smbd_recv()
1915 iov_iter_rw(&msg->msg_iter)); in smbd_recv()
/linux-6.6.21/fs/nilfs2/
Dinode.c292 if (iov_iter_rw(iter) == WRITE) in nilfs_direct_IO()
/linux-6.6.21/lib/
Diov_iter.c1113 if (iov_iter_rw(i) != WRITE) in __iov_iter_get_pages_alloc()
/linux-6.6.21/fs/ocfs2/
Daops.c2459 if (iov_iter_rw(iter) == READ) in ocfs2_direct_IO()
/linux-6.6.21/fs/ntfs3/
Dinode.c779 int wr = iov_iter_rw(iter) & WRITE; in ntfs_direct_IO()
/linux-6.6.21/fs/udf/
Dinode.c310 if (unlikely(ret < 0 && iov_iter_rw(iter) == WRITE)) in udf_direct_IO()
/linux-6.6.21/fs/reiserfs/
Dinode.c3249 if (unlikely(iov_iter_rw(iter) == WRITE && ret < 0)) { in reiserfs_direct_IO()
/linux-6.6.21/fs/ceph/
Dfile.c1401 bool write = iov_iter_rw(iter) == WRITE; in ceph_direct_read_write()

12