Lines Matching defs:acl
550 struct posix_acl *acl;
579 /* Translate extended attribute to acl. */
581 acl = posix_acl_from_xattr(&init_user_ns, buf, err);
583 acl = NULL;
585 acl = ERR_PTR(err);
588 if (!IS_ERR(acl))
589 set_cached_acl(inode, type, acl);
593 return acl;
597 struct inode *inode, struct posix_acl *acl,
618 if (acl && !init_acl) {
619 err = posix_acl_update_mode(idmap, inode, &mode, &acl);
629 return acl ? -EACCES : 0;
638 if (!acl) {
644 size = posix_acl_xattr_size(acl->a_count);
648 err = posix_acl_to_xattr(&init_user_ns, acl, value, size);
670 set_cached_acl(inode, type, acl);
684 struct posix_acl *acl, int type)
686 return ntfs_set_acl_ex(idmap, d_inode(dentry), acl, type, false);
697 struct posix_acl *default_acl, *acl;
700 err = posix_acl_create(dir, &inode->i_mode, &default_acl, &acl);
712 if (acl) {
714 err = ntfs_set_acl_ex(idmap, inode, acl,
716 posix_acl_release(acl);