Searched refs:fa (Results 26 - 50 of 109) sorted by path

12345

/linux-master/fs/ext2/
H A Dioctl.c21 int ext2_fileattr_get(struct dentry *dentry, struct fileattr *fa) argument
25 fileattr_fill_flags(fa, ei->i_flags & EXT2_FL_USER_VISIBLE);
31 struct dentry *dentry, struct fileattr *fa)
36 if (fileattr_has_fsx(fa))
44 (fa->flags & EXT2_FL_USER_MODIFIABLE);
30 ext2_fileattr_set(struct mnt_idmap *idmap, struct dentry *dentry, struct fileattr *fa) argument
/linux-master/fs/ext4/
H A Dext4.h3038 struct dentry *dentry, struct fileattr *fa);
3039 int ext4_fileattr_get(struct dentry *dentry, struct fileattr *fa);
H A Dfsmap.c360 struct ext4_fsmap *fa; local
363 fa = container_of(a, struct ext4_fsmap, fmr_list);
365 if (fa->fmr_physical < fb->fmr_physical)
367 else if (fa->fmr_physical > fb->fmr_physical)
H A Dioctl.c983 int ext4_fileattr_get(struct dentry *dentry, struct fileattr *fa) argument
992 fileattr_fill_flags(fa, flags);
994 fa->fsx_projid = from_kprojid(&init_user_ns, ei->i_projid);
1000 struct dentry *dentry, struct fileattr *fa)
1003 u32 flags = fa->flags;
1018 err = ext4_ioctl_check_immutable(inode, fa->fsx_projid, flags);
1024 err = ext4_ioctl_setproject(inode, fa->fsx_projid);
999 ext4_fileattr_set(struct mnt_idmap *idmap, struct dentry *dentry, struct fileattr *fa) argument
/linux-master/fs/f2fs/
H A Df2fs.h3501 int f2fs_fileattr_get(struct dentry *dentry, struct fileattr *fa);
3503 struct dentry *dentry, struct fileattr *fa);
H A Dfile.c3135 int f2fs_fileattr_get(struct dentry *dentry, struct fileattr *fa) argument
3150 fileattr_fill_flags(fa, fsflags & F2FS_GETTABLE_FS_FL);
3153 fa->fsx_projid = from_kprojid(&init_user_ns, fi->i_projid);
3159 struct dentry *dentry, struct fileattr *fa)
3162 u32 fsflags = fa->flags, mask = F2FS_SETTABLE_FS_FL;
3173 if (!fa->flags_valid)
3182 err = f2fs_ioc_setproject(inode, fa->fsx_projid);
3158 f2fs_fileattr_set(struct mnt_idmap *idmap, struct dentry *dentry, struct fileattr *fa) argument
/linux-master/fs/
H A Dfcntl.c876 struct fasync_struct *fa, **fp; local
881 for (fp = fapp; (fa = *fp) != NULL; fp = &fa->fa_next) {
882 if (fa->fa_file != filp)
885 write_lock_irq(&fa->fa_lock);
886 fa->fa_file = NULL;
887 write_unlock_irq(&fa->fa_lock);
889 *fp = fa->fa_next;
890 kfree_rcu(fa, fa_rcu);
924 struct fasync_struct *fa, **f local
997 kill_fasync_rcu(struct fasync_struct *fa, int sig, int band) argument
[all...]
H A Dioctl.c459 * @fa: fileattr pointer
465 void fileattr_fill_xflags(struct fileattr *fa, u32 xflags) argument
467 memset(fa, 0, sizeof(*fa));
468 fa->fsx_valid = true;
469 fa->fsx_xflags = xflags;
470 if (fa->fsx_xflags & FS_XFLAG_IMMUTABLE)
471 fa->flags |= FS_IMMUTABLE_FL;
472 if (fa->fsx_xflags & FS_XFLAG_APPEND)
473 fa
495 fileattr_fill_flags(struct fileattr *fa, u32 flags) argument
526 vfs_fileattr_get(struct dentry *dentry, struct fileattr *fa) argument
544 copy_fsxattr_to_user(const struct fileattr *fa, struct fsxattr __user *ufa) argument
562 copy_fsxattr_from_user(struct fileattr *fa, struct fsxattr __user *ufa) argument
585 fileattr_set_prepare(struct inode *inode, const struct fileattr *old_ma, struct fileattr *fa) argument
669 vfs_fileattr_set(struct mnt_idmap *idmap, struct dentry *dentry, struct fileattr *fa) argument
707 struct fileattr fa = { .flags_valid = true }; /* hint only */ local
720 struct fileattr fa; local
738 struct fileattr fa = { .fsx_valid = true }; /* hint only */ local
752 struct fileattr fa; local
[all...]
H A Dlocks.c566 struct fasync_struct *fa = *priv; local
573 if (!fasync_insert_entry(fa->fa_fd, filp, &fl->fl_fasync, fa))
/linux-master/fs/fuse/
H A Dfuse_i.h1392 int fuse_fileattr_get(struct dentry *dentry, struct fileattr *fa);
1394 struct dentry *dentry, struct fileattr *fa);
H A Dioctl.c444 int fuse_fileattr_get(struct dentry *dentry, struct fileattr *fa) argument
456 if (fa->flags_valid) {
462 fileattr_fill_flags(fa, flags);
469 fileattr_fill_xflags(fa, xfa.fsx_xflags);
470 fa->fsx_extsize = xfa.fsx_extsize;
471 fa->fsx_nextents = xfa.fsx_nextents;
472 fa->fsx_projid = xfa.fsx_projid;
473 fa->fsx_cowextsize = xfa.fsx_cowextsize;
482 struct dentry *dentry, struct fileattr *fa)
486 unsigned int flags = fa
481 fuse_fileattr_set(struct mnt_idmap *idmap, struct dentry *dentry, struct fileattr *fa) argument
[all...]
/linux-master/fs/gfs2/
H A Dfile.c158 int gfs2_fileattr_get(struct dentry *dentry, struct fileattr *fa) argument
176 fileattr_fill_flags(fa, fsflags);
278 struct dentry *dentry, struct fileattr *fa)
281 u32 fsflags = fa->flags, gfsflags = 0;
288 if (fileattr_has_fsx(fa))
277 gfs2_fileattr_set(struct mnt_idmap *idmap, struct dentry *dentry, struct fileattr *fa) argument
H A Dinode.h111 int gfs2_fileattr_get(struct dentry *dentry, struct fileattr *fa);
113 struct dentry *dentry, struct fileattr *fa);
/linux-master/fs/hfsplus/
H A Dhfsplus_fs.h490 int hfsplus_fileattr_get(struct dentry *dentry, struct fileattr *fa);
492 struct dentry *dentry, struct fileattr *fa);
H A Dinode.c658 int hfsplus_fileattr_get(struct dentry *dentry, struct fileattr *fa) argument
671 fileattr_fill_flags(fa, flags);
677 struct dentry *dentry, struct fileattr *fa)
683 if (fileattr_has_fsx(fa))
687 if (fa->flags & ~(FS_IMMUTABLE_FL|FS_APPEND_FL|FS_NODUMP_FL))
690 if (fa->flags & FS_IMMUTABLE_FL)
693 if (fa->flags & FS_APPEND_FL)
698 if (fa->flags & FS_NODUMP_FL)
676 hfsplus_fileattr_set(struct mnt_idmap *idmap, struct dentry *dentry, struct fileattr *fa) argument
/linux-master/fs/jfs/
H A Dioctl.c60 int jfs_fileattr_get(struct dentry *dentry, struct fileattr *fa) argument
68 fileattr_fill_flags(fa, jfs_map_ext2(flags, 0));
74 struct dentry *dentry, struct fileattr *fa)
83 if (fileattr_has_fsx(fa))
86 flags = jfs_map_ext2(fa->flags, 1);
73 jfs_fileattr_set(struct mnt_idmap *idmap, struct dentry *dentry, struct fileattr *fa) argument
H A Djfs_inode.h12 extern int jfs_fileattr_get(struct dentry *dentry, struct fileattr *fa);
14 struct dentry *dentry, struct fileattr *fa);
/linux-master/fs/nilfs2/
H A Dioctl.c119 int nilfs_fileattr_get(struct dentry *dentry, struct fileattr *fa) argument
123 fileattr_fill_flags(fa, NILFS_I(inode)->i_flags & FS_FL_USER_VISIBLE);
132 struct dentry *dentry, struct fileattr *fa)
139 if (fileattr_has_fsx(fa))
142 flags = nilfs_mask_flags(inode->i_mode, fa->flags);
131 nilfs_fileattr_set(struct mnt_idmap *idmap, struct dentry *dentry, struct fileattr *fa) argument
H A Dnilfs.h246 struct dentry *dentry, struct fileattr *fa);
/linux-master/fs/ntfs3/
H A Ddir.c301 if (sbi->options->nohidden && (fname->dup.fa & FILE_ATTRIBUTE_HIDDEN))
319 dt_type = (fname->dup.fa & FILE_ATTRIBUTE_DIRECTORY) ? DT_DIR : DT_REG;
329 if ((fname->dup.fa & FILE_ATTRIBUTE_REPARSE_POINT) &&
560 if (fname->dup.fa & FILE_ATTRIBUTE_DIRECTORY)
H A Dfrecord.c3044 de_name->dup.fa = ni->std_fa;
3145 dup->fa |= FILE_ATTRIBUTE_DIRECTORY;
3150 dup->fa &= ~FILE_ATTRIBUTE_DIRECTORY;
3308 dup.fa = ni->std_fa;
3309 if (std->fa != dup.fa) {
3310 std->fa = dup.fa;
H A Dinode.c179 ni->std_fa = std5->fa;
417 if (std5->fa & FILE_ATTRIBUTE_READONLY)
478 (std5->fa & FILE_ATTRIBUTE_SYSTEM)) &&
1238 enum FILE_ATTRIBUTE fa; local
1259 fa = dir_ni->std_fa | FILE_ATTRIBUTE_DIRECTORY |
1267 fa &= ~(FILE_ATTRIBUTE_HIDDEN | FILE_ATTRIBUTE_SYSTEM);
1270 fa = FILE_ATTRIBUTE_REPARSE_POINT;
1289 * fa |= FILE_ATTRIBUTE_DIRECTORY;
1299 fa = FILE_ATTRIBUTE_SPARSE_FILE |
1303 fa
[all...]
H A Dntfs.h486 enum FILE_ATTRIBUTE fa; // 0x20: Standard DOS attributes & more. member in struct:ATTR_STD_INFO
502 enum FILE_ATTRIBUTE fa; // 0x20: Standard DOS attributes & more. member in struct:ATTR_STD_INFO5
566 enum FILE_ATTRIBUTE fa; // 0x30: Standard DOS attributes & more. member in struct:NTFS_DUP_INFO
/linux-master/fs/ocfs2/
H A Dioctl.c65 int ocfs2_fileattr_get(struct dentry *dentry, struct fileattr *fa) argument
80 fileattr_fill_flags(fa, flags & OCFS2_FL_VISIBLE);
86 struct dentry *dentry, struct fileattr *fa)
89 unsigned int flags = fa->flags;
97 if (fileattr_has_fsx(fa))
85 ocfs2_fileattr_set(struct mnt_idmap *idmap, struct dentry *dentry, struct fileattr *fa) argument
H A Dioctl.h14 int ocfs2_fileattr_get(struct dentry *dentry, struct fileattr *fa);
16 struct dentry *dentry, struct fileattr *fa);

Completed in 427 milliseconds

12345