Searched refs:iflags (Results 1 – 10 of 10) sorted by relevance
/fs/overlayfs/ |
D | file.c | 410 unsigned long arg, unsigned int iflags) in ovl_ioctl_set_flags() argument 428 if (((iflags ^ old_iflags) & (S_APPEND | S_IMMUTABLE)) && in ovl_ioctl_set_flags() 450 unsigned int iflags = 0; in ovl_fsflags_to_iflags() local 453 iflags |= S_SYNC; in ovl_fsflags_to_iflags() 455 iflags |= S_APPEND; in ovl_fsflags_to_iflags() 457 iflags |= S_IMMUTABLE; in ovl_fsflags_to_iflags() 459 iflags |= S_NOATIME; in ovl_fsflags_to_iflags() 461 return iflags; in ovl_fsflags_to_iflags() 478 unsigned int iflags = 0; in ovl_fsxflags_to_iflags() local 481 iflags |= S_SYNC; in ovl_fsxflags_to_iflags() [all …]
|
/fs/ext4/ |
D | ioctl.c | 526 static inline __u32 ext4_iflags_to_xflags(unsigned long iflags) in ext4_iflags_to_xflags() argument 530 if (iflags & EXT4_SYNC_FL) in ext4_iflags_to_xflags() 532 if (iflags & EXT4_IMMUTABLE_FL) in ext4_iflags_to_xflags() 534 if (iflags & EXT4_APPEND_FL) in ext4_iflags_to_xflags() 536 if (iflags & EXT4_NODUMP_FL) in ext4_iflags_to_xflags() 538 if (iflags & EXT4_NOATIME_FL) in ext4_iflags_to_xflags() 540 if (iflags & EXT4_PROJINHERIT_FL) in ext4_iflags_to_xflags() 552 unsigned long iflags = 0; in ext4_xflags_to_iflags() local 555 iflags |= EXT4_SYNC_FL; in ext4_xflags_to_iflags() 557 iflags |= EXT4_IMMUTABLE_FL; in ext4_xflags_to_iflags() [all …]
|
/fs/f2fs/ |
D | file.c | 1707 static int f2fs_setflags_common(struct inode *inode, u32 iflags, u32 mask) in f2fs_setflags_common() argument 1715 if ((iflags ^ fi->i_flags) & F2FS_CASEFOLD_FL) { in f2fs_setflags_common() 1722 fi->i_flags = iflags | (fi->i_flags & ~mask); in f2fs_setflags_common() 1785 static inline u32 f2fs_iflags_to_fsflags(u32 iflags) in f2fs_iflags_to_fsflags() argument 1791 if (iflags & f2fs_fsflags_map[i].iflag) in f2fs_iflags_to_fsflags() 1800 u32 iflags = 0; in f2fs_fsflags_to_iflags() local 1805 iflags |= f2fs_fsflags_map[i].iflag; in f2fs_fsflags_to_iflags() 1807 return iflags; in f2fs_fsflags_to_iflags() 1835 u32 iflags; in f2fs_ioc_setflags() local 1848 iflags = f2fs_fsflags_to_iflags(fsflags); in f2fs_ioc_setflags() [all …]
|
/fs/fat/ |
D | misc.c | 324 int iflags = I_DIRTY_TIME; in fat_update_time() local 338 iflags |= I_DIRTY_SYNC; in fat_update_time() 339 __mark_inode_dirty(inode, iflags); in fat_update_time()
|
/fs/xfs/ |
D | xfs_bmap_util.c | 508 int iflags = bmv->bmv_iflags; in xfs_getbmap() local 521 if (iflags & BMV_IF_COWFORK) in xfs_getbmap() 524 if ((iflags & BMV_IF_ATTRFORK) && (iflags & BMV_IF_COWFORK)) in xfs_getbmap() 533 if (iflags & BMV_IF_ATTRFORK) in xfs_getbmap() 535 else if (iflags & BMV_IF_COWFORK) in xfs_getbmap() 564 if (!(iflags & BMV_IF_DELALLOC) && in xfs_getbmap() 624 if (iflags & BMV_IF_DELALLOC) in xfs_getbmap()
|
D | xfs_icache.c | 503 int iflags; in xfs_iget_cache_miss() local 558 iflags = XFS_INEW; in xfs_iget_cache_miss() 560 iflags |= XFS_IDONTCACHE; in xfs_iget_cache_miss() 564 xfs_iflags_set(ip, iflags); in xfs_iget_cache_miss()
|
/fs/btrfs/ |
D | ioctl.c | 111 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() 129 iflags |= FS_NOCOMP_FL; in btrfs_inode_flags_to_fsflags() 131 iflags |= FS_COMPR_FL; in btrfs_inode_flags_to_fsflags() [all …]
|
/fs/ubifs/ |
D | file.c | 1382 int iflags = I_DIRTY_TIME; in ubifs_update_time() local 1401 iflags |= I_DIRTY_SYNC; in ubifs_update_time() 1404 __mark_inode_dirty(inode, iflags); in ubifs_update_time()
|
/fs/gfs2/ |
D | glock.c | 1771 static const char *hflags2str(char *buf, u16 flags, unsigned long iflags) in hflags2str() argument 1790 if (test_bit(HIF_HOLDER, &iflags)) in hflags2str() 1792 if (test_bit(HIF_WAIT, &iflags)) in hflags2str() 1794 if (test_bit(HIF_FIRST, &iflags)) in hflags2str()
|
/fs/ |
D | inode.c | 1657 int iflags = I_DIRTY_TIME; in generic_update_time() local 1673 iflags |= I_DIRTY_SYNC; in generic_update_time() 1674 __mark_inode_dirty(inode, iflags); in generic_update_time()
|