Home
last modified time | relevance | path

Searched refs:vtx (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_digraph.c260 topo_vertex_t *vtx = NULL; in topo_vertex_new() local
269 if ((vtx = topo_mod_zalloc(mod, sizeof (topo_vertex_t))) == NULL || in topo_vertex_new()
280 tn->tn_vtx = vtx; in topo_vertex_new()
288 vtx->tvt_node = tn; in topo_vertex_new()
301 topo_list_append(&tdg->tdg_vertices, vtx); in topo_vertex_new()
303 return (vtx); in topo_vertex_new()
311 if (vtx != 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() argument
323 return (vtx->tvt_node); in topo_vertex_node()
[all …]
H A Dtopo_digraph_xml.c662 serialize_vertex(topo_hdl_t *thp, topo_vertex_t *vtx, boolean_t last_vtx, in serialize_vertex() argument
671 tn = topo_vertex_node(vtx); in serialize_vertex()
692 if (vtx->tvt_noutgoing != 0) { in serialize_vertex()
695 if (topo_edge_iter(thp, vtx, serialize_edge, fp) != 0) { in serialize_vertex()
808 edge_cb(topo_hdl_t *thp, topo_vertex_t *vtx, boolean_t last_vtx, void *arg) in edge_cb() argument
816 tn = topo_vertex_node(vtx); in edge_cb()
830 cbarg->from_vtx = vtx; in edge_cb()
832 cbarg->to_vtx = vtx; in edge_cb()
925 add_props(topo_hdl_t *thp, topo_vertex_t *vtx, nvlist_t *pgroups) in add_props() argument
931 tn = topo_vertex_node(vtx); in add_props()
[all …]
H A Dtopo_snap.c516 topo_vertex_t *vtx; in topo_snap_destroy() local
526 vtx = topo_list_next(&tdg->tdg_vertices); in topo_snap_destroy()
527 while (vtx != NULL) { in topo_snap_destroy()
528 topo_vertex_t *tmp = vtx; in topo_snap_destroy()
530 vtx = topo_list_next(vtx); in topo_snap_destroy()
H A Dtopo_mod.h332 extern void topo_vertex_destroy(topo_mod_t *mod, topo_vertex_t *vtx);
/illumos-gate/usr/src/test/os-tests/tests/libtopo/
H A Ddigraph-test.c122 test_paths_cb(topo_hdl_t *thp, topo_vertex_t *vtx, boolean_t last_vtx, in test_paths_cb() argument
126 uint_t idx = topo_node_instance(topo_vertex_node(vtx)); in test_paths_cb()
128 cbarg->vertices[idx] = vtx; in test_paths_cb()
/illumos-gate/usr/src/uts/common/io/rtw/
H A Drtw.c1214 caddr_t virbaseaddr, vtx[RTW_NTXPRI], vrx; in rtw_dma_init() local
1234 vtx[0] = (caddr_t)(RTW_RING_BASE(virbaseaddr, hd_txlo)); in rtw_dma_init()
1235 vtx[1] = (caddr_t)(RTW_RING_BASE(virbaseaddr, hd_txmd)); in rtw_dma_init()
1236 vtx[2] = (caddr_t)(RTW_RING_BASE(virbaseaddr, hd_txhi)); in rtw_dma_init()
1237 vtx[3] = (caddr_t)(RTW_RING_BASE(virbaseaddr, hd_bcn)); in rtw_dma_init()
1240 i, vtx[i]); in rtw_dma_init()
1250 (struct rtw_txdesc *)(uintptr_t)vtx[i]; in rtw_dma_init()