/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Allows for gathering of statistics
*
* Copyright (c) 1990 by Sun Microsystems, Inc.
*/
/*
* Copyright 2014 Nexenta Systems, Inc. All rights reserved.
*/
#include <stdio.h>
#include <netconfig.h>
#include <rpc/rpcb_prot.h>
#ifdef PORTMAP
#include <rpc/pmap_prot.h>
#endif
#include <stdlib.h>
#include <atomic.h>
#include <assert.h>
#include <thread.h>
#include <synch.h>
#include <string.h>
#include "rpcbind.h"
void
{
#ifdef PORTMAP
return;
#else
#endif
return;
return;
}
void
{
return;
}
void
{
return;
}
void
char *uaddr)
{
rpcbs_addrlist *s;
/*
* First try with read lock only.
*/
else
return;
}
}
/*
* If not found, we will likely need to add a new entry,
* so pre-allocate it, and then try to search again with write lock.
*/
return;
}
return;
}
} else {
}
else
return;
}
}
}
/*
* rpcbproc - rpcbind proc number on which this was called
*/
void
{
/*
* First try with read lock only.
*/
else
if (rpcbproc == RPCBPROC_INDIRECT)
return;
}
}
/*
* If not found, we will likely need to add a new entry,
* so pre-allocate it, and then try to search again with write lock.
*/
return;
}
return;
}
} else {
}
else
if (rpcbproc == RPCBPROC_INDIRECT)
return;
}
}
}
/* ARGSUSED */
{
/*
* inf_lock is unlocked in xdr_rpcb_stat_byvers_ptr()
*/
return (TRUE);
}
{
/*
* inf_lock is locked in rpcbproc_getstat()
*/
return (TRUE);
}
}