Lines Matching defs:acl
546 struct posix_acl *acl;
571 /* Translate extended attribute to acl. */
573 acl = posix_acl_from_xattr(&init_user_ns, buf, err);
575 acl = NULL;
577 acl = ERR_PTR(err);
580 if (!IS_ERR(acl))
581 set_cached_acl(inode, type, acl);
585 return acl;
589 struct inode *inode, struct posix_acl *acl,
606 if (acl && !init_acl) {
607 err = posix_acl_update_mode(idmap, inode, &mode, &acl);
617 return acl ? -EACCES : 0;
626 if (!acl) {
632 size = posix_acl_xattr_size(acl->a_count);
636 err = posix_acl_to_xattr(&init_user_ns, acl, value, size);
646 set_cached_acl(inode, type, acl);
662 struct posix_acl *acl, int type)
664 return ntfs_set_acl_ex(idmap, d_inode(dentry), acl, type, false);
675 struct posix_acl *default_acl, *acl;
678 err = posix_acl_create(dir, &inode->i_mode, &default_acl, &acl);
690 if (acl) {
692 err = ntfs_set_acl_ex(idmap, inode, acl,
694 posix_acl_release(acl);