Home
last modified time | relevance | path

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

/linux-6.1.9/fs/
Ddax.c839 return (iter->flags & IOMAP_WRITE) && (vma->vm_flags & VM_SYNC) && in dax_fault_is_synchronous()
845 return (iter->flags & IOMAP_WRITE) && in dax_fault_is_cow()
1453 iomi.flags |= IOMAP_WRITE; in dax_iomap_rw()
1538 bool write = iter->flags & IOMAP_WRITE; in dax_fault_iter()
1613 iter.flags |= IOMAP_WRITE; in dax_iomap_pte_fault()
1712 iter.flags |= IOMAP_WRITE; in dax_iomap_pmd_fault()
/linux-6.1.9/fs/gfs2/
Dbmap.c867 if (flags & IOMAP_WRITE) { in __gfs2_iomap_get()
942 } else if (flags & IOMAP_WRITE) { in __gfs2_iomap_get()
1095 switch(flags & (IOMAP_WRITE | IOMAP_ZERO)) { in gfs2_iomap_begin()
1096 case IOMAP_WRITE: in gfs2_iomap_begin()
1129 switch (flags & (IOMAP_WRITE | IOMAP_ZERO)) { in gfs2_iomap_end()
1130 case IOMAP_WRITE: in gfs2_iomap_end()
1410 ret = __gfs2_iomap_get(inode, pos, length, IOMAP_WRITE, iomap, &mp); in gfs2_iomap_alloc()
/linux-6.1.9/fs/iomap/
Dtrace.h95 { IOMAP_WRITE, "WRITE" }, \
Dbuffered-io.c820 .flags = IOMAP_WRITE, in iomap_file_buffered_write()
884 .flags = IOMAP_WRITE | IOMAP_UNSHARE, in iomap_file_unshare()
992 .flags = IOMAP_WRITE | IOMAP_FAULT, in iomap_page_mkwrite()
Ddirect-io.c539 iomi.flags |= IOMAP_WRITE; in __iomap_dio_rw()
/linux-6.1.9/include/linux/
Diomap.h136 #define IOMAP_WRITE (1 << 0) /* writing, must allocate blocks */ macro
/linux-6.1.9/fs/hpfs/
Dfile.c128 if (WARN_ON_ONCE(flags & (IOMAP_WRITE | IOMAP_ZERO))) in hpfs_iomap_begin()
/linux-6.1.9/fs/xfs/
Dxfs_iomap.c668 bool is_write = flags & (IOMAP_WRITE | IOMAP_ZERO); in xfs_ilock_for_iomap()
747 ASSERT(flags & (IOMAP_WRITE | IOMAP_ZERO)); in xfs_direct_write_iomap_begin()
1208 ASSERT(!(flags & (IOMAP_WRITE | IOMAP_ZERO))); in xfs_read_iomap_begin()
/linux-6.1.9/fs/fuse/
Ddax.c440 bool writable = flags & IOMAP_WRITE; in fuse_setup_new_dax_mapping()
568 bool writable = flags & IOMAP_WRITE; in fuse_iomap_begin()
/linux-6.1.9/fs/ext2/
Dinode.c814 &bno, &new, &boundary, flags & IOMAP_WRITE); in ext2_iomap_begin()
849 (flags & IOMAP_WRITE)) in ext2_iomap_end()
/linux-6.1.9/fs/zonefs/
Dsuper.c235 IOMAP_WRITE, &wpc->iomap, NULL); in zonefs_write_map_blocks()
/linux-6.1.9/fs/ext4/
Dinode.c3459 if (flags & IOMAP_WRITE) { in ext4_iomap_begin()
3501 flags &= ~IOMAP_WRITE; in ext4_iomap_overwrite_begin()
3517 if (flags & (IOMAP_WRITE | IOMAP_DIRECT) && written == 0) in ext4_iomap_end()
/linux-6.1.9/fs/f2fs/
Ddata.c4120 if (flags & IOMAP_WRITE) in f2fs_iomap_begin()
4123 err = f2fs_map_blocks(inode, &map, flags & IOMAP_WRITE, in f2fs_iomap_begin()
/linux-6.1.9/fs/btrfs/
Dinode.c7250 const bool writing = (iomap_flags & IOMAP_WRITE); in lock_extent_direct()
7530 const bool write = !!(flags & IOMAP_WRITE); in btrfs_dio_iomap_begin()
7777 const bool write = !!(flags & IOMAP_WRITE); in btrfs_dio_iomap_end()