Lines Matching refs:dpacl
134 struct posix_acl *pacl = NULL, *dpacl = NULL; in nfsd4_get_nfs4_acl() local
150 dpacl = get_inode_acl(inode, ACL_TYPE_DEFAULT); in nfsd4_get_nfs4_acl()
151 if (IS_ERR(dpacl)) { in nfsd4_get_nfs4_acl()
152 error = PTR_ERR(dpacl); in nfsd4_get_nfs4_acl()
156 if (dpacl) in nfsd4_get_nfs4_acl()
157 size += 2 * dpacl->a_count; in nfsd4_get_nfs4_acl()
169 if (dpacl) in nfsd4_get_nfs4_acl()
170 _posix_to_nfsv4_one(dpacl, *acl, flags | NFS4_ACL_TYPE_DEFAULT); in nfsd4_get_nfs4_acl()
173 posix_acl_release(dpacl); in nfsd4_get_nfs4_acl()
693 struct posix_acl **pacl, struct posix_acl **dpacl, in nfs4_acl_nfsv4_to_posix() argument
759 *dpacl = posix_state_to_acl(&default_acl_state, in nfs4_acl_nfsv4_to_posix()
761 if (IS_ERR(*dpacl)) { in nfs4_acl_nfsv4_to_posix()
762 ret = PTR_ERR(*dpacl); in nfs4_acl_nfsv4_to_posix()
763 *dpacl = NULL; in nfs4_acl_nfsv4_to_posix()
769 sort_pacl(*dpacl); in nfs4_acl_nfsv4_to_posix()