/kernel/linux/linux-6.6/include/linux/ |
H A D | posix_acl.h | 3 File: linux/posix_acl.h 16 #include <uapi/linux/posix_acl.h> 29 struct posix_acl { struct 43 static inline struct posix_acl * 44 posix_acl_dup(struct posix_acl *acl) in posix_acl_dup() 55 posix_acl_release(struct posix_acl *acl) in posix_acl_release() 62 /* posix_acl.c */ 64 extern void posix_acl_init(struct posix_acl *, int); 65 extern struct posix_acl *posix_acl_alloc(int, gfp_t); 66 extern struct posix_acl *posix_acl_from_mod [all...] |
H A D | nfsacl.h | 11 #include <linux/posix_acl.h> 26 nfsacl_size(struct posix_acl *acl_access, struct posix_acl *acl_default) in nfsacl_size() 37 struct posix_acl *acl, int encode_entries, int typeflag); 40 struct posix_acl **pacl); 43 struct posix_acl **pacl); 46 struct posix_acl *acl, int encode_entries, int typeflag);
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | posix_acl.h | 3 File: linux/posix_acl.h 16 #include <uapi/linux/posix_acl.h> 27 struct posix_acl { struct 41 static inline struct posix_acl * 42 posix_acl_dup(struct posix_acl *acl) in posix_acl_dup() 53 posix_acl_release(struct posix_acl *acl) in posix_acl_release() 60 /* posix_acl.c */ 62 extern void posix_acl_init(struct posix_acl *, int); 63 extern struct posix_acl *posix_acl_alloc(int, gfp_t); 64 extern int posix_acl_valid(struct user_namespace *, const struct posix_acl *); [all...] |
H A D | nfsacl.h | 11 #include <linux/posix_acl.h> 26 nfsacl_size(struct posix_acl *acl_access, struct posix_acl *acl_default) in nfsacl_size() 37 struct posix_acl *acl, int encode_entries, int typeflag); 40 struct posix_acl **pacl);
|
/kernel/linux/linux-6.6/fs/9p/ |
H A D | acl.h | 11 struct posix_acl *v9fs_iop_get_inode_acl(struct inode *inode, int type, 13 struct posix_acl *v9fs_iop_get_acl(struct mnt_idmap *idmap, 16 struct posix_acl *acl, int type); 19 struct posix_acl *dacl, struct posix_acl *acl); 21 struct posix_acl **dpacl, struct posix_acl **pacl); 22 void v9fs_put_acl(struct posix_acl *dacl, struct posix_acl *acl); 37 struct posix_acl *dac in v9fs_set_create_acl() [all...] |
H A D | acl.c | 20 static struct posix_acl *v9fs_fid_get_acl(struct p9_fid *fid, const char *name) in v9fs_fid_get_acl() 24 struct posix_acl *acl = NULL; in v9fs_fid_get_acl() 47 static struct posix_acl *v9fs_acl_get(struct dentry *dentry, const char *name) in v9fs_acl_get() 50 struct posix_acl *acl = NULL; in v9fs_acl_get() 61 static struct posix_acl *__v9fs_get_acl(struct p9_fid *fid, const char *name) in __v9fs_get_acl() 64 struct posix_acl *acl = NULL; in __v9fs_get_acl() 81 struct posix_acl *pacl, *dacl; in v9fs_get_acl() 110 static struct posix_acl *v9fs_get_cached_acl(struct inode *inode, int type) in v9fs_get_cached_acl() 112 struct posix_acl *acl; in v9fs_get_cached_acl() 122 struct posix_acl *v9fs_iop_get_inode_ac [all...] |
/kernel/linux/linux-5.10/fs/9p/ |
H A D | acl.h | 19 extern struct posix_acl *v9fs_iop_get_acl(struct inode *inode, int type); 22 struct posix_acl *, struct posix_acl *); 24 struct posix_acl **dpacl, struct posix_acl **pacl); 25 extern void v9fs_put_acl(struct posix_acl *dacl, struct posix_acl *acl); 38 struct posix_acl *dacl, in v9fs_set_create_acl() 39 struct posix_acl *acl) in v9fs_set_create_acl() 43 static inline void v9fs_put_acl(struct posix_acl *dac in v9fs_set_create_acl() [all...] |
H A D | acl.c | 28 static struct posix_acl *__v9fs_get_acl(struct p9_fid *fid, char *name) in __v9fs_get_acl() 32 struct posix_acl *acl = NULL; in __v9fs_get_acl() 59 struct posix_acl *pacl, *dacl; in v9fs_get_acl() 88 static struct posix_acl *v9fs_get_cached_acl(struct inode *inode, int type) in v9fs_get_cached_acl() 90 struct posix_acl *acl; in v9fs_get_cached_acl() 100 struct posix_acl *v9fs_iop_get_acl(struct inode *inode, int type) in v9fs_iop_get_acl() 117 static int v9fs_set_acl(struct p9_fid *fid, int type, struct posix_acl *acl) in v9fs_set_acl() 153 struct posix_acl *acl; in v9fs_acl_chmod() 170 struct posix_acl *dacl, struct posix_acl *ac in v9fs_set_create_acl() [all...] |
/kernel/linux/linux-6.6/fs/ |
H A D | posix_acl.c | 20 #include <linux/posix_acl.h> 35 static struct posix_acl **acl_by_type(struct inode *inode, int type) in acl_by_type() 47 struct posix_acl *get_cached_acl(struct inode *inode, int type) in get_cached_acl() 49 struct posix_acl **p = acl_by_type(inode, type); in get_cached_acl() 50 struct posix_acl *acl; in get_cached_acl() 66 struct posix_acl *get_cached_acl_rcu(struct inode *inode, int type) in get_cached_acl_rcu() 68 struct posix_acl *acl = rcu_dereference(*acl_by_type(inode, type)); in get_cached_acl_rcu() 71 struct posix_acl *ret; in get_cached_acl_rcu() 82 void set_cached_acl(struct inode *inode, int type, struct posix_acl *acl) in set_cached_acl() 84 struct posix_acl ** in set_cached_acl() [all...] |
/kernel/linux/linux-5.10/fs/ |
H A D | posix_acl.c | 20 #include <linux/posix_acl.h> 26 static struct posix_acl **acl_by_type(struct inode *inode, int type) in acl_by_type() 38 struct posix_acl *get_cached_acl(struct inode *inode, int type) in get_cached_acl() 40 struct posix_acl **p = acl_by_type(inode, type); in get_cached_acl() 41 struct posix_acl *acl; in get_cached_acl() 57 struct posix_acl *get_cached_acl_rcu(struct inode *inode, int type) in get_cached_acl_rcu() 63 void set_cached_acl(struct inode *inode, int type, struct posix_acl *acl) in set_cached_acl() 65 struct posix_acl **p = acl_by_type(inode, type); in set_cached_acl() 66 struct posix_acl *old; in set_cached_acl() 74 static void __forget_cached_acl(struct posix_acl ** [all...] |
/kernel/linux/linux-5.10/fs/f2fs/ |
H A D | acl.c | 45 static struct posix_acl *f2fs_acl_from_disk(const char *value, size_t size) in f2fs_acl_from_disk() 48 struct posix_acl *acl; in f2fs_acl_from_disk() 113 const struct posix_acl *acl, size_t *size) in f2fs_acl_to_disk() 167 static struct posix_acl *__f2fs_get_acl(struct inode *inode, int type, in __f2fs_get_acl() 172 struct posix_acl *acl; in __f2fs_get_acl() 198 struct posix_acl *f2fs_get_acl(struct inode *inode, int type) in f2fs_get_acl() 204 struct posix_acl *acl, struct page *ipage) in __f2fs_set_acl() 251 int f2fs_set_acl(struct inode *inode, struct posix_acl *acl, int type) in f2fs_set_acl() 261 * are copied from posix_acl.c 263 static struct posix_acl *f2fs_acl_clon [all...] |
/kernel/linux/linux-6.6/fs/fuse/ |
H A D | acl.c | 11 #include <linux/posix_acl.h> 14 static struct posix_acl *__fuse_get_acl(struct fuse_conn *fc, in __fuse_get_acl() 21 struct posix_acl *acl; in __fuse_get_acl() 65 return !fc->posix_acl && (i_user_ns(inode) != &init_user_ns); in fuse_no_acl() 68 struct posix_acl *fuse_get_acl(struct mnt_idmap *idmap, in fuse_get_acl() 80 struct posix_acl *fuse_get_inode_acl(struct inode *inode, int type, bool rcu) in fuse_get_inode_acl() 91 if (!fc->posix_acl) in fuse_get_inode_acl() 98 struct posix_acl *acl, int type) in fuse_set_acl() 148 if (fc->posix_acl && in fuse_set_acl() 159 if (fc->posix_acl) { in fuse_set_acl() [all...] |
/kernel/linux/linux-5.10/fs/nfs/ |
H A D | nfs3_fs.h | 14 extern struct posix_acl *nfs3_get_acl(struct inode *inode, int type); 15 extern int nfs3_set_acl(struct inode *inode, struct posix_acl *acl, int type); 16 extern int nfs3_proc_setacls(struct inode *inode, struct posix_acl *acl, 17 struct posix_acl *dfacl); 21 static inline int nfs3_proc_setacls(struct inode *inode, struct posix_acl *acl, in nfs3_proc_setacls() 22 struct posix_acl *dfacl) in nfs3_proc_setacls()
|
H A D | nfs3acl.c | 17 * caching get_acl results in a race-free way. See fs/posix_acl.c:get_acl() 20 static void nfs3_prepare_get_acl(struct posix_acl **p) in nfs3_prepare_get_acl() 22 struct posix_acl *sentinel = uncached_acl_sentinel(current); in nfs3_prepare_get_acl() 29 static void nfs3_complete_get_acl(struct posix_acl **p, struct posix_acl *acl) in nfs3_complete_get_acl() 31 struct posix_acl *sentinel = uncached_acl_sentinel(current); in nfs3_complete_get_acl() 39 static void nfs3_abort_get_acl(struct posix_acl **p) in nfs3_abort_get_acl() 41 struct posix_acl *sentinel = uncached_acl_sentinel(current); in nfs3_abort_get_acl() 47 struct posix_acl *nfs3_get_acl(struct inode *inode, int type) in nfs3_get_acl() 158 static int __nfs3_proc_setacls(struct inode *inode, struct posix_acl *ac [all...] |
/kernel/linux/linux-6.6/fs/nfs/ |
H A D | nfs3_fs.h | 14 extern struct posix_acl *nfs3_get_acl(struct inode *inode, int type, bool rcu); 16 struct posix_acl *acl, int type); 17 extern int nfs3_proc_setacls(struct inode *inode, struct posix_acl *acl, 18 struct posix_acl *dfacl); 21 static inline int nfs3_proc_setacls(struct inode *inode, struct posix_acl *acl, in nfs3_proc_setacls() 22 struct posix_acl *dfacl) in nfs3_proc_setacls()
|
H A D | nfs3acl.c | 17 * caching get_acl results in a race-free way. See fs/posix_acl.c:get_acl() 20 static void nfs3_prepare_get_acl(struct posix_acl **p) in nfs3_prepare_get_acl() 22 struct posix_acl *sentinel = uncached_acl_sentinel(current); in nfs3_prepare_get_acl() 28 static void nfs3_complete_get_acl(struct posix_acl **p, struct posix_acl *acl) in nfs3_complete_get_acl() 30 struct posix_acl *sentinel = uncached_acl_sentinel(current); in nfs3_complete_get_acl() 38 static void nfs3_abort_get_acl(struct posix_acl **p) in nfs3_abort_get_acl() 40 struct posix_acl *sentinel = uncached_acl_sentinel(current); in nfs3_abort_get_acl() 46 struct posix_acl *nfs3_get_acl(struct inode *inode, int type, bool rcu) in nfs3_get_acl() 161 static int __nfs3_proc_setacls(struct inode *inode, struct posix_acl *ac [all...] |
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_acl.h | 10 struct posix_acl; 13 extern struct posix_acl *xfs_get_acl(struct inode *inode, int type); 14 extern int xfs_set_acl(struct inode *inode, struct posix_acl *acl, int type); 15 extern int __xfs_set_acl(struct inode *inode, struct posix_acl *acl, int type); 18 static inline struct posix_acl *xfs_get_acl(struct inode *inode, int type) in xfs_get_acl()
|
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_acl.h | 10 struct posix_acl; 13 extern struct posix_acl *xfs_get_acl(struct inode *inode, int type, bool rcu); 15 struct posix_acl *acl, int type); 16 extern int __xfs_set_acl(struct inode *inode, struct posix_acl *acl, int type); 21 static inline int __xfs_set_acl(struct inode *inode, struct posix_acl *acl, in __xfs_set_acl()
|
/kernel/linux/linux-6.6/fs/f2fs/ |
H A D | acl.c | 46 static struct posix_acl *f2fs_acl_from_disk(const char *value, size_t size) in f2fs_acl_from_disk() 49 struct posix_acl *acl; in f2fs_acl_from_disk() 114 const struct posix_acl *acl, size_t *size) in f2fs_acl_to_disk() 168 static struct posix_acl *__f2fs_get_acl(struct inode *inode, int type, in __f2fs_get_acl() 173 struct posix_acl *acl; in __f2fs_get_acl() 199 struct posix_acl *f2fs_get_acl(struct inode *inode, int type, bool rcu) in f2fs_get_acl() 209 struct posix_acl **acl) in f2fs_acl_update_mode() 231 struct posix_acl *acl, struct page *ipage) in __f2fs_set_acl() 280 struct posix_acl *acl, int type) in f2fs_set_acl() 292 * are copied from posix_acl [all...] |
/kernel/linux/linux-5.10/fs/fuse/ |
H A D | acl.c | 11 #include <linux/posix_acl.h> 14 struct posix_acl *fuse_get_acl(struct inode *inode, int type) in fuse_get_acl() 20 struct posix_acl *acl; in fuse_get_acl() 25 if (!fc->posix_acl || fc->no_getxattr) in fuse_get_acl() 53 int fuse_set_acl(struct inode *inode, struct posix_acl *acl, int type) in fuse_set_acl() 62 if (!fc->posix_acl || fc->no_setxattr) in fuse_set_acl()
|
/kernel/linux/linux-5.10/fs/gfs2/ |
H A D | acl.c | 13 #include <linux/posix_acl.h> 40 static struct posix_acl *__gfs2_get_acl(struct inode *inode, int type) in __gfs2_get_acl() 43 struct posix_acl *acl; in __gfs2_get_acl() 60 struct posix_acl *gfs2_get_acl(struct inode *inode, int type) in gfs2_get_acl() 65 struct posix_acl *acl; in gfs2_get_acl() 80 int __gfs2_set_acl(struct inode *inode, struct posix_acl *acl, int type) in __gfs2_set_acl() 109 int gfs2_set_acl(struct inode *inode, struct posix_acl *acl, int type) in gfs2_set_acl()
|
/kernel/linux/linux-6.6/fs/gfs2/ |
H A D | acl.c | 13 #include <linux/posix_acl.h> 40 static struct posix_acl *__gfs2_get_acl(struct inode *inode, int type) in __gfs2_get_acl() 43 struct posix_acl *acl; in __gfs2_get_acl() 60 struct posix_acl *gfs2_get_acl(struct inode *inode, int type, bool rcu) in gfs2_get_acl() 65 struct posix_acl *acl; in gfs2_get_acl() 83 int __gfs2_set_acl(struct inode *inode, struct posix_acl *acl, int type) in __gfs2_set_acl() 113 struct posix_acl *acl, int type) in gfs2_set_acl()
|
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | acl.h | 8 struct posix_acl *btrfs_get_acl(struct inode *inode, int type, bool rcu); 10 struct posix_acl *acl, int type); 12 struct posix_acl *acl, int type); 19 struct inode *inode, struct posix_acl *acl, in __btrfs_set_acl()
|
/kernel/linux/linux-5.10/fs/reiserfs/ |
H A D | xattr_acl.c | 4 #include <linux/posix_acl.h> 17 struct posix_acl *acl); 21 reiserfs_set_acl(struct inode *inode, struct posix_acl *acl, int type) in reiserfs_set_acl() 65 static struct posix_acl *reiserfs_posix_acl_from_disk(const void *value, size_t size) in reiserfs_posix_acl_from_disk() 69 struct posix_acl *acl; in reiserfs_posix_acl_from_disk() 135 static void *reiserfs_posix_acl_to_disk(const struct posix_acl *acl, size_t * size) in reiserfs_posix_acl_to_disk() 191 struct posix_acl *reiserfs_get_acl(struct inode *inode, int type) in reiserfs_get_acl() 194 struct posix_acl *acl; in reiserfs_get_acl() 245 int type, struct posix_acl *acl) in __reiserfs_set_acl() 304 struct posix_acl *default_ac in reiserfs_inherit_default_acl() [all...] |
/kernel/linux/linux-6.6/fs/reiserfs/ |
H A D | xattr_acl.c | 4 #include <linux/posix_acl.h> 17 struct posix_acl *acl); 22 struct posix_acl *acl, int type) in reiserfs_set_acl() 68 static struct posix_acl *reiserfs_posix_acl_from_disk(const void *value, size_t size) in reiserfs_posix_acl_from_disk() 72 struct posix_acl *acl; in reiserfs_posix_acl_from_disk() 138 static void *reiserfs_posix_acl_to_disk(const struct posix_acl *acl, size_t * size) in reiserfs_posix_acl_to_disk() 194 struct posix_acl *reiserfs_get_acl(struct inode *inode, int type, bool rcu) in reiserfs_get_acl() 197 struct posix_acl *acl; in reiserfs_get_acl() 251 int type, struct posix_acl *acl) in __reiserfs_set_acl() 310 struct posix_acl *default_ac in reiserfs_inherit_default_acl() [all...] |