Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/
Dposix_acl.h45 struct posix_acl { struct
61 static inline struct posix_acl * argument
62 posix_acl_dup(struct posix_acl *acl) in posix_acl_dup()
73 posix_acl_release(struct posix_acl *acl) in posix_acl_release()
82 extern void posix_acl_init(struct posix_acl *, int);
83 extern struct posix_acl *posix_acl_alloc(int, gfp_t);
84 extern int posix_acl_valid(const struct posix_acl *);
85 extern int posix_acl_permission(struct inode *, const struct posix_acl *, int);
86 extern struct posix_acl *posix_acl_from_mode(umode_t, gfp_t);
87 extern int posix_acl_equiv_mode(const struct posix_acl *, umode_t *);
[all …]
Dnfsacl.h25 nfsacl_size(struct posix_acl *acl_access, struct posix_acl *acl_default) in nfsacl_size()
36 struct posix_acl *acl, int encode_entries, int typeflag);
39 struct posix_acl **pacl);
Dposix_acl_xattr.h67 struct posix_acl *posix_acl_from_xattr(struct user_namespace *user_ns,
70 const struct posix_acl *acl, void *buffer, size_t size);
Dnfs_xdr.h710 struct posix_acl * acl_access;
711 struct posix_acl * acl_default;
831 struct posix_acl * acl_access;
832 struct posix_acl * acl_default;
Dnfs_fs.h109 struct posix_acl;
Dfs.h571 struct posix_acl;
591 struct posix_acl *i_acl;
592 struct posix_acl *i_default_acl;
1628 struct posix_acl * (*get_acl)(struct inode *, int);
1657 int (*set_acl)(struct inode *, struct posix_acl *, int);
/linux-4.1.27/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 …]
Dvfs_inode_dotl.c254 struct posix_acl *pacl = NULL, *dacl = NULL; in v9fs_vfs_atomic_open_dotl()
393 struct posix_acl *dacl = NULL, *pacl = NULL; in v9fs_vfs_mkdir_dotl()
826 struct posix_acl *dacl = NULL, *pacl = NULL; in v9fs_vfs_mknod_dotl()
/linux-4.1.27/fs/
Dposix_acl.c24 struct posix_acl **acl_by_type(struct inode *inode, int type) in acl_by_type()
37 struct posix_acl *get_cached_acl(struct inode *inode, int type) in get_cached_acl()
39 struct posix_acl **p = acl_by_type(inode, type); in get_cached_acl()
40 struct posix_acl *acl = ACCESS_ONCE(*p); in get_cached_acl()
52 struct posix_acl *get_cached_acl_rcu(struct inode *inode, int type) in get_cached_acl_rcu()
58 void set_cached_acl(struct inode *inode, int type, struct posix_acl *acl) in set_cached_acl()
60 struct posix_acl **p = acl_by_type(inode, type); in set_cached_acl()
61 struct posix_acl *old; in set_cached_acl()
73 struct posix_acl **p = acl_by_type(inode, type); in forget_cached_acl()
74 struct posix_acl *old; in forget_cached_acl()
[all …]
DMakefile44 obj-$(CONFIG_FS_POSIX_ACL) += posix_acl.o
Dnamei.c261 struct posix_acl *acl; in check_acl()
/linux-4.1.27/fs/nfs/
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()
Dnfs3acl.c14 struct posix_acl *nfs3_get_acl(struct inode *inode, int type) in nfs3_get_acl()
117 static int __nfs3_proc_setacls(struct inode *inode, struct posix_acl *acl, in __nfs3_proc_setacls()
118 struct posix_acl *dfacl) in __nfs3_proc_setacls()
205 int nfs3_proc_setacls(struct inode *inode, struct posix_acl *acl, in nfs3_proc_setacls()
206 struct posix_acl *dfacl) in nfs3_proc_setacls()
214 int nfs3_set_acl(struct inode *inode, struct posix_acl *acl, int type) in nfs3_set_acl()
216 struct posix_acl *alloc = NULL, *dfacl = NULL; in nfs3_set_acl()
259 struct posix_acl *acl; in nfs3_list_one_acl()
Dnfs3proc.c322 struct posix_acl *default_acl, *acl; in nfs3_proc_create()
549 struct posix_acl *default_acl, *acl; in nfs3_proc_mkdir()
674 struct posix_acl *default_acl, *acl; in nfs3_proc_mknod()
Dnfs3xdr.c2348 struct posix_acl **acl; in decode_getacl3resok()
/linux-4.1.27/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()
112 static void *f2fs_acl_to_disk(const struct posix_acl *acl, size_t *size) in f2fs_acl_to_disk()
165 static struct posix_acl *__f2fs_get_acl(struct inode *inode, int type, in __f2fs_get_acl()
170 struct posix_acl *acl; in __f2fs_get_acl()
199 struct posix_acl *f2fs_get_acl(struct inode *inode, int type) in f2fs_get_acl()
205 struct posix_acl *acl, struct page *ipage) in __f2fs_set_acl()
254 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 …]
Dacl.h39 extern struct posix_acl *f2fs_get_acl(struct inode *, int);
40 extern int f2fs_set_acl(struct inode *inode, struct posix_acl *acl, int type);
/linux-4.1.27/fs/xfs/
Dxfs_acl.h22 struct posix_acl;
26 extern struct posix_acl *xfs_get_acl(struct inode *inode, int type);
27 extern int xfs_set_acl(struct inode *inode, struct posix_acl *acl, int type);
31 static inline struct posix_acl *xfs_get_acl(struct inode *inode, int type) in xfs_get_acl()
Dxfs_acl.c38 STATIC struct posix_acl *
44 struct posix_acl *acl; in xfs_acl_from_disk()
93 xfs_acl_to_disk(struct xfs_acl *aclp, const struct posix_acl *acl) in xfs_acl_to_disk()
121 struct posix_acl *
125 struct posix_acl *acl = NULL; in xfs_get_acl()
178 __xfs_set_acl(struct inode *inode, int type, struct posix_acl *acl) in __xfs_set_acl()
275 xfs_set_acl(struct inode *inode, struct posix_acl *acl, int type) in xfs_set_acl()
Dxfs_iops.c137 struct posix_acl *default_acl, *acl; in xfs_generic_create()
/linux-4.1.27/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()
285 int ocfs2_iop_set_acl(struct inode *inode, struct posix_acl *acl, int type) in ocfs2_iop_set_acl()
290 struct posix_acl *ocfs2_iop_get_acl(struct inode *inode, int type) in ocfs2_iop_get_acl()
294 struct posix_acl *acl; in ocfs2_iop_get_acl()
315 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,
/linux-4.1.27/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()
54 static struct posix_acl *reiserfs_posix_acl_from_disk(const void *value, size_t size) in reiserfs_posix_acl_from_disk()
58 struct posix_acl *acl; in reiserfs_posix_acl_from_disk()
124 static void *reiserfs_posix_acl_to_disk(const struct posix_acl *acl, size_t * size) in reiserfs_posix_acl_to_disk()
180 struct posix_acl *reiserfs_get_acl(struct inode *inode, int type) in reiserfs_get_acl()
183 struct posix_acl *acl; in reiserfs_get_acl()
238 int type, struct posix_acl *acl) in __reiserfs_set_acl()
306 struct posix_acl *default_acl, *acl; in reiserfs_inherit_default_acl()
367 struct posix_acl *acl; in reiserfs_cache_default_acl()
Dacl.h50 struct posix_acl *reiserfs_get_acl(struct inode *inode, int type);
51 int reiserfs_set_acl(struct inode *inode, struct posix_acl *acl, int type);
/linux-4.1.27/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()
188 struct posix_acl *acl) in __ext4_set_acl()
237 ext4_set_acl(struct inode *inode, struct posix_acl *acl, int type) in ext4_set_acl()
264 struct posix_acl *default_acl, *acl; in ext4_init_acl()
Dacl.h57 struct posix_acl *ext4_get_acl(struct inode *inode, int type);
58 int ext4_set_acl(struct inode *inode, struct posix_acl *acl, int type);
/linux-4.1.27/fs/ext3/
Dacl.c14 static struct posix_acl *
19 struct posix_acl *acl; in ext3_acl_from_disk()
87 ext3_acl_to_disk(const struct posix_acl *acl, size_t *size) in ext3_acl_to_disk()
140 struct posix_acl *
145 struct posix_acl *acl; in ext3_get_acl()
187 struct posix_acl *acl) in __ext3_set_acl()
237 ext3_set_acl(struct inode *inode, struct posix_acl *acl, int type) in ext3_set_acl()
262 struct posix_acl *default_acl, *acl; in ext3_init_acl()
Dacl.h57 extern struct posix_acl *ext3_get_acl(struct inode *inode, int type);
58 extern int ext3_set_acl(struct inode *inode, struct posix_acl *acl, int type);
/linux-4.1.27/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()
76 struct inode *inode, struct posix_acl *acl, int type) in __btrfs_set_acl()
126 int btrfs_set_acl(struct inode *inode, struct posix_acl *acl, int type) in btrfs_set_acl()
139 struct posix_acl *default_acl, *acl; in btrfs_init_acl()
Dctree.h4151 struct posix_acl *btrfs_get_acl(struct inode *inode, int type);
4152 int btrfs_set_acl(struct inode *inode, struct posix_acl *acl, int type);
/linux-4.1.27/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()
185 ext2_set_acl(struct inode *inode, struct posix_acl *acl, int type) in ext2_set_acl()
240 struct posix_acl *default_acl, *acl; in ext2_init_acl()
Dacl.h57 extern struct posix_acl *ext2_get_acl(struct inode *inode, int type);
58 extern int ext2_set_acl(struct inode *inode, struct posix_acl *acl, int type);
/linux-4.1.27/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()
211 static int __jffs2_set_acl(struct inode *inode, int xprefix, struct posix_acl *acl) in __jffs2_set_acl()
230 int jffs2_set_acl(struct inode *inode, struct posix_acl *acl, int type) in jffs2_set_acl()
272 struct posix_acl *default_acl, *acl; in jffs2_init_acl_pre()
Dacl.h29 struct posix_acl *jffs2_get_acl(struct inode *inode, int type);
30 int jffs2_set_acl(struct inode *inode, struct posix_acl *acl, int type);
/linux-4.1.27/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()
76 struct posix_acl *acl) in __jfs_set_acl()
122 int jfs_set_acl(struct inode *inode, struct posix_acl *acl, int type) in jfs_set_acl()
139 struct posix_acl *default_acl, *acl; in jfs_init_acl()
Djfs_acl.h23 struct posix_acl *jfs_get_acl(struct inode *inode, int type);
24 int jfs_set_acl(struct inode *inode, struct posix_acl *acl, int type);
/linux-4.1.27/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()
/linux-4.1.27/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()
57 int hfsplus_set_posix_acl(struct inode *inode, struct posix_acl *acl, in hfsplus_set_posix_acl()
114 struct posix_acl *default_acl, *acl; in hfsplus_init_posix_acl()
Dacl.h14 struct posix_acl *hfsplus_get_posix_acl(struct inode *inode, int type);
15 int hfsplus_set_posix_acl(struct inode *inode, struct posix_acl *acl,
DMakefile11 hfsplus-$(CONFIG_HFSPLUS_FS_POSIX_ACL) += posix_acl.o
/linux-4.1.27/fs/gfs2/
Dacl.h19 extern struct posix_acl *gfs2_get_acl(struct inode *inode, int type);
20 extern int gfs2_set_acl(struct inode *inode, struct posix_acl *acl, int type);
Dacl.c41 struct posix_acl *gfs2_get_acl(struct inode *inode, int type) in gfs2_get_acl()
44 struct posix_acl *acl; in gfs2_get_acl()
67 int gfs2_set_acl(struct inode *inode, struct posix_acl *acl, int type) in gfs2_set_acl()
Dinode.c590 struct posix_acl *default_acl, *acl; in gfs2_create_inode()
/linux-4.1.27/fs/ceph/
Dacl.c33 int type, struct posix_acl *acl) in ceph_set_cached_acl()
43 struct posix_acl *ceph_get_acl(struct inode *inode, int type) in ceph_get_acl()
48 struct posix_acl *acl; in ceph_get_acl()
84 int ceph_set_acl(struct inode *inode, struct posix_acl *acl, int type) in ceph_set_acl()
161 struct posix_acl *acl, *default_acl; in ceph_pre_init_acls()
Dsuper.h785 struct posix_acl *ceph_get_acl(struct inode *, int);
786 int ceph_set_acl(struct inode *inode, struct posix_acl *acl, int type);
/linux-4.1.27/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.c135 static void _posix_to_nfsv4_one(struct posix_acl *, struct nfs4_acl *,
144 struct posix_acl *pacl = NULL, *dpacl = NULL; in nfsd4_get_nfs4_acl()
199 summarize_posix_acl(struct posix_acl *acl, struct posix_acl_summary *pas) in summarize_posix_acl()
243 _posix_to_nfsv4_one(struct posix_acl *pacl, struct nfs4_acl *acl, in _posix_to_nfsv4_one()
385 sort_pacl_range(struct posix_acl *pacl, int start, int end) { in sort_pacl_range()
406 sort_pacl(struct posix_acl *pacl) in sort_pacl()
502 static struct posix_acl *
506 struct posix_acl *pacl; in posix_state_to_acl()
705 struct posix_acl **pacl, struct posix_acl **dpacl, in nfs4_acl_nfsv4_to_posix()
774 struct posix_acl *pacl = NULL, *dpacl = NULL; in nfsd4_set_nfs4_acl()
Dnfs3acl.c32 struct posix_acl *acl; in nfsd3_proc_getacl()
Dnfs2acl.c33 struct posix_acl *acl; in nfsacld_proc_getacl()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dllite_lib.c530 if (lmd.posix_acl) { in client_common_fill_super()
531 posix_acl_release(lmd.posix_acl); in client_common_fill_super()
532 lmd.posix_acl = NULL; in client_common_fill_super()
1629 lli->lli_posix_acl = md->posix_acl; in ll_update_inode()
2032 if (md.posix_acl) { in ll_prep_inode()
2033 posix_acl_release(md.posix_acl); in ll_prep_inode()
2034 md.posix_acl = NULL; in ll_prep_inode()
Dxattr.c343 struct posix_acl *acl; in ll_getxattr_common()
Dllite_internal.h131 struct posix_acl *lli_posix_acl;
762 struct posix_acl *ll_get_acl(struct inode *inode, int type);
Dfile.c3091 struct posix_acl *ll_get_acl(struct inode *inode, int type) in ll_get_acl()
3094 struct posix_acl *acl = NULL; in ll_get_acl()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dobd.h1250 struct posix_acl *posix_acl; member
/linux-4.1.27/drivers/staging/lustre/lustre/mdc/
Dmdc_request.c471 struct posix_acl *acl; in mdc_unpack_acl()
500 md->posix_acl = acl; in mdc_unpack_acl()
617 md->posix_acl = NULL; in mdc_get_lustre_md()
650 posix_acl_release(md->posix_acl); in mdc_get_lustre_md()