Lines Matching refs:root_path_cost
192 br->root_path_cost = 0;
196 br->root_path_cost = READ_ONCE(p->designated_cost) +
232 bpdu.root_path_cost = br->root_path_cost;
262 WRITE_ONCE(p->designated_cost, bpdu->root_path_cost);
309 if (br->root_path_cost < p_designated_cost)
311 else if (br->root_path_cost > p_designated_cost)
353 if (bpdu->root_path_cost < p_designated_cost)
355 else if (bpdu->root_path_cost > p_designated_cost)
435 WRITE_ONCE(p->designated_cost, br->root_path_cost);