• Home
  • Raw
  • Download

Lines Matching refs:posix_acl

28 static struct posix_acl **acl_by_type(struct inode *inode, int type)  in acl_by_type()
40 struct posix_acl *get_cached_acl(struct inode *inode, int type) in get_cached_acl()
42 struct posix_acl **p = acl_by_type(inode, type); in get_cached_acl()
43 struct posix_acl *acl; in get_cached_acl()
59 struct posix_acl *get_cached_acl_rcu(struct inode *inode, int type) in get_cached_acl_rcu()
61 struct posix_acl *acl = rcu_dereference(*acl_by_type(inode, type)); in get_cached_acl_rcu()
64 struct posix_acl *ret; in get_cached_acl_rcu()
75 void set_cached_acl(struct inode *inode, int type, struct posix_acl *acl) in set_cached_acl()
77 struct posix_acl **p = acl_by_type(inode, type); in set_cached_acl()
78 struct posix_acl *old; in set_cached_acl()
86 static void __forget_cached_acl(struct posix_acl **p) in __forget_cached_acl()
88 struct posix_acl *old; in __forget_cached_acl()
108 struct posix_acl *get_acl(struct inode *inode, int type) in get_acl()
111 struct posix_acl **p; in get_acl()
112 struct posix_acl *acl; in get_acl()
178 posix_acl_init(struct posix_acl *acl, int count) in posix_acl_init()
188 struct posix_acl *
191 const size_t size = sizeof(struct posix_acl) + in posix_acl_alloc()
193 struct posix_acl *acl = kmalloc(size, flags); in posix_acl_alloc()
203 static struct posix_acl *
204 posix_acl_clone(const struct posix_acl *acl, gfp_t flags) in posix_acl_clone()
206 struct posix_acl *clone = NULL; in posix_acl_clone()
209 int size = sizeof(struct posix_acl) + acl->a_count * in posix_acl_clone()
222 posix_acl_valid(struct user_namespace *user_ns, const struct posix_acl *acl) in posix_acl_valid()
291 posix_acl_equiv_mode(const struct posix_acl *acl, umode_t *mode_p) in posix_acl_equiv_mode()
336 struct posix_acl *
339 struct posix_acl *acl = posix_acl_alloc(3, flags); in posix_acl_from_mode()
361 const struct posix_acl *acl, int want) in posix_acl_permission()
439 static int posix_acl_create_masq(struct posix_acl *acl, umode_t *mode_p) in posix_acl_create_masq()
496 static int __posix_acl_chmod_masq(struct posix_acl *acl, umode_t mode) in __posix_acl_chmod_masq()
542 __posix_acl_create(struct posix_acl **acl, gfp_t gfp, umode_t *mode_p) in __posix_acl_create()
544 struct posix_acl *clone = posix_acl_clone(*acl, gfp); in __posix_acl_create()
560 __posix_acl_chmod(struct posix_acl **acl, gfp_t gfp, umode_t mode) in __posix_acl_chmod()
562 struct posix_acl *clone = posix_acl_clone(*acl, gfp); in __posix_acl_chmod()
594 struct posix_acl *acl; in posix_acl_chmod()
620 struct posix_acl **default_acl, struct posix_acl **acl) in posix_acl_create()
622 struct posix_acl *p; in posix_acl_create()
623 struct posix_acl *clone; in posix_acl_create()
693 struct posix_acl **acl) in posix_acl_update_mode()
795 struct posix_acl *
802 struct posix_acl *acl; in posix_acl_from_xattr()
865 posix_acl_to_xattr(struct user_namespace *user_ns, const struct posix_acl *acl, in posix_acl_to_xattr()
908 struct posix_acl *acl; in posix_acl_xattr_get()
930 int type, struct posix_acl *acl) in set_posix_acl()
958 struct posix_acl *acl = NULL; in posix_acl_xattr_set()
996 struct posix_acl *acl, int type) in simple_set_acl()
1014 struct posix_acl *default_acl, *acl; in simple_acl_create()