FreeBSD/sys/nlm/nlm_prot_impl.c
/*
 * Acquire the next sysid for remote locks not handled by the NLM.
 */
Acquire the next sysid for remote locks not handled by the NLM.
Acquire the next sysid for remote locks not handled by the NLM .
uint32_t
nlm_acquire_next_sysid(void)
{
	uint32_t next_sysid;
	mtx_lock(&nlm_global_lock);
	next_sysid = nlm_next_sysid++;
	mtx_unlock(&nlm_global_lock);
	return (next_sysid);
}
uint32_t nlm_acquire_next_sysid ( void ) { uint32_t next_sysid ; mtx_lock ( & nlm_global_lock ) ; next_sysid = nlm_next_sysid ++ ; mtx_unlock ( & nlm_global_lock ) ; return ( next_sysid ) ; }
Acquire the next sysid for remote locks not handled by the NLM.
Acquire the next sysid for remote locks not handled by the NLM .