Searched refs:topo_vertex_t (Results 1 – 9 of 9) sorted by relevance
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_digraph.c | 256 topo_vertex_t * 260 topo_vertex_t *vtx = NULL; in topo_vertex_new() 269 if ((vtx = topo_mod_zalloc(mod, sizeof (topo_vertex_t))) == NULL || in topo_vertex_new() 312 topo_mod_free(mod, vtx, sizeof (topo_vertex_t)); in topo_vertex_new() 321 topo_vertex_node(topo_vertex_t *vtx) in topo_vertex_node() 331 topo_vertex_destroy(topo_mod_t *mod, topo_vertex_t *vtx) in topo_vertex_destroy() 356 topo_mod_free(mod, vtx, sizeof (topo_vertex_t)); in topo_vertex_destroy() 371 int (*func)(topo_hdl_t *, topo_vertex_t *, boolean_t, void *), void *arg) in topo_vertex_iter() argument 375 for (topo_vertex_t *vtx = topo_list_next(&tdg->tdg_vertices); in topo_vertex_iter() 407 topo_edge_new(topo_mod_t *mod, topo_vertex_t *from, topo_vertex_t *to) in topo_edge_new() [all …]
|
H A D | libtopo.h | 62 typedef struct topo_vertex topo_vertex_t; typedef 73 topo_vertex_t *tspc_vertex; 448 int (*)(topo_hdl_t *, topo_vertex_t *, boolean_t, void *), void *); 449 extern tnode_t *topo_vertex_node(topo_vertex_t *); 450 extern int topo_edge_iter(topo_hdl_t *, topo_vertex_t *, 453 topo_vertex_t *, topo_vertex_t *, topo_path_t ***, uint_t *); 458 extern topo_vertex_t *topo_node_vertex(tnode_t *);
|
H A D | topo_mod.h | 330 extern topo_vertex_t *topo_vertex_new(topo_mod_t *, const char *, 332 extern void topo_vertex_destroy(topo_mod_t *mod, topo_vertex_t *vtx); 334 extern int topo_edge_new(topo_mod_t *, topo_vertex_t *, topo_vertex_t *);
|
H A D | topo_digraph.h | 57 topo_vertex_t *tve_vertex;
|
H A D | topo_tree.h | 76 topo_vertex_t *tn_vtx; /* NULL for tree topologies */
|
H A D | topo_digraph_xml.c | 662 serialize_vertex(topo_hdl_t *thp, topo_vertex_t *vtx, boolean_t last_vtx, in serialize_vertex() 803 topo_vertex_t *from_vtx; 804 topo_vertex_t *to_vtx; 808 edge_cb(topo_hdl_t *thp, topo_vertex_t *vtx, boolean_t last_vtx, void *arg) in edge_cb() 925 add_props(topo_hdl_t *thp, topo_vertex_t *vtx, nvlist_t *pgroups) in add_props() 1336 topo_vertex_t *vtx = NULL; in deserialize_vertex()
|
H A D | topo_snap.c | 516 topo_vertex_t *vtx; in topo_snap_destroy() 528 topo_vertex_t *tmp = vtx; in topo_snap_destroy()
|
H A D | topo_node.c | 268 topo_vertex_t *
|
/illumos-gate/usr/src/test/os-tests/tests/libtopo/ |
H A D | digraph-test.c | 118 topo_vertex_t **vertices; 122 test_paths_cb(topo_hdl_t *thp, topo_vertex_t *vtx, boolean_t last_vtx, in test_paths_cb() 136 topo_vertex_t *vertices[TEST_GRAPH_SZ]; in test_paths()
|