FreeBSD/sys/kern/kern_poll.c
/*
 * ether_poll is called from the idle loop.
 */
ether_poll is called from the idle loop.
ether_poll is called from the idle loop .
static void
ether_poll(int count)
{
	int i;
	mtx_lock(&poll_mtx);
	if (count > poll_each_burst)
		count = poll_each_burst;
	for (i = 0 ; i < poll_handlers ; i++)
		pr[i].handler(pr[i].ifp, POLL_ONLY, count);
	mtx_unlock(&poll_mtx);
}
static void ether_poll ( int count ) { int i ; mtx_lock ( & poll_mtx ) ; if ( count > poll_each_burst ) count = poll_each_burst ; for ( i = 0 ; i < poll_handlers ; i ++ ) pr [ i ] . handler ( pr [ i ] . ifp , POLL_ONLY , count ) ; mtx_unlock ( & poll_mtx ) ; }
ether_poll is called from the idle loop.
ether_poll is called from the idle loop .