Lines Matching defs:state
29 void br_set_state(struct net_bridge_port *p, unsigned int state)
35 .u.stp_state = state,
39 /* Don't change the state of the ports if they are driven by a different
45 p->state = state;
48 br_warn(p->br, "error setting offload STP state on port %u(%s)\n",
51 br_info(p->br, "port %u(%s) entered %s state\n",
53 br_port_state_names[p->state]);
56 switch (p->state) {
90 if (p->state == BR_STATE_DISABLED ||
303 if (p->state != BR_STATE_DISABLED &&
378 if (p->state != BR_STATE_DISABLED &&
413 if (p->state != BR_STATE_DISABLED &&
414 p->state != BR_STATE_BLOCKING) {
415 if (p->state == BR_STATE_FORWARDING ||
416 p->state == BR_STATE_LEARNING)
431 if (p->state != BR_STATE_BLOCKING)
456 if (p->state == BR_STATE_DISABLED)
475 if (p->state != BR_STATE_BLOCKING)
478 * blocking state because the timers will expire and stop by
481 if (p->state == BR_STATE_FORWARDING)