Lines Matching defs:acl
803 struct posix_acl *acl;
824 /* Translate extended attribute to acl. */
826 acl = posix_acl_from_xattr(&init_user_ns, buf, err);
828 acl = NULL;
830 acl = ERR_PTR(err);
832 if (!IS_ERR(acl))
833 set_cached_acl(inode, type, acl);
837 return acl;
841 struct inode *inode, struct posix_acl *acl,
858 if (acl && !init_acl) {
859 err = posix_acl_update_mode(idmap, inode, &mode, &acl);
869 return acl ? -EACCES : 0;
878 if (!acl) {
884 value = posix_acl_to_xattr(&init_user_ns, acl, &size, GFP_NOFS);
911 set_cached_acl(inode, type, acl);
923 struct posix_acl *acl, int type)
925 return ntfs_set_acl_ex(idmap, d_inode(dentry), acl, type, false);
931 struct posix_acl *default_acl, *acl;
934 err = posix_acl_create(dir, &inode->i_mode, &default_acl, &acl);
946 if (acl) {
948 err = ntfs_set_acl_ex(idmap, inode, acl,
950 posix_acl_release(acl);