Lines Matching full:router
60 klrou_t *router; in router_recurse() local
81 router = (klrou_t *)NODE_OFFSET_TO_K0(NASID_GET(brd), brd->brd_compts[0]); in router_recurse()
82 if (router == router_b) { in router_recurse()
87 router_recurse(router, router_b, depth + 1); in router_recurse()
99 klrou_t *router, *router_a = NULL, *router_b = NULL; in compute_node_distance() local
116 router = (klrou_t *)NODE_OFFSET_TO_K0(NASID_GET(brd), brd->brd_compts[0]); in compute_node_distance()
117 router->rou_rflag = 0; in compute_node_distance()
120 if (router->rou_port[port].port_nasid == INVALID_NASID) in compute_node_distance()
124 router->rou_port[port].port_nasid, in compute_node_distance()
125 router->rou_port[port].port_offset); in compute_node_distance()
129 router_a = router; in compute_node_distance()
131 router_b = router; in compute_node_distance()
181 klrou_t *router; in dump_topology() local
207 pr_cont("Router %d:", router_num); in dump_topology()
210 router = (klrou_t *)NODE_OFFSET_TO_K0(NASID_GET(brd), brd->brd_compts[0]); in dump_topology()
213 if (router->rou_port[port].port_nasid == INVALID_NASID) in dump_topology()
217 router->rou_port[port].port_nasid, in dump_topology()
218 router->rou_port[port].port_offset); in dump_topology()