Lines Matching refs:acl
15 struct posix_acl *acl; in orangefs_get_acl() local
53 acl = posix_acl_from_xattr(&init_user_ns, value, ret); in orangefs_get_acl()
55 acl = NULL; in orangefs_get_acl()
60 acl = ERR_PTR(ret); in orangefs_get_acl()
64 return acl; in orangefs_get_acl()
67 int __orangefs_set_acl(struct inode *inode, struct posix_acl *acl, int type) in __orangefs_set_acl() argument
92 if (acl) { in __orangefs_set_acl()
93 size = posix_acl_xattr_size(acl->a_count); in __orangefs_set_acl()
98 error = posix_acl_to_xattr(&init_user_ns, acl, value, size); in __orangefs_set_acl()
105 __func__, name, value, size, acl); in __orangefs_set_acl()
117 set_cached_acl(inode, type, acl); in __orangefs_set_acl()
122 struct posix_acl *acl, int type) in orangefs_set_acl() argument
131 if (type == ACL_TYPE_ACCESS && acl) { in orangefs_set_acl()
140 &iattr.ia_mode, &acl); in orangefs_set_acl()
153 rc = __orangefs_set_acl(inode, acl, type); in orangefs_set_acl()