FreeBSD/sys/nlm/nlm_prot_impl.c
/*
 * Find the NLM host that matches the value of 'sysid'. If none
 * exists, return NULL.
 */
Find the NLM host that matches the value of 'sysid'. If none
exists, return NULL.
Find the NLM host that matches the value of ' sysid ' . If none exists return NULL .
static struct nlm_host *
nlm_find_host_by_sysid(int sysid)
{
	struct nlm_host *host;
	TAILQ_FOREACH(host, &nlm_hosts, nh_link) {
		if (host->nh_sysid == sysid) {
			refcount_acquire(&host->nh_refs);
			return (host);
		}
	}
	return (NULL);
}
static struct nlm_host * nlm_find_host_by_sysid ( int sysid ) { struct nlm_host * host ; TAILQ_FOREACH ( host , & nlm_hosts , nh_link ) { if ( host -> nh_sysid == sysid ) { refcount_acquire ( & host -> nh_refs ) ; return ( host ) ; } } return ( NULL ) ; }
Find the NLM host that matches the value of 'sysid'.
Find the NLM host that matches the value of ' sysid ' .