Lines Matching refs:binode
128 static unsigned int btrfs_inode_flags_to_fsflags(struct btrfs_inode *binode) in btrfs_inode_flags_to_fsflags() argument
131 u32 flags = binode->flags; in btrfs_inode_flags_to_fsflags()
132 u32 ro_flags = binode->ro_flags; in btrfs_inode_flags_to_fsflags()
164 struct btrfs_inode *binode = BTRFS_I(inode); in btrfs_sync_inode_flags_to_i_flags() local
167 if (binode->flags & BTRFS_INODE_SYNC) in btrfs_sync_inode_flags_to_i_flags()
169 if (binode->flags & BTRFS_INODE_IMMUTABLE) in btrfs_sync_inode_flags_to_i_flags()
171 if (binode->flags & BTRFS_INODE_APPEND) in btrfs_sync_inode_flags_to_i_flags()
173 if (binode->flags & BTRFS_INODE_NOATIME) in btrfs_sync_inode_flags_to_i_flags()
175 if (binode->flags & BTRFS_INODE_DIRSYNC) in btrfs_sync_inode_flags_to_i_flags()
177 if (binode->ro_flags & BTRFS_INODE_RO_VERITY) in btrfs_sync_inode_flags_to_i_flags()
229 struct btrfs_inode *binode = BTRFS_I(d_inode(dentry)); in btrfs_fileattr_get() local
231 fileattr_fill_flags(fa, btrfs_inode_flags_to_fsflags(binode)); in btrfs_fileattr_get()
240 struct btrfs_inode *binode = BTRFS_I(inode); in btrfs_fileattr_set() local
241 struct btrfs_root *root = binode->root; in btrfs_fileattr_set()
255 old_fsflags = btrfs_inode_flags_to_fsflags(binode); in btrfs_fileattr_set()
264 binode_flags = binode->flags; in btrfs_fileattr_set()
373 binode->flags = binode_flags; in btrfs_fileattr_set()