Home
last modified time | relevance | path

Searched refs:posix_acl (Results 1 – 25 of 86) sorted by relevance

1234

/linux-6.15/include/linux/
H A Dposix_acl.h29 struct posix_acl { struct
48 static inline struct posix_acl *
49 posix_acl_dup(struct posix_acl *acl) in posix_acl_dup()
78 struct posix_acl *);
81 struct posix_acl *posix_acl_clone(const struct posix_acl *acl, gfp_t flags);
86 struct posix_acl **);
88 struct posix_acl **);
91 struct posix_acl *, int);
100 const struct posix_acl *, int);
134 struct posix_acl **default_acl, struct posix_acl **acl) in posix_acl_create()
[all …]
H A Dnfsacl.h26 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);
H A Dposix_acl_xattr.h36 struct posix_acl *posix_acl_from_xattr(struct user_namespace *user_ns,
39 static inline struct posix_acl *
48 const struct posix_acl *acl, void *buffer, size_t size);
/linux-6.15/fs/9p/
H A Dacl.h13 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 *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()
47 struct posix_acl **dpacl, in v9fs_acl_mode()
[all …]
H A Dacl.c24 struct posix_acl *acl = NULL; in v9fs_fid_get_acl()
50 struct posix_acl *acl = NULL; in v9fs_acl_get()
64 struct posix_acl *acl = NULL; in __v9fs_get_acl()
81 struct posix_acl *pacl, *dacl; in v9fs_get_acl()
112 struct posix_acl *acl; in v9fs_get_cached_acl()
207 struct posix_acl *acl_mode = acl; in v9fs_iop_set_acl()
285 struct posix_acl *acl; in v9fs_acl_chmod()
302 struct posix_acl *dacl, struct posix_acl *acl) in v9fs_set_create_acl()
312 struct posix_acl *acl) in v9fs_put_acl()
319 struct posix_acl **dpacl, struct posix_acl **pacl) in v9fs_acl_mode()
[all …]
/linux-6.15/fs/
H A Dposix_acl.c49 struct posix_acl *acl; in get_cached_acl()
70 struct posix_acl *ret; in get_cached_acl_rcu()
84 struct posix_acl *old; in set_cached_acl()
94 struct posix_acl *old; in __forget_cached_acl()
119 struct posix_acl **p; in __get_acl()
120 struct posix_acl *acl; in __get_acl()
202 struct posix_acl *
217 struct posix_acl *
350 struct posix_acl *
634 struct posix_acl **default_acl, struct posix_acl **acl) in posix_acl_create()
[all …]
/linux-6.15/fs/bcachefs/
H A Dacl.h8 struct posix_acl;
31 struct posix_acl *bch2_get_acl(struct inode *, int, bool);
35 struct posix_acl *, int);
36 int bch2_set_acl(struct mnt_idmap *, struct dentry *, struct posix_acl *, int);
39 umode_t, struct posix_acl **);
45 struct posix_acl *acl, int type) in bch2_set_acl_trans()
53 struct posix_acl **new_acl) in bch2_acl_chmod()
H A Dacl.c91 static struct posix_acl *bch2_acl_from_disk(struct btree_trans *trans, in bch2_acl_from_disk()
95 struct posix_acl *acl; in bch2_acl_from_disk()
192 const struct posix_acl *acl, in bch2_acl_to_xattr()
270 struct posix_acl *bch2_get_acl(struct inode *vinode, int type, bool rcu) in bch2_get_acl()
277 struct posix_acl *acl = NULL; in bch2_get_acl()
313 struct posix_acl *acl, int type) in bch2_set_acl_trans()
343 struct posix_acl *_acl, int type) in bch2_set_acl()
349 struct posix_acl *acl; in bch2_set_acl()
404 struct posix_acl **new_acl) in bch2_acl_chmod()
409 struct posix_acl *acl = NULL; in bch2_acl_chmod()
/linux-6.15/fs/nfs/
H A Dnfs3_fs.h14 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 Dnfs3acl.c20 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()
162 struct posix_acl *dfacl) in __nfs3_proc_setacls()
249 struct posix_acl *dfacl) in nfs3_proc_setacls()
258 struct posix_acl *acl, int type) in nfs3_set_acl()
260 struct posix_acl *orig = acl, *dfacl = NULL, *alloc; in nfs3_set_acl()
[all …]
/linux-6.15/fs/fuse/
H A Dacl.c14 static struct posix_acl *__fuse_get_acl(struct fuse_conn *fc, in __fuse_get_acl()
20 struct posix_acl *acl; in __fuse_get_acl()
64 return !fc->posix_acl && (i_user_ns(inode) != &init_user_ns); in fuse_no_acl()
67 struct posix_acl *fuse_get_acl(struct mnt_idmap *idmap, in fuse_get_acl()
79 struct posix_acl *fuse_get_inode_acl(struct inode *inode, int type, bool rcu) in fuse_get_inode_acl()
90 if (!fc->posix_acl) in fuse_get_inode_acl()
96 struct posix_acl *acl, int type) in fuse_set_acl()
146 if (fc->posix_acl && in fuse_set_acl()
157 if (fc->posix_acl) { in fuse_set_acl()
/linux-6.15/fs/f2fs/
H A Dacl.c49 struct posix_acl *acl; in f2fs_acl_from_disk()
114 const struct posix_acl *acl, size_t *size) in f2fs_acl_to_disk()
173 struct posix_acl *acl; in __f2fs_get_acl()
209 struct posix_acl **acl) in f2fs_acl_update_mode()
230 struct posix_acl *acl, struct page *ipage) in __f2fs_set_acl()
279 struct posix_acl *acl, int type) in f2fs_set_acl()
293 static struct posix_acl *f2fs_acl_clone(const struct posix_acl *acl, in f2fs_acl_clone()
296 struct posix_acl *clone = NULL; in f2fs_acl_clone()
362 struct posix_acl **default_acl, struct posix_acl **acl, in f2fs_acl_create()
365 struct posix_acl *p; in f2fs_acl_create()
[all …]
/linux-6.15/fs/xfs/
H A Dxfs_acl.h10 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 Dxfs_acl.c30 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-6.15/fs/btrfs/
H A Dacl.h8 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 Dacl.c18 struct posix_acl *btrfs_get_acl(struct inode *inode, int type, bool rcu) in btrfs_get_acl()
23 struct posix_acl *acl; in btrfs_get_acl()
58 struct posix_acl *acl, int type) in __btrfs_set_acl()
113 struct posix_acl *acl, int type) in btrfs_set_acl()
/linux-6.15/fs/nfs_common/
H A Dnfsacl.c38 struct posix_acl *acl;
94 struct posix_acl *acl, int encode_entries, int typeflag) in nfsacl_encode()
115 struct posix_acl *acl2 = in nfsacl_encode()
116 container_of(&aclbuf.acl, struct posix_acl, hdr); in nfsacl_encode()
155 struct posix_acl *acl, int encode_entries, in nfs_stream_encode_acl()
181 struct posix_acl *acl2 = in nfs_stream_encode_acl()
182 container_of(&aclbuf.acl, struct posix_acl, hdr); in nfs_stream_encode_acl()
216 struct posix_acl *acl;
293 posix_acl_from_nfsacl(struct posix_acl *acl) in posix_acl_from_nfsacl()
340 struct posix_acl **pacl) in nfsacl_decode()
[all …]
/linux-6.15/fs/gfs2/
H A Dacl.c40 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()
H A Dacl.h14 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-6.15/fs/ext2/
H A Dacl.c19 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-6.15/fs/ocfs2/
H A Dacl.c33 static struct posix_acl *ocfs2_acl_from_xattr(const void *value, size_t size) in ocfs2_acl_from_xattr()
36 struct posix_acl *acl; in ocfs2_acl_from_xattr()
77 static void *ocfs2_acl_to_xattr(const struct posix_acl *acl, size_t *size) in ocfs2_acl_to_xattr()
112 static struct posix_acl *ocfs2_get_acl_nolock(struct inode *inode, 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()
[all …]
/linux-6.15/fs/ext4/
H A Dacl.c17 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-6.15/fs/jffs2/
H A Dacl.c55 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()
176 struct posix_acl *jffs2_get_acl(struct inode *inode, int type, bool rcu) in jffs2_get_acl()
178 struct posix_acl *acl; in jffs2_get_acl()
213 static int __jffs2_set_acl(struct inode *inode, int xprefix, struct posix_acl *acl) in __jffs2_set_acl()
233 struct posix_acl *acl, int type) in jffs2_set_acl()
276 struct posix_acl *default_acl, *acl; in jffs2_init_acl_pre()
/linux-6.15/fs/jfs/
H A Dacl.c17 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()
98 struct posix_acl *acl, int type) in jfs_set_acl()
132 struct posix_acl *default_acl, *acl; in jfs_init_acl()
/linux-6.15/fs/orangefs/
H A Dacl.c13 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()
122 struct posix_acl *acl, int type) in orangefs_set_acl()

1234