Lines Matching defs:acl
17 #include "acl.h"
24 struct posix_acl *acl;
48 acl = posix_acl_from_xattr(&init_user_ns, value, size);
50 acl = NULL;
52 acl = ERR_PTR(size);
55 return acl;
59 struct posix_acl *acl, int type)
71 return acl ? -EINVAL : 0;
78 if (acl) {
81 size = posix_acl_xattr_size(acl->a_count);
94 ret = posix_acl_to_xattr(&init_user_ns, acl, value, size);
108 set_cached_acl(inode, type, acl);
114 struct posix_acl *acl, int type)
120 if (type == ACL_TYPE_ACCESS && acl) {
122 &inode->i_mode, &acl);
126 ret = __btrfs_set_acl(NULL, inode, acl, type);