Home
last modified time | relevance | path

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

/fs/ext4/
Dioctl.c562 static inline __u32 ext4_iflags_to_xflags(unsigned long iflags) in ext4_iflags_to_xflags() argument
566 if (iflags & EXT4_SYNC_FL) in ext4_iflags_to_xflags()
568 if (iflags & EXT4_IMMUTABLE_FL) in ext4_iflags_to_xflags()
570 if (iflags & EXT4_APPEND_FL) in ext4_iflags_to_xflags()
572 if (iflags & EXT4_NODUMP_FL) in ext4_iflags_to_xflags()
574 if (iflags & EXT4_NOATIME_FL) in ext4_iflags_to_xflags()
576 if (iflags & EXT4_PROJINHERIT_FL) in ext4_iflags_to_xflags()
578 if (iflags & EXT4_DAX_FL) in ext4_iflags_to_xflags()
591 unsigned long iflags = 0; in ext4_xflags_to_iflags() local
594 iflags |= EXT4_SYNC_FL; in ext4_xflags_to_iflags()
[all …]
/fs/fat/
Dmisc.c332 int iflags = I_DIRTY_TIME; in fat_update_time() local
346 iflags |= I_DIRTY_SYNC; in fat_update_time()
347 __mark_inode_dirty(inode, iflags); in fat_update_time()
/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()
1960 static inline u32 f2fs_iflags_to_fsflags(u32 iflags) in f2fs_iflags_to_fsflags() argument
1966 if (iflags & f2fs_fsflags_map[i].iflag) in f2fs_iflags_to_fsflags()
1975 u32 iflags = 0; in f2fs_fsflags_to_iflags() local
[all …]
/fs/xfs/
Dxfs_bmap_util.c369 int iflags = bmv->bmv_iflags; in xfs_getbmap() local
382 if (iflags & BMV_IF_COWFORK) in xfs_getbmap()
385 if ((iflags & BMV_IF_ATTRFORK) && (iflags & BMV_IF_COWFORK)) in xfs_getbmap()
394 if (iflags & BMV_IF_ATTRFORK) in xfs_getbmap()
396 else if (iflags & BMV_IF_COWFORK) in xfs_getbmap()
425 if (!(iflags & BMV_IF_DELALLOC) && in xfs_getbmap()
485 if (iflags & BMV_IF_DELALLOC) in xfs_getbmap()
Dxfs_icache.c485 int iflags; in xfs_iget_cache_miss() local
564 iflags = XFS_INEW; in xfs_iget_cache_miss()
570 xfs_iflags_set(ip, iflags); in xfs_iget_cache_miss()
/fs/btrfs/
Dioctl.c108 unsigned int iflags = 0; in btrfs_inode_flags_to_fsflags() local
111 iflags |= FS_SYNC_FL; in btrfs_inode_flags_to_fsflags()
113 iflags |= FS_IMMUTABLE_FL; in btrfs_inode_flags_to_fsflags()
115 iflags |= FS_APPEND_FL; in btrfs_inode_flags_to_fsflags()
117 iflags |= FS_NODUMP_FL; in btrfs_inode_flags_to_fsflags()
119 iflags |= FS_NOATIME_FL; in btrfs_inode_flags_to_fsflags()
121 iflags |= FS_DIRSYNC_FL; in btrfs_inode_flags_to_fsflags()
123 iflags |= FS_NOCOW_FL; in btrfs_inode_flags_to_fsflags()
126 iflags |= FS_NOCOMP_FL; in btrfs_inode_flags_to_fsflags()
128 iflags |= FS_COMPR_FL; in btrfs_inode_flags_to_fsflags()
[all …]
/fs/gfs2/
Dglock.c2049 static const char *hflags2str(char *buf, u16 flags, unsigned long iflags) in hflags2str() argument
2068 if (test_bit(HIF_HOLDER, &iflags)) in hflags2str()
2070 if (test_bit(HIF_WAIT, &iflags)) in hflags2str()
2072 if (test_bit(HIF_FIRST, &iflags)) in hflags2str()
/fs/
Dinode.c1790 int iflags = I_DIRTY_TIME; in generic_update_time() local
1806 iflags |= I_DIRTY_SYNC; in generic_update_time()
1807 __mark_inode_dirty(inode, iflags); in generic_update_time()