Home
last modified time | relevance | path

Searched refs:fsflags (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/fs/gfs2/
Dfile.c145 u32 fsflags = 0; in gfs2_gfsflags_to_fsflags() local
154 fsflags |= fsflag_gfs2flag[i].fsflag; in gfs2_gfsflags_to_fsflags()
155 return fsflags; in gfs2_gfsflags_to_fsflags()
164 u32 fsflags; in gfs2_fileattr_get() local
174 fsflags = gfs2_gfsflags_to_fsflags(inode, ip->i_diskflags); in gfs2_fileattr_get()
176 fileattr_fill_flags(fa, fsflags); in gfs2_fileattr_get()
281 u32 fsflags = fa->flags, gfsflags = 0; in gfs2_fileattr_set() local
292 if (fsflags & fsflag_gfs2flag[i].fsflag) { in gfs2_fileattr_set()
293 fsflags &= ~fsflag_gfs2flag[i].fsflag; in gfs2_fileattr_set()
297 if (fsflags || gfsflags & ~GFS2_FLAGS_USER_SET) in gfs2_fileattr_set()
/linux-6.6.21/mm/
Dshmem.c1147 if (info->fsflags & FS_APPEND_FL) in shmem_getattr()
1149 if (info->fsflags & FS_IMMUTABLE_FL) in shmem_getattr()
1151 if (info->fsflags & FS_NODUMP_FL) in shmem_getattr()
2423 static void shmem_set_inode_flags(struct inode *inode, unsigned int fsflags) in shmem_set_inode_flags() argument
2427 if (fsflags & FS_NOATIME_FL) in shmem_set_inode_flags()
2429 if (fsflags & FS_APPEND_FL) in shmem_set_inode_flags()
2431 if (fsflags & FS_IMMUTABLE_FL) in shmem_set_inode_flags()
2439 static void shmem_set_inode_flags(struct inode *inode, unsigned int fsflags) in shmem_set_inode_flags() argument
2484 info->fsflags = (dir == NULL) ? 0 : in __shmem_get_inode()
2485 SHMEM_I(dir)->fsflags & SHMEM_FL_INHERITED; in __shmem_get_inode()
[all …]
/linux-6.6.21/include/linux/
Dshmem_fs.h33 unsigned int fsflags; /* flags for FS_IOC_[SG]ETFLAGS */ member
/linux-6.6.21/fs/f2fs/
Dfile.c2020 u32 fsflags = 0; in f2fs_iflags_to_fsflags() local
2025 fsflags |= f2fs_fsflags_map[i].fsflag; in f2fs_iflags_to_fsflags()
2027 return fsflags; in f2fs_iflags_to_fsflags()
2031 static inline u32 f2fs_fsflags_to_iflags(u32 fsflags) in f2fs_fsflags_to_iflags() argument
2037 if (fsflags & f2fs_fsflags_map[i].fsflag) in f2fs_fsflags_to_iflags()
3121 u32 fsflags = f2fs_iflags_to_fsflags(fi->i_flags); in f2fs_fileattr_get() local
3124 fsflags |= FS_ENCRYPT_FL; in f2fs_fileattr_get()
3126 fsflags |= FS_VERITY_FL; in f2fs_fileattr_get()
3128 fsflags |= FS_INLINE_DATA_FL; in f2fs_fileattr_get()
3130 fsflags |= FS_NOCOW_FL; in f2fs_fileattr_get()
[all …]
/linux-6.6.21/fs/btrfs/
Dioctl.c254 unsigned int fsflags, old_fsflags; in btrfs_fileattr_set() local
265 fsflags = btrfs_mask_fsflags_for_type(inode, fa->flags); in btrfs_fileattr_set()
267 ret = check_fsflags(old_fsflags, fsflags); in btrfs_fileattr_set()
271 ret = check_fsflags_compatible(fs_info, fsflags); in btrfs_fileattr_set()
276 if (fsflags & FS_SYNC_FL) in btrfs_fileattr_set()
280 if (fsflags & FS_IMMUTABLE_FL) in btrfs_fileattr_set()
284 if (fsflags & FS_APPEND_FL) in btrfs_fileattr_set()
288 if (fsflags & FS_NODUMP_FL) in btrfs_fileattr_set()
292 if (fsflags & FS_NOATIME_FL) in btrfs_fileattr_set()
306 if (fsflags & FS_DIRSYNC_FL) in btrfs_fileattr_set()
[all …]