FreeBSD/sys/nlm/nlm_prot_impl.c
/*
 * NLM implementation details, called from the RPC stubs.
 */
NLM implementation details, called from the RPC stubs.
NLM implementation details called from the RPC stubs .
void
nlm_sm_notify(struct nlm_sm_status *argp)
{
	uint32_t sysid;
	struct nlm_host *host;
	NLM_DEBUG(3, "nlm_sm_notify(): mon_name = %s\n", argp->mon_name);
	memcpy(&sysid, &argp->priv, sizeof(sysid));
	host = nlm_find_host_by_sysid(sysid);
	if (host) {
		nlm_host_notify(host, argp->state);
		nlm_host_release(host);
	}
}
void nlm_sm_notify ( struct nlm_sm_status * argp ) { uint32_t sysid ; struct nlm_host * host ; NLM_DEBUG ( 3 , " \n " , argp -> mon_name ) ; memcpy ( & sysid , & argp -> priv , sizeof ( sysid ) ) ; host = nlm_find_host_by_sysid ( sysid ) ; if ( host ) { nlm_host_notify ( host , argp -> state ) ; nlm_host_release ( host ) ; } }
NLM implementation details, called from the RPC stubs.
NLM implementation details called from the RPC stubs .