Lines Matching refs:node_vertex
209 klhwg_add_ice(vertex_hdl_t node_vertex, klhub_t *hub, cnodeid_t cnode) in klhwg_add_ice() argument
216 (void) hwgraph_path_add(node_vertex, EDGE_LBL_ICE, &myicev); in klhwg_add_ice()
220 rc = device_master_set(myicev, node_vertex); in klhwg_add_ice()
233 klhwg_add_hub(vertex_hdl_t node_vertex, klhub_t *hub, cnodeid_t cnode) in klhwg_add_hub() argument
241 (void) hwgraph_path_add(node_vertex, EDGE_LBL_HUB, &myhubv); in klhwg_add_hub()
245 rc = device_master_set(myhubv, node_vertex); in klhwg_add_hub()
258 klhwg_add_disabled_cpu(vertex_hdl_t node_vertex, cnodeid_t cnode, klcpu_t *cpu, slotid_t slot) in klhwg_add_disabled_cpu() argument
269 (void) hwgraph_path_add(node_vertex, name, &my_cpu); in klhwg_add_disabled_cpu()
274 device_master_set(my_cpu, node_vertex); in klhwg_add_disabled_cpu()
283 klhwg_add_cpu(vertex_hdl_t node_vertex, cnodeid_t cnode, klcpu_t *cpu) in klhwg_add_cpu() argument
298 GRPRINTF(("klhwg_add_cpu: adding %s to vertex 0x%p\n", name, node_vertex)); in klhwg_add_cpu()
299 (void) hwgraph_path_add(node_vertex, name, &my_cpu); in klhwg_add_cpu()
304 device_master_set(my_cpu, node_vertex); in klhwg_add_cpu()
307 if (hwgraph_edge_get(node_vertex, EDGE_LBL_CPU, &cpu_dir) == GRAPH_SUCCESS) { in klhwg_add_cpu()
431 vertex_hdl_t node_vertex = NULL; in klhwg_add_tionode() local
443 rv = hwgraph_path_add(hwgraph_root, path_buffer, &node_vertex); in klhwg_add_tionode()
448 …HWGRAPH_DEBUG((__FILE__, __FUNCTION__, __LINE__, node_vertex, NULL, "Created path for TIO node.\n"… in klhwg_add_tionode()
457 mark_nodevertex_as_node(node_vertex, in klhwg_add_tionode()
460 s = dev_to_name(node_vertex, path_buffer, sizeof(path_buffer)); in klhwg_add_tionode()
467 hubinfo_set(node_vertex, NODEPDA(cnode)->pdinfo); in klhwg_add_tionode()
478 klhwg_add_ice(node_vertex, hub, cnode); in klhwg_add_tionode()
490 vertex_hdl_t node_vertex = NULL; in klhwg_add_node() local
506 rv = hwgraph_path_add(hwgraph_root, path_buffer, &node_vertex); in klhwg_add_node()
510 …HWGRAPH_DEBUG((__FILE__, __FUNCTION__, __LINE__, node_vertex, NULL, "Created path for SHUB node.\n… in klhwg_add_node()
519 mark_nodevertex_as_node(node_vertex, in klhwg_add_node()
522 s = dev_to_name(node_vertex, path_buffer, sizeof(path_buffer)); in klhwg_add_node()
529 hubinfo_set(node_vertex, NODEPDA(cnode)->pdinfo); in klhwg_add_node()
549 rv = hwgraph_path_add(node_vertex, EDGE_LBL_CPU, &cpu_dir); in klhwg_add_node()
561 klhwg_add_cpu(node_vertex, cnode, cpu); in klhwg_add_node()
563 klhwg_add_disabled_cpu(node_vertex, cnode, cpu, brd->brd_slot); in klhwg_add_node()
570 klhwg_add_hub(node_vertex, hub, cnode); in klhwg_add_node()
588 vertex_hdl_t node_vertex; in klhwg_add_all_routers() local
611 rv = hwgraph_path_add(hwgraph_root, path_buffer, &node_vertex); in klhwg_add_all_routers()
617 HWGRAPH_DEBUG((__FILE__, __FUNCTION__, __LINE__, node_vertex, NULL, "Created router path.\n")); in klhwg_add_all_routers()