Lines Matching defs:acl
19 struct posix_acl *acl;
49 acl = NULL;
51 acl = ERR_PTR(size);
53 acl = posix_acl_from_xattr(&init_user_ns, value, size);
56 return acl;
60 struct posix_acl *acl)
78 if (acl) {
79 size = posix_acl_xattr_size(acl->a_count);
83 rc = posix_acl_to_xattr(&init_user_ns, acl, value, size);
92 set_cached_acl(inode, type, acl);
98 struct posix_acl *acl, int type)
108 if (type == ACL_TYPE_ACCESS && acl) {
109 rc = posix_acl_update_mode(&nop_mnt_idmap, inode, &mode, &acl);
115 rc = __jfs_set_acl(tid, inode, type, acl);
132 struct posix_acl *default_acl, *acl;
135 rc = posix_acl_create(dir, &inode->i_mode, &default_acl, &acl);
146 if (acl) {
148 rc = __jfs_set_acl(tid, inode, ACL_TYPE_ACCESS, acl);
149 posix_acl_release(acl);