Home
last modified time | relevance | path

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

/fs/overlayfs/
Dutil.c691 u32 iflags = inode->i_flags & OVL_PROT_I_FLAGS_MASK; in ovl_check_protattr() local
708 iflags |= S_APPEND; in ovl_check_protattr()
710 iflags |= S_IMMUTABLE; in ovl_check_protattr()
719 inode_set_flags(inode, iflags, OVL_PROT_I_FLAGS_MASK); in ovl_check_protattr()
729 u32 iflags = 0; in ovl_set_protattr() local
735 iflags |= S_APPEND; in ovl_set_protattr()
739 iflags |= S_IMMUTABLE; in ovl_set_protattr()
758 inode_set_flags(inode, iflags, OVL_PROT_I_FLAGS_MASK); in ovl_set_protattr()
/fs/xfs/
Dxfs_bmap_util.c411 int iflags = bmv->bmv_iflags; in xfs_getbmap() local
424 if (iflags & BMV_IF_COWFORK) in xfs_getbmap()
427 if ((iflags & BMV_IF_ATTRFORK) && (iflags & BMV_IF_COWFORK)) in xfs_getbmap()
436 if (iflags & BMV_IF_ATTRFORK) in xfs_getbmap()
438 else if (iflags & BMV_IF_COWFORK) in xfs_getbmap()
467 if (!(iflags & BMV_IF_DELALLOC) && in xfs_getbmap()
525 if (iflags & BMV_IF_DELALLOC) in xfs_getbmap()
Dxfs_icache.c599 int iflags; in xfs_iget_cache_miss() local
678 iflags = XFS_INEW; in xfs_iget_cache_miss()
684 xfs_iflags_set(ip, iflags); in xfs_iget_cache_miss()
Dxfs_trace.h730 __field(unsigned long, iflags)
735 __entry->iflags = ip->i_flags;
740 __entry->iflags)
/fs/f2fs/
Dfile.c1849 static int f2fs_setflags_common(struct inode *inode, u32 iflags, u32 mask) in f2fs_setflags_common() argument
1855 iflags &= mask; in f2fs_setflags_common()
1861 if ((iflags ^ masked_flags) & F2FS_CASEFOLD_FL) { in f2fs_setflags_common()
1868 if (iflags & (F2FS_COMPR_FL | F2FS_NOCOMP_FL)) { in f2fs_setflags_common()
1871 if ((iflags & F2FS_COMPR_FL) && (iflags & F2FS_NOCOMP_FL)) in f2fs_setflags_common()
1875 if ((iflags ^ masked_flags) & F2FS_COMPR_FL) { in f2fs_setflags_common()
1889 fi->i_flags = iflags | (fi->i_flags & ~mask); in f2fs_setflags_common()
1963 static inline u32 f2fs_iflags_to_fsflags(u32 iflags) in f2fs_iflags_to_fsflags() argument
1969 if (iflags & f2fs_fsflags_map[i].iflag) in f2fs_iflags_to_fsflags()
1978 u32 iflags = 0; in f2fs_fsflags_to_iflags() local
[all …]
/fs/btrfs/
Dioctl.c109 unsigned int iflags = 0; in btrfs_inode_flags_to_fsflags() local
114 iflags |= FS_SYNC_FL; in btrfs_inode_flags_to_fsflags()
116 iflags |= FS_IMMUTABLE_FL; in btrfs_inode_flags_to_fsflags()
118 iflags |= FS_APPEND_FL; in btrfs_inode_flags_to_fsflags()
120 iflags |= FS_NODUMP_FL; in btrfs_inode_flags_to_fsflags()
122 iflags |= FS_NOATIME_FL; in btrfs_inode_flags_to_fsflags()
124 iflags |= FS_DIRSYNC_FL; in btrfs_inode_flags_to_fsflags()
126 iflags |= FS_NOCOW_FL; in btrfs_inode_flags_to_fsflags()
128 iflags |= FS_VERITY_FL; in btrfs_inode_flags_to_fsflags()
131 iflags |= FS_NOCOMP_FL; in btrfs_inode_flags_to_fsflags()
[all …]
/fs/gfs2/
Dglock.c2216 static const char *hflags2str(char *buf, u16 flags, unsigned long iflags) in hflags2str() argument
2237 if (test_bit(HIF_HOLDER, &iflags)) in hflags2str()
2239 if (test_bit(HIF_WAIT, &iflags)) in hflags2str()
2241 if (test_bit(HIF_MAY_DEMOTE, &iflags)) in hflags2str()