/linux-4.1.27/include/linux/ |
D | posix_acl.h | 45 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 …]
|
D | nfsacl.h | 25 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);
|
D | posix_acl_xattr.h | 67 struct posix_acl *posix_acl_from_xattr(struct user_namespace *user_ns, 70 const struct posix_acl *acl, void *buffer, size_t size);
|
D | nfs_xdr.h | 710 struct posix_acl * acl_access; 711 struct posix_acl * acl_default; 831 struct posix_acl * acl_access; 832 struct posix_acl * acl_default;
|
D | nfs_fs.h | 109 struct posix_acl;
|
D | fs.h | 571 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/ |
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 *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()
|
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 *acl) in v9fs_set_create_acl() 179 void v9fs_put_acl(struct posix_acl *dacl, in v9fs_put_acl() [all …]
|
D | vfs_inode_dotl.c | 254 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/ |
D | posix_acl.c | 24 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 …]
|
D | Makefile | 44 obj-$(CONFIG_FS_POSIX_ACL) += posix_acl.o
|
D | namei.c | 261 struct posix_acl *acl; in check_acl()
|
/linux-4.1.27/fs/nfs/ |
D | nfs3_fs.h | 13 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()
|
D | nfs3acl.c | 14 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()
|
D | nfs3proc.c | 322 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()
|
D | nfs3xdr.c | 2348 struct posix_acl **acl; in decode_getacl3resok()
|
/linux-4.1.27/fs/f2fs/ |
D | acl.c | 48 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 …]
|
D | acl.h | 39 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/ |
D | xfs_acl.h | 22 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()
|
D | xfs_acl.c | 38 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()
|
D | xfs_iops.c | 137 struct posix_acl *default_acl, *acl; in xfs_generic_create()
|
/linux-4.1.27/fs/ocfs2/ |
D | acl.c | 43 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 …]
|
D | acl.h | 29 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/ |
D | xattr_acl.c | 16 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()
|
D | acl.h | 50 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/ |
D | acl.c | 15 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()
|
D | acl.h | 57 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/ |
D | acl.c | 14 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()
|
D | acl.h | 57 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/ |
D | acl.c | 31 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()
|
D | ctree.h | 4151 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/ |
D | acl.c | 18 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()
|
D | acl.h | 57 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/ |
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) 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()
|
D | acl.h | 29 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/ |
D | acl.c | 30 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()
|
D | jfs_acl.h | 23 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/ |
D | nfsacl.c | 36 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/ |
D | posix_acl.c | 13 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()
|
D | acl.h | 14 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,
|
D | Makefile | 11 hfsplus-$(CONFIG_HFSPLUS_FS_POSIX_ACL) += posix_acl.o
|
/linux-4.1.27/fs/gfs2/ |
D | acl.h | 19 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);
|
D | acl.c | 41 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()
|
D | inode.c | 590 struct posix_acl *default_acl, *acl; in gfs2_create_inode()
|
/linux-4.1.27/fs/ceph/ |
D | acl.c | 33 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()
|
D | super.h | 785 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/ |
D | xdr3.h | 114 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;
|
D | nfs4acl.c | 135 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()
|
D | nfs3acl.c | 32 struct posix_acl *acl; in nfsd3_proc_getacl()
|
D | nfs2acl.c | 33 struct posix_acl *acl; in nfsacld_proc_getacl()
|
/linux-4.1.27/drivers/staging/lustre/lustre/llite/ |
D | llite_lib.c | 530 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()
|
D | xattr.c | 343 struct posix_acl *acl; in ll_getxattr_common()
|
D | llite_internal.h | 131 struct posix_acl *lli_posix_acl; 762 struct posix_acl *ll_get_acl(struct inode *inode, int type);
|
D | file.c | 3091 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/ |
D | obd.h | 1250 struct posix_acl *posix_acl; member
|
/linux-4.1.27/drivers/staging/lustre/lustre/mdc/ |
D | mdc_request.c | 471 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()
|