Home
last modified time | relevance | path

Searched refs:BTRFS_INODE_NODATACOW (Results 1 – 7 of 7) sorted by relevance

/linux/include/uapi/linux/
H A Dbtrfs_tree.h416 #define BTRFS_INODE_NODATACOW (1U << 1) macro
432 BTRFS_INODE_NODATACOW | \
/linux/fs/btrfs/
H A Ddirect-io.c242 ((BTRFS_I(inode)->flags & BTRFS_INODE_NODATACOW) && in btrfs_get_blocks_direct_write()
444 (BTRFS_INODE_NODATACOW | BTRFS_INODE_PREALLOC))) in btrfs_dio_iomap_begin()
H A Dbtrfs_inode.h505 if (inode->flags & BTRFS_INODE_NODATACOW || in btrfs_inode_can_compress()
H A Dioctl.c154 if (flags & BTRFS_INODE_NODATACOW) in btrfs_inode_flags_to_fsflags()
329 binode_flags |= BTRFS_INODE_NODATACOW | in btrfs_fileattr_set()
332 binode_flags |= BTRFS_INODE_NODATACOW; in btrfs_fileattr_set()
340 binode_flags &= ~(BTRFS_INODE_NODATACOW | in btrfs_fileattr_set()
343 binode_flags &= ~BTRFS_INODE_NODATACOW; in btrfs_fileattr_set()
H A Dinode.c1886 if (!(inode->flags & BTRFS_INODE_NODATACOW) && in can_nocow_file_extent()
2263 if (inode->flags & (BTRFS_INODE_NODATACOW | BTRFS_INODE_PREALLOC)) { in should_nocow()
6207 if (flags & BTRFS_INODE_NODATACOW) { in btrfs_inherit_iflags()
6208 inode->flags |= BTRFS_INODE_NODATACOW; in btrfs_inherit_iflags()
6297 BTRFS_I(inode)->flags |= BTRFS_INODE_NODATACOW | in btrfs_create_new_inode()
7099 if (!(BTRFS_I(inode)->flags & BTRFS_INODE_NODATACOW) && in can_nocow_extent()
9828 if (!(BTRFS_I(inode)->flags & BTRFS_INODE_NODATACOW)) { in btrfs_swap_activate()
H A Dfree-space-cache.c137 u32 flags = BTRFS_INODE_NODATASUM | BTRFS_INODE_NODATACOW; in lookup_free_space_inode()
155 BTRFS_INODE_NODATACOW; in lookup_free_space_inode()
178 BTRFS_INODE_NODATASUM | BTRFS_INODE_NODATACOW; in __create_free_space_inode()
H A Dfile.c1033 if (!(inode->flags & (BTRFS_INODE_NODATACOW | BTRFS_INODE_PREALLOC))) in btrfs_check_nocow_lock()
1088 !(BTRFS_I(inode)->flags & (BTRFS_INODE_NODATACOW | BTRFS_INODE_PREALLOC))) in btrfs_write_check()