Lines Matching refs:router_a
58 static void router_recurse(klrou_t *router_a, klrou_t *router_b, int depth) in router_recurse() argument
64 if (router_a->rou_rflag == 1) in router_recurse()
70 router_a->rou_rflag = 1; in router_recurse()
73 if (router_a->rou_port[port].port_nasid == INVALID_NASID) in router_recurse()
77 router_a->rou_port[port].port_nasid, in router_recurse()
78 router_a->rou_port[port].port_offset); in router_recurse()
91 router_a->rou_rflag = 0; in router_recurse()
99 klrou_t *router, *router_a = NULL, *router_b = NULL; in compute_node_distance() local
129 router_a = router; in compute_node_distance()
141 if (router_a == router_b) in compute_node_distance()
144 if (router_a == NULL) { in compute_node_distance()
154 router_recurse(router_a, router_b, 2); in compute_node_distance()