Lines Matching refs:state
598 w->state = FWS_INIT;
1166 /* Reset round-robin state, if necessary */
1872 RT6_TRACE("W %p adjusted by delnode 1, s=%d/%d\n", w, w->state, nstate);
1874 w->state = nstate;
1880 RT6_TRACE("W %p adjusted by delnode 2, s=%d\n", w, w->state);
1881 w->state = w->state >= FWS_R ? FWS_U : FWS_INIT;
1883 RT6_TRACE("W %p adjusted by delnode 2, s=%d\n", w, w->state);
1884 w->state = w->state >= FWS_C ? FWS_U : FWS_INIT;
1933 /* Reset round-robin state, if necessary */
1960 if (w->state == FWS_C && w->leaf == rt) {
1965 w->state = FWS_U;
2073 switch (w->state) {
2080 w->state = FWS_L;
2087 w->state = FWS_INIT;
2090 w->state = FWS_R;
2096 w->state = FWS_INIT;
2099 w->state = FWS_C;
2119 w->state = FWS_U;
2131 w->state = FWS_L;
2136 w->state = FWS_R;
2140 w->state = FWS_C;
2155 w->state = FWS_INIT;
2538 iter->w.state = FWS_INIT;
2573 iter->w.state = FWS_INIT;
2639 return w->node && !(w->state == FWS_U && w->node == w->root);