Lines Matching defs:acl
15 struct posix_acl *acl;
53 acl = posix_acl_from_xattr(&init_user_ns, value, ret);
55 acl = NULL;
57 gossip_err("inode %pU retrieving acl's failed with error %d\n",
60 acl = ERR_PTR(ret);
64 return acl;
67 int __orangefs_set_acl(struct inode *inode, struct posix_acl *acl, int type)
92 if (acl) {
93 size = posix_acl_xattr_size(acl->a_count);
98 error = posix_acl_to_xattr(&init_user_ns, acl, value, size);
104 "%s: name %s, value %p, size %zd, acl %p\n",
105 __func__, name, value, size, acl);
107 * Go ahead and set the extended attribute now. NOTE: Suppose acl
117 set_cached_acl(inode, type, acl);
122 struct posix_acl *acl, int type)
131 if (type == ACL_TYPE_ACCESS && acl) {
135 * object's mode. If so, it sets "acl" to NULL
140 &iattr.ia_mode, &acl);
153 rc = __orangefs_set_acl(inode, acl, type);