| /linux/include/linux/ |
| H A D | posix_acl.h | 29 struct posix_acl { struct 38 static_assert(offsetof(struct posix_acl, a_entries) == sizeof(struct posix_acl_hdr), 48 static inline struct posix_acl * 49 posix_acl_dup(struct posix_acl *acl) in posix_acl_dup() 60 posix_acl_release(struct posix_acl *acl) in posix_acl_release() 69 extern void posix_acl_init(struct posix_acl *, int); 70 extern struct posix_acl *posix_acl_alloc(unsigned int count, gfp_t flags); 71 extern struct posix_acl *posix_acl_from_mode(umode_t, gfp_t); 72 extern int posix_acl_equiv_mode(const struct posix_acl *, umode_t *); 73 extern int __posix_acl_create(struct posix_acl **, gfp_t, umode_t *); [all …]
|
| H A D | nfsacl.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);
|
| /linux/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(const 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 *dacl, in v9fs_set_create_acl() 38 struct posix_acl *acl) in v9fs_set_create_acl() 42 static inline void v9fs_put_acl(struct posix_acl *dacl, in v9fs_put_acl() 43 struct posix_acl *acl) in v9fs_put_acl() [all …]
|
| H A D | acl.c | 21 static struct posix_acl *v9fs_fid_get_acl(struct p9_fid *fid, const char *name) in v9fs_fid_get_acl() 25 struct posix_acl *acl = NULL; in v9fs_fid_get_acl() 48 static struct posix_acl *v9fs_acl_get(struct dentry *dentry, const char *name) in v9fs_acl_get() 51 struct posix_acl *acl = NULL; in v9fs_acl_get() 62 static struct posix_acl *__v9fs_get_acl(struct p9_fid *fid, const char *name) in __v9fs_get_acl() 65 struct posix_acl *acl = NULL; in __v9fs_get_acl() 82 struct posix_acl *pacl, *dacl; in v9fs_get_acl() 111 static struct posix_acl *v9fs_get_cached_acl(struct inode *inode, int type) in v9fs_get_cached_acl() 113 struct posix_acl *acl; in v9fs_get_cached_acl() 123 struct posix_acl *v9fs_iop_get_inode_acl(struct inode *inode, int type, bool rcu) in v9fs_iop_get_inode_acl() [all …]
|
| /linux/fs/ |
| H A D | posix_acl.c | 34 static struct posix_acl **acl_by_type(struct inode *inode, int type) in acl_by_type() 46 struct posix_acl *get_cached_acl(struct inode *inode, int type) in get_cached_acl() 48 struct posix_acl **p = acl_by_type(inode, type); in get_cached_acl() 49 struct posix_acl *acl; in get_cached_acl() 65 struct posix_acl *get_cached_acl_rcu(struct inode *inode, int type) in get_cached_acl_rcu() 67 struct posix_acl *acl = rcu_dereference(*acl_by_type(inode, type)); in get_cached_acl_rcu() 70 struct posix_acl *ret; in get_cached_acl_rcu() 81 void set_cached_acl(struct inode *inode, int type, struct posix_acl *acl) in set_cached_acl() 83 struct posix_acl **p = acl_by_type(inode, type); in set_cached_acl() 84 struct posix_acl *old; in set_cached_acl() [all …]
|
| /linux/fs/fuse/ |
| H A D | acl.c | 12 static struct posix_acl *__fuse_get_acl(struct fuse_conn *fc, in __fuse_get_acl() 18 struct posix_acl *acl; in __fuse_get_acl() 62 return !fc->posix_acl && (i_user_ns(inode) != &init_user_ns); in fuse_no_acl() 65 struct posix_acl *fuse_get_acl(const struct mnt_idmap *idmap, in fuse_get_acl() 77 struct posix_acl *fuse_get_inode_acl(struct inode *inode, int type, bool rcu) in fuse_get_inode_acl() 88 if (!fc->posix_acl) in fuse_get_inode_acl() 94 struct posix_acl *acl, int type) in fuse_set_acl() 140 if (fc->posix_acl && in fuse_set_acl() 151 if (fc->posix_acl) { in fuse_set_acl()
|
| /linux/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 | 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 *acl, in __nfs3_proc_setacls() 162 struct posix_acl *dfacl) in __nfs3_proc_setacls() 248 int nfs3_proc_setacls(struct inode *inode, struct posix_acl *acl, in nfs3_proc_setacls() [all …]
|
| /linux/fs/f2fs/ |
| H A D | acl.c | 47 static struct posix_acl *f2fs_acl_from_disk(const char *value, size_t size) in f2fs_acl_from_disk() 51 struct posix_acl *acl; in f2fs_acl_from_disk() 129 const struct posix_acl *acl, size_t *size) in f2fs_acl_to_disk() 183 static struct posix_acl *__f2fs_get_acl(struct inode *inode, int type, in __f2fs_get_acl() 188 struct posix_acl *acl; in __f2fs_get_acl() 214 struct posix_acl *f2fs_get_acl(struct inode *inode, int type, bool rcu) in f2fs_get_acl() 224 struct posix_acl **acl) in f2fs_acl_update_mode() 245 struct posix_acl *acl, struct folio *ifolio) in __f2fs_set_acl() 293 struct posix_acl *acl, int type) in f2fs_set_acl() 307 static struct posix_acl *f2fs_acl_clone(const struct posix_acl *acl, in f2fs_acl_clone() [all …]
|
| H A D | acl.h | 36 struct posix_acl *f2fs_get_acl(struct inode *, int, bool); 38 struct posix_acl *, int);
|
| /linux/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()
|
| H A D | xfs_acl.c | 30 STATIC struct posix_acl * 38 struct posix_acl *acl; in xfs_acl_from_disk() 98 xfs_acl_to_disk(struct xfs_acl *aclp, const struct posix_acl *acl) in xfs_acl_to_disk() 128 struct posix_acl * 133 struct posix_acl *acl = NULL; in xfs_get_acl() 175 __xfs_set_acl(struct inode *inode, struct posix_acl *acl, int type) in __xfs_set_acl() 247 struct posix_acl *acl, int type) in xfs_set_acl()
|
| /linux/fs/btrfs/ |
| H A D | acl.h | 8 struct posix_acl; 17 struct posix_acl *btrfs_get_acl(struct inode *inode, int type, bool rcu); 19 struct posix_acl *acl, int type); 21 struct posix_acl *acl, int type); 32 struct inode *inode, struct posix_acl *acl, in __btrfs_set_acl()
|
| H A D | acl.c | 20 struct posix_acl *btrfs_get_acl(struct inode *inode, int type, bool rcu) in btrfs_get_acl() 25 struct posix_acl *acl; in btrfs_get_acl() 59 struct posix_acl *acl, int type) in __btrfs_set_acl() 105 struct posix_acl *acl, int type) in btrfs_set_acl()
|
| /linux/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() 106 struct posix_acl *acl, int type) in gfs2_set_acl()
|
| H A D | acl.h | 14 struct posix_acl *gfs2_get_acl(struct inode *inode, int type, bool rcu); 15 int __gfs2_set_acl(struct inode *inode, struct posix_acl *acl, int type); 17 struct posix_acl *acl, int type);
|
| /linux/fs/ocfs2/ |
| H A D | acl.h | 19 struct posix_acl *ocfs2_iop_get_acl(struct inode *inode, int type, bool rcu); 21 struct posix_acl *acl, int type); 24 struct posix_acl *default_acl; 25 struct posix_acl *acl;
|
| H A D | acl.c | 34 static struct posix_acl *ocfs2_acl_from_xattr(const void *value, size_t size) in ocfs2_acl_from_xattr() 37 struct posix_acl *acl; in ocfs2_acl_from_xattr() 78 static void *ocfs2_acl_to_xattr(const struct posix_acl *acl, size_t *size) in ocfs2_acl_to_xattr() 113 static struct posix_acl *ocfs2_get_acl_nolock(struct inode *inode, int type, in ocfs2_get_acl_nolock() 118 struct posix_acl *acl; in ocfs2_get_acl_nolock() 218 struct posix_acl *acl, in ocfs2_set_acl() 264 struct posix_acl *acl, int type) in ocfs2_iop_set_acl() 293 struct posix_acl *ocfs2_iop_get_acl(struct inode *inode, int type, bool rcu) in ocfs2_iop_get_acl() 297 struct posix_acl *acl; in ocfs2_iop_get_acl() 324 struct posix_acl *acl; in ocfs2_acl_chmod()
|
| /linux/fs/ext2/ |
| H A D | acl.c | 19 static struct posix_acl * 24 struct posix_acl *acl; in ext2_acl_from_disk() 92 ext2_acl_to_disk(const struct posix_acl *acl, size_t *size) in ext2_acl_to_disk() 143 struct posix_acl * 148 struct posix_acl *acl; in ext2_get_acl() 183 __ext2_set_acl(struct inode *inode, struct posix_acl *acl, int type) in __ext2_set_acl() 223 struct posix_acl *acl, int type) in ext2_set_acl() 255 struct posix_acl *default_acl, *acl; in ext2_init_acl()
|
| /linux/fs/jffs2/ |
| H A D | acl.c | 55 static struct posix_acl *jffs2_acl_from_medium(void *value, size_t size) in jffs2_acl_from_medium() 60 struct posix_acl *acl; in jffs2_acl_from_medium() 128 static void *jffs2_acl_to_medium(const struct posix_acl *acl, size_t *size) in jffs2_acl_to_medium() 175 struct posix_acl *jffs2_get_acl(struct inode *inode, int type, bool rcu) in jffs2_get_acl() 177 struct posix_acl *acl; in jffs2_get_acl() 212 static int __jffs2_set_acl(struct inode *inode, int xprefix, struct posix_acl *acl) in __jffs2_set_acl() 232 struct posix_acl *acl, int type) in jffs2_set_acl() 275 struct posix_acl *default_acl, *acl; in jffs2_init_acl_pre()
|
| /linux/fs/ext4/ |
| H A D | acl.c | 17 static struct posix_acl * 22 struct posix_acl *acl; in ext4_acl_from_disk() 91 ext4_acl_to_disk(const struct posix_acl *acl, size_t *size) in ext4_acl_to_disk() 144 struct posix_acl * 149 struct posix_acl *acl; in ext4_get_acl() 190 struct posix_acl *acl, int xattr_flags) in __ext4_set_acl() 229 struct posix_acl *acl, int type) in ext4_set_acl() 281 struct posix_acl *default_acl, *acl; in ext4_init_acl()
|
| /linux/fs/jfs/ |
| H A D | acl.c | 17 struct posix_acl *jfs_get_acl(struct inode *inode, int type, bool rcu) in jfs_get_acl() 19 struct posix_acl *acl; in jfs_get_acl() 60 struct posix_acl *acl) in __jfs_set_acl() 93 struct posix_acl *acl, int type) in jfs_set_acl() 127 struct posix_acl *default_acl, *acl; in jfs_init_acl()
|
| H A D | jfs_acl.h | 10 struct posix_acl *jfs_get_acl(struct inode *inode, int type, bool rcu); 12 struct posix_acl *acl, int type);
|
| /linux/fs/orangefs/ |
| H A D | acl.c | 13 struct posix_acl *orangefs_get_acl(struct inode *inode, int type, bool rcu) in orangefs_get_acl() 15 struct posix_acl *acl; in orangefs_get_acl() 67 int __orangefs_set_acl(struct inode *inode, struct posix_acl *acl, int type) in __orangefs_set_acl() 116 struct posix_acl *acl, int type) in orangefs_set_acl()
|
| /linux/fs/ceph/ |
| H A D | acl.c | 21 int type, struct posix_acl *acl) in ceph_set_cached_acl() 33 struct posix_acl *ceph_get_acl(struct inode *inode, int type, bool rcu) in ceph_get_acl() 40 struct posix_acl *acl; in ceph_get_acl() 91 struct posix_acl *acl, int type) in ceph_set_acl() 168 struct posix_acl *acl, *default_acl; in ceph_pre_init_acls()
|