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

/freebsd-11-stable/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.c853 * loop, and for setting the NWS_RUNNING flag. The passed workstream will be
867 KASSERT(nwsp->nws_flags & NWS_RUNNING,
937 KASSERT(!(nwsp->nws_flags & NWS_RUNNING), ("swi_net: running"));
940 nwsp->nws_flags |= NWS_RUNNING;
949 nwsp->nws_flags &= ~NWS_RUNNING;
982 * We must set the bit regardless of NWS_RUNNING, so that
987 (NWS_RUNNING | NWS_DISPATCHING | NWS_SCHEDULED))) {
1156 if (nwsp->nws_flags & (NWS_RUNNING | NWS_DISPATCHING | NWS_SCHEDULED)) {

Completed in 116 milliseconds