Lines Matching refs:acls
1846 struct posix_acl *acls;
1854 ksmbd_debug(SMB, "Set posix acls\n");
1871 acls = posix_acl_alloc(6, GFP_KERNEL);
1872 if (!acls) {
1876 posix_state_to_acl(&acl_state, acls->a_entries);
1878 rc = set_posix_acl(idmap, dentry, ACL_TYPE_ACCESS, acls);
1883 posix_state_to_acl(&acl_state, acls->a_entries);
1884 rc = set_posix_acl(idmap, dentry, ACL_TYPE_DEFAULT, acls);
1891 posix_acl_release(acls);
1898 struct posix_acl *acls;
1907 acls = get_inode_acl(parent_inode, ACL_TYPE_DEFAULT);
1908 if (IS_ERR_OR_NULL(acls))
1910 pace = acls->a_entries;
1912 for (i = 0; i < acls->a_count; i++, pace++) {
1919 rc = set_posix_acl(idmap, dentry, ACL_TYPE_ACCESS, acls);
1925 acls);
1931 posix_acl_release(acls);