Home
last modified time | relevance | path

Searched refs:IOMAP_WRITE (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.10/fs/gfs2/
Dbmap.c869 if (flags & IOMAP_WRITE) { in gfs2_iomap_get()
944 } else if (flags & IOMAP_WRITE) { in gfs2_iomap_get()
1150 return (flags & IOMAP_WRITE) && !(flags & IOMAP_DIRECT); in gfs2_iomap_need_write_lock()
1175 switch(flags & (IOMAP_WRITE | IOMAP_ZERO)) { in gfs2_iomap_begin()
1176 case IOMAP_WRITE: in gfs2_iomap_begin()
1212 switch (flags & (IOMAP_WRITE | IOMAP_ZERO)) { in gfs2_iomap_end()
1213 case IOMAP_WRITE: in gfs2_iomap_end()
1295 int flags = create ? IOMAP_WRITE : 0; in gfs2_block_map()
1470 ret = gfs2_iomap_get(inode, pos, length, IOMAP_WRITE, iomap, &mp); in gfs2_iomap_get_alloc()
/Linux-v5.10/include/linux/
Diomap.h119 #define IOMAP_WRITE (1 << 0) /* writing, must allocate blocks */ macro
/Linux-v5.10/fs/iomap/
Dtrace.h87 { IOMAP_WRITE, "WRITE" }, \
Dbuffered-io.c832 IOMAP_WRITE, ops, iter, iomap_write_actor); in iomap_file_buffered_write()
891 ret = iomap_apply(inode, pos, len, IOMAP_WRITE, ops, NULL, in iomap_file_unshare()
1024 IOMAP_WRITE | IOMAP_FAULT, ops, page, in iomap_page_mkwrite()
Ddirect-io.c464 flags |= IOMAP_WRITE; in __iomap_dio_rw()
/Linux-v5.10/fs/
Ddax.c1207 flags |= IOMAP_WRITE; in dax_iomap_rw()
1243 return (flags & IOMAP_WRITE) && (vma->vm_flags & VM_SYNC) in dax_fault_is_synchronous()
1278 flags |= IOMAP_WRITE; in dax_iomap_pte_fault()
1478 unsigned int iomap_flags = (write ? IOMAP_WRITE : 0) | IOMAP_FAULT; in dax_iomap_pmd_fault()
/Linux-v5.10/fs/xfs/
Dxfs_iomap.c666 bool is_write = flags & (IOMAP_WRITE | IOMAP_ZERO); in xfs_ilock_for_iomap()
745 ASSERT(flags & (IOMAP_WRITE | IOMAP_ZERO)); in xfs_direct_write_iomap_begin()
1158 ASSERT(!(flags & (IOMAP_WRITE | IOMAP_ZERO))); in xfs_read_iomap_begin()
/Linux-v5.10/fs/zonefs/
Dsuper.c78 (flags & IOMAP_WRITE) && !(flags & IOMAP_DIRECT))) in zonefs_iomap_begin()
92 if (flags & IOMAP_WRITE) in zonefs_iomap_begin()
140 IOMAP_WRITE, &wpc->iomap, NULL); in zonefs_map_blocks()
/Linux-v5.10/fs/fuse/
Ddax.c439 bool writable = flags & IOMAP_WRITE; in fuse_setup_new_dax_mapping()
567 bool writable = flags & IOMAP_WRITE; in fuse_iomap_begin()
/Linux-v5.10/fs/ext2/
Dinode.c815 &bno, &new, &boundary, flags & IOMAP_WRITE); in ext2_iomap_begin()
846 (flags & IOMAP_WRITE)) in ext2_iomap_end()
/Linux-v5.10/fs/ext4/
Dinode.c3456 if (flags & IOMAP_WRITE) { in ext4_iomap_begin()
3491 flags &= ~IOMAP_WRITE; in ext4_iomap_overwrite_begin()
3507 if (flags & (IOMAP_WRITE | IOMAP_DIRECT) && written == 0) in ext4_iomap_end()
/Linux-v5.10/fs/btrfs/
Dinode.c7376 const bool write = !!(flags & IOMAP_WRITE); in btrfs_dio_iomap_begin()
7535 const bool write = !!(flags & IOMAP_WRITE); in btrfs_dio_iomap_end()