Home
last modified time | relevance | path

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

123

/fs/9p/
Dacl.h19 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 *dacl, in v9fs_put_acl()
44 struct posix_acl *acl) in v9fs_put_acl()
48 struct posix_acl **dpacl, in v9fs_acl_mode()
49 struct posix_acl **pacl) in v9fs_acl_mode()
Dacl.c28 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 *acl) in v9fs_set_create_acl()
179 void v9fs_put_acl(struct posix_acl *dacl, in v9fs_put_acl()
[all …]
/fs/
Dposix_acl.c24 static struct posix_acl **acl_by_type(struct inode *inode, int type) in acl_by_type()
36 struct posix_acl *get_cached_acl(struct inode *inode, int type) in get_cached_acl()
38 struct posix_acl **p = acl_by_type(inode, type); in get_cached_acl()
39 struct posix_acl *acl; in get_cached_acl()
55 struct posix_acl *get_cached_acl_rcu(struct inode *inode, int type) in get_cached_acl_rcu()
61 void set_cached_acl(struct inode *inode, int type, struct posix_acl *acl) in set_cached_acl()
63 struct posix_acl **p = acl_by_type(inode, type); in set_cached_acl()
64 struct posix_acl *old; in set_cached_acl()
72 static void __forget_cached_acl(struct posix_acl **p) in __forget_cached_acl()
74 struct posix_acl *old; in __forget_cached_acl()
[all …]
/fs/f2fs/
Dacl.c48 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()
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()
263 static struct posix_acl *f2fs_acl_clone(const struct posix_acl *acl, in f2fs_acl_clone()
266 struct posix_acl *clone = NULL; in f2fs_acl_clone()
[all …]
/fs/nfs/
Dnfs3acl.c19 static void nfs3_prepare_get_acl(struct posix_acl **p) in nfs3_prepare_get_acl()
21 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) in nfs3_get_acl()
156 static int __nfs3_proc_setacls(struct inode *inode, struct posix_acl *acl, in __nfs3_proc_setacls()
157 struct posix_acl *dfacl) in __nfs3_proc_setacls()
244 int nfs3_proc_setacls(struct inode *inode, struct posix_acl *acl, in nfs3_proc_setacls()
[all …]
Dnfs3_fs.h13 extern struct posix_acl *nfs3_get_acl(struct inode *inode, int type);
14 extern int nfs3_set_acl(struct inode *inode, struct posix_acl *acl, int type);
15 extern int nfs3_proc_setacls(struct inode *inode, struct posix_acl *acl,
16 struct posix_acl *dfacl);
20 static inline int nfs3_proc_setacls(struct inode *inode, struct posix_acl *acl, in nfs3_proc_setacls()
21 struct posix_acl *dfacl) in nfs3_proc_setacls()
/fs/xfs/
Dxfs_acl.h22 struct posix_acl;
25 extern struct posix_acl *xfs_get_acl(struct inode *inode, int type);
26 extern int xfs_set_acl(struct inode *inode, struct posix_acl *acl, int type);
27 extern int __xfs_set_acl(struct inode *inode, struct posix_acl *acl, int type);
29 static inline struct posix_acl *xfs_get_acl(struct inode *inode, int type) in xfs_get_acl()
Dxfs_acl.c38 STATIC struct posix_acl *
45 struct posix_acl *acl; in xfs_acl_from_disk()
96 xfs_acl_to_disk(struct xfs_acl *aclp, const struct posix_acl *acl) in xfs_acl_to_disk()
124 struct posix_acl *
128 struct posix_acl *acl = NULL; in xfs_get_acl()
174 __xfs_set_acl(struct inode *inode, struct posix_acl *acl, int type) in __xfs_set_acl()
248 xfs_set_acl(struct inode *inode, struct posix_acl *acl, int type) in xfs_set_acl()
/fs/reiserfs/
Dxattr_acl.c16 struct posix_acl *acl);
20 reiserfs_set_acl(struct inode *inode, struct posix_acl *acl, int type) in reiserfs_set_acl()
61 static struct posix_acl *reiserfs_posix_acl_from_disk(const void *value, size_t size) in reiserfs_posix_acl_from_disk()
65 struct posix_acl *acl; in reiserfs_posix_acl_from_disk()
131 static void *reiserfs_posix_acl_to_disk(const struct posix_acl *acl, size_t * size) in reiserfs_posix_acl_to_disk()
187 struct posix_acl *reiserfs_get_acl(struct inode *inode, int type) in reiserfs_get_acl()
190 struct posix_acl *acl; in reiserfs_get_acl()
241 int type, struct posix_acl *acl) in __reiserfs_set_acl()
300 struct posix_acl *default_acl, *acl; in reiserfs_inherit_default_acl()
361 struct posix_acl *acl; in reiserfs_cache_default_acl()
/fs/ocfs2/
Dacl.c43 static struct posix_acl *ocfs2_acl_from_xattr(const void *value, size_t size) in ocfs2_acl_from_xattr()
46 struct posix_acl *acl; in ocfs2_acl_from_xattr()
87 static void *ocfs2_acl_to_xattr(const struct posix_acl *acl, size_t *size) in ocfs2_acl_to_xattr()
122 static struct posix_acl *ocfs2_get_acl_nolock(struct inode *inode, in ocfs2_get_acl_nolock()
128 struct posix_acl *acl; in ocfs2_get_acl_nolock()
228 struct posix_acl *acl, in ocfs2_set_acl()
283 int ocfs2_iop_set_acl(struct inode *inode, struct posix_acl *acl, int type) in ocfs2_iop_set_acl()
300 struct posix_acl *ocfs2_iop_get_acl(struct inode *inode, int type) in ocfs2_iop_get_acl()
304 struct posix_acl *acl; in ocfs2_iop_get_acl()
327 struct posix_acl *acl; in ocfs2_acl_chmod()
[all …]
Dacl.h29 struct posix_acl *ocfs2_iop_get_acl(struct inode *inode, int type);
30 int ocfs2_iop_set_acl(struct inode *inode, struct posix_acl *acl, int type);
35 struct posix_acl *acl,
/fs/gfs2/
Dacl.c42 static struct posix_acl *__gfs2_get_acl(struct inode *inode, int type) in __gfs2_get_acl()
45 struct posix_acl *acl; in __gfs2_get_acl()
62 struct posix_acl *gfs2_get_acl(struct inode *inode, int type) in gfs2_get_acl()
67 struct posix_acl *acl; in gfs2_get_acl()
82 int __gfs2_set_acl(struct inode *inode, struct posix_acl *acl, int type) in __gfs2_set_acl()
126 int gfs2_set_acl(struct inode *inode, struct posix_acl *acl, int type) in gfs2_set_acl()
Dacl.h17 extern struct posix_acl *gfs2_get_acl(struct inode *inode, int type);
18 extern int __gfs2_set_acl(struct inode *inode, struct posix_acl *acl, int type);
19 extern int gfs2_set_acl(struct inode *inode, struct posix_acl *acl, int type);
/fs/ext2/
Dacl.c18 static struct posix_acl *
23 struct posix_acl *acl; in ext2_acl_from_disk()
91 ext2_acl_to_disk(const struct posix_acl *acl, size_t *size) in ext2_acl_to_disk()
142 struct posix_acl *
147 struct posix_acl *acl; in ext2_get_acl()
179 __ext2_set_acl(struct inode *inode, struct posix_acl *acl, int type) in __ext2_set_acl()
218 ext2_set_acl(struct inode *inode, struct posix_acl *acl, int type) in ext2_set_acl()
241 struct posix_acl *default_acl, *acl; in ext2_init_acl()
/fs/ext4/
Dacl.c15 static struct posix_acl *
20 struct posix_acl *acl; in ext4_acl_from_disk()
89 ext4_acl_to_disk(const struct posix_acl *acl, size_t *size) in ext4_acl_to_disk()
142 struct posix_acl *
147 struct posix_acl *acl; in ext4_get_acl()
185 struct posix_acl *acl) in __ext4_set_acl()
223 ext4_set_acl(struct inode *inode, struct posix_acl *acl, int type) in ext4_set_acl()
265 struct posix_acl *default_acl, *acl; in ext4_init_acl()
/fs/fuse/
Dacl.c14 struct posix_acl *fuse_get_acl(struct inode *inode, int type) in fuse_get_acl()
20 struct posix_acl *acl; in fuse_get_acl()
22 if (!fc->posix_acl || fc->no_getxattr) in fuse_get_acl()
50 int fuse_set_acl(struct inode *inode, struct posix_acl *acl, int type) in fuse_set_acl()
56 if (!fc->posix_acl || fc->no_setxattr) in fuse_set_acl()
/fs/jffs2/
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()
175 struct posix_acl *jffs2_get_acl(struct inode *inode, int type) in jffs2_get_acl()
177 struct posix_acl *acl; in jffs2_get_acl()
209 static int __jffs2_set_acl(struct inode *inode, int xprefix, struct posix_acl *acl) in __jffs2_set_acl()
228 int jffs2_set_acl(struct inode *inode, struct posix_acl *acl, int type) in jffs2_set_acl()
269 struct posix_acl *default_acl, *acl; in jffs2_init_acl_pre()
/fs/btrfs/
Dacl.c31 struct posix_acl *btrfs_get_acl(struct inode *inode, int type) in btrfs_get_acl()
36 struct posix_acl *acl; in btrfs_get_acl()
72 struct inode *inode, struct posix_acl *acl, int type) in __btrfs_set_acl()
114 int btrfs_set_acl(struct inode *inode, struct posix_acl *acl, int type) in btrfs_set_acl()
138 struct posix_acl *default_acl, *acl; in btrfs_init_acl()
/fs/hfsplus/
Dposix_acl.c13 struct posix_acl *hfsplus_get_posix_acl(struct inode *inode, int type) in hfsplus_get_posix_acl()
15 struct posix_acl *acl; in hfsplus_get_posix_acl()
54 static int __hfsplus_set_posix_acl(struct inode *inode, struct posix_acl *acl, in __hfsplus_set_posix_acl()
102 int hfsplus_set_posix_acl(struct inode *inode, struct posix_acl *acl, int type) in hfsplus_set_posix_acl()
117 struct posix_acl *default_acl, *acl; in hfsplus_init_posix_acl()
/fs/jfs/
Dacl.c30 struct posix_acl *jfs_get_acl(struct inode *inode, int type) in jfs_get_acl()
32 struct posix_acl *acl; in jfs_get_acl()
70 struct posix_acl *acl) in __jfs_set_acl()
107 int jfs_set_acl(struct inode *inode, struct posix_acl *acl, int type) in jfs_set_acl()
132 struct posix_acl *default_acl, *acl; in jfs_init_acl()
/fs/nfs_common/
Dnfsacl.c36 struct posix_acl *acl;
43 struct posix_acl acl;
92 struct posix_acl *acl, int encode_entries, int typeflag) in nfsacl_encode()
113 struct posix_acl *acl2 = &aclbuf.acl; in nfsacl_encode()
141 struct posix_acl *acl;
218 posix_acl_from_nfsacl(struct posix_acl *acl) in posix_acl_from_nfsacl()
265 struct posix_acl **pacl) in nfsacl_decode()
/fs/orangefs/
Dacl.c13 struct posix_acl *orangefs_get_acl(struct inode *inode, int type) in orangefs_get_acl()
15 struct posix_acl *acl; in orangefs_get_acl()
64 static int __orangefs_set_acl(struct inode *inode, struct posix_acl *acl, in __orangefs_set_acl()
119 int orangefs_set_acl(struct inode *inode, struct posix_acl *acl, int type) in orangefs_set_acl()
145 struct posix_acl *default_acl, *acl; in orangefs_init_acl()
/fs/ceph/
Dacl.c33 int type, struct posix_acl *acl) in ceph_set_cached_acl()
45 struct posix_acl *ceph_get_acl(struct inode *inode, int type) in ceph_get_acl()
50 struct posix_acl *acl; in ceph_get_acl()
86 int ceph_set_acl(struct inode *inode, struct posix_acl *acl, int type) in ceph_set_acl()
162 struct posix_acl *acl, *default_acl; in ceph_pre_init_acls()
/fs/nfsd/
Dxdr3.h114 struct posix_acl;
118 struct posix_acl *acl_access;
119 struct posix_acl *acl_default;
230 struct posix_acl *acl_access;
231 struct posix_acl *acl_default;
Dnfs4acl.c125 static void _posix_to_nfsv4_one(struct posix_acl *, struct nfs4_acl *,
134 struct posix_acl *pacl = NULL, *dpacl = NULL; in nfsd4_get_nfs4_acl()
189 summarize_posix_acl(struct posix_acl *acl, struct posix_acl_summary *pas) in summarize_posix_acl()
233 _posix_to_nfsv4_one(struct posix_acl *pacl, struct nfs4_acl *acl, in _posix_to_nfsv4_one()
375 sort_pacl_range(struct posix_acl *pacl, int start, int end) { in sort_pacl_range()
394 sort_pacl(struct posix_acl *pacl) in sort_pacl()
490 static struct posix_acl *
494 struct posix_acl *pacl; in posix_state_to_acl()
693 struct posix_acl **pacl, struct posix_acl **dpacl, in nfs4_acl_nfsv4_to_posix()
762 struct posix_acl *pacl = NULL, *dpacl = NULL; in nfsd4_set_nfs4_acl()

123