Searched refs:NWS_RUNNING (Results 1 - 2 of 2) sorted by relevance

/freebsd-10.1-release/sys/net/
H A Dnetisr_internal.h102 * concurrent processing is prevented by the NWS_RUNNING flag, which
124 #define NWS_RUNNING 0x00000001 /* Currently running in a thread. */ macro
H A Dnetisr.c719 * loop, and for setting the NWS_RUNNING flag. The passed workstream will be
733 KASSERT(nwsp->nws_flags & NWS_RUNNING,
803 KASSERT(!(nwsp->nws_flags & NWS_RUNNING), ("swi_net: running"));
806 nwsp->nws_flags |= NWS_RUNNING;
815 nwsp->nws_flags &= ~NWS_RUNNING;
848 * We must set the bit regardless of NWS_RUNNING, so that
853 (NWS_RUNNING | NWS_DISPATCHING | NWS_SCHEDULED))) {
1006 if (nwsp->nws_flags & (NWS_RUNNING | NWS_DISPATCHING | NWS_SCHEDULED)) {

Completed in 54 milliseconds