Searched refs:br_is_root_bridge (Results 1 – 4 of 4) sorted by relevance
104 wasroot = br_is_root_bridge(br); in br_stp_disable_port()124 if (br_is_root_bridge(br) && !wasroot) in br_stp_disable_port()230 wasroot = br_is_root_bridge(br); in br_stp_change_bridge_id()248 if (br_is_root_bridge(br) && !wasroot) in br_stp_change_bridge_id()288 wasroot = br_is_root_bridge(br); in br_stp_set_bridge_priority()303 if (br_is_root_bridge(br) && !wasroot) in br_stp_set_bridge_priority()
68 was_root = br_is_root_bridge(br); in br_message_age_timer_expired()73 if (br_is_root_bridge(br) && !was_root) in br_message_age_timer_expired()109 if (!br_is_root_bridge(br) && (br->dev->flags & IFF_UP)) { in br_tcn_timer_expired()
228 if (br_is_root_bridge(br)) in br_transmit_config()372 int isroot = br_is_root_bridge(br); in br_topology_change_detection()528 was_root = br_is_root_bridge(br); in br_received_config_bpdu()535 if (!br_is_root_bridge(br) && was_root) { in br_received_config_bpdu()581 if (br_is_root_bridge(br)) in br_set_hello_time()596 if (br_is_root_bridge(br)) in br_set_max_age()693 if (br_is_root_bridge(br)) in __br_set_forward_delay()
637 static inline int br_is_root_bridge(const struct net_bridge *br) in br_is_root_bridge() function