Lines Matching defs:acl
19 struct posix_acl *acl;
46 acl = NULL;
48 acl = ERR_PTR(size);
50 acl = posix_acl_from_xattr(&init_user_ns, value, size);
53 return acl;
57 struct posix_acl *acl)
75 if (acl) {
76 size = posix_acl_xattr_size(acl->a_count);
80 rc = posix_acl_to_xattr(&init_user_ns, acl, value, size);
89 set_cached_acl(inode, type, acl);
94 int jfs_set_acl(struct inode *inode, struct posix_acl *acl, int type)
103 if (type == ACL_TYPE_ACCESS && acl) {
104 rc = posix_acl_update_mode(inode, &mode, &acl);
110 rc = __jfs_set_acl(tid, inode, type, acl);
127 struct posix_acl *default_acl, *acl;
130 rc = posix_acl_create(dir, &inode->i_mode, &default_acl, &acl);
141 if (acl) {
143 rc = __jfs_set_acl(tid, inode, ACL_TYPE_ACCESS, acl);
144 posix_acl_release(acl);