Home
last modified time | relevance | path

Searched refs:topo_list_next (Results 1 – 17 of 17) sorted by relevance

/illumos-gate/usr/src/lib/fm/topo/modules/common/usb/
H A Dtopo_usb.c309 for (p = topo_list_next(plist); p != NULL; p = topo_list_next(p)) { in topo_usb_lport_find()
312 for (l = topo_list_next(&p->tup_lports); l != NULL; in topo_usb_lport_find()
313 l = topo_list_next(l)) { in topo_usb_lport_find()
561 for (tuc = topo_list_next(&usb->tu_controllers); in topo_usb_gather_acpi()
563 tuc = topo_list_next(tuc)) { in topo_usb_gather_acpi()
741 clport = topo_list_next(&cport->tup_lports); in topo_usb_gather_devcfg_port()
821 l = topo_list_next(&p->tup_lports); in topo_usb_gather_devcfg_cb()
887 for (p = topo_list_next(&lport->tul_ports); p != NULL; in topo_usb_port_match_lport()
888 p = topo_list_next(p)) { in topo_usb_port_match_lport()
901 for (l = topo_list_next(&p->tup_lports); l != NULL; in topo_usb_port_match_lport()
[all …]
H A Dtopo_usb_metadata.c343 while ((mp = topo_list_next(metadata)) != NULL) { in topo_usb_free_metadata()
346 while ((path = topo_list_next((&mp->tmp_paths))) != NULL) { in topo_usb_free_metadata()
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_digraph.c136 for (tdg = topo_list_next(&thp->th_digraphs); tdg != NULL; in topo_digraph_get()
137 tdg = topo_list_next(tdg)) { in topo_digraph_get()
340 edge = topo_list_next(&vtx->tvt_incoming); in topo_vertex_destroy()
344 edge = topo_list_next(edge); in topo_vertex_destroy()
348 edge = topo_list_next(&vtx->tvt_outgoing); in topo_vertex_destroy()
352 edge = topo_list_next(edge); in topo_vertex_destroy()
375 for (topo_vertex_t *vtx = topo_list_next(&tdg->tdg_vertices); in topo_vertex_iter()
376 vtx != NULL; vtx = topo_list_next(vtx), n++) { in topo_vertex_iter()
462 for (topo_edge_t *edge = topo_list_next(&vtx->tvt_outgoing); in topo_edge_iter()
463 edge != NULL; edge = topo_list_next(edge), n++) { in topo_edge_iter()
[all …]
H A Dtopo_list.c150 for (nhp = topo_list_next(&pnode->tn_children); nhp != NULL; in topo_child_first()
151 nhp = topo_list_next(nhp)) { in topo_child_first()
178 for (nhp = node->tn_phash; nhp != NULL; nhp = topo_list_next(nhp)) { in topo_child_next()
197 if (topo_list_next(dest) != NULL) in topo_list_deepcopy()
200 for (elem = topo_list_next(src); elem != NULL; in topo_list_deepcopy()
201 elem = topo_list_next(elem)) { in topo_list_deepcopy()
217 elem = topo_list_next(dest); in topo_list_deepcopy()
221 elem = topo_list_next(elem); in topo_list_deepcopy()
H A Dtopo_method.c52 for (mp = topo_list_next(&node->tn_methods); mp != NULL; in topo_method_lookup()
53 mp = topo_list_next(mp)) { in topo_method_lookup()
74 for (mp = topo_list_next(&node->tn_methods); mp != NULL; in topo_method_supported()
75 mp = topo_list_next(mp)) { in topo_method_supported()
197 for (mp = topo_list_next(&node->tn_methods); mp != NULL; in topo_method_unregister()
198 mp = topo_list_next(mp)) { in topo_method_unregister()
225 while ((mp = topo_list_next(&node->tn_methods)) != NULL) { in topo_method_unregister_all()
244 for (mp = topo_list_next(&node->tn_methods); mp != NULL; in topo_method_call()
245 mp = topo_list_next(mp)) { in topo_method_call()
448 for (fp = topo_list_next(&faclist.tf_list); fp != NULL; in topo_method_sensor_failure()
[all …]
H A Dtopo_snap.c285 while ((tp = topo_list_next(&thp->th_trees)) != NULL) { in topo_close()
293 while ((tdg = topo_list_next(&thp->th_digraphs)) != NULL) { in topo_close()
479 for (tp = topo_list_next(&thp->th_trees); tp != NULL; in topo_snap_destroy()
480 tp = topo_list_next(tp)) { in topo_snap_destroy()
498 while ((nhp = topo_list_next(&root->tn_children)) != NULL) { in topo_snap_destroy()
513 for (tdg = topo_list_next(&thp->th_digraphs); tdg != NULL; in topo_snap_destroy()
514 tdg = topo_list_next(tdg)) { in topo_snap_destroy()
526 vtx = topo_list_next(&tdg->tdg_vertices); in topo_snap_destroy()
530 vtx = topo_list_next(vtx); in topo_snap_destroy()
572 for (tp = topo_list_next(&thp->th_trees); tp != NULL; in topo_walk_init()
[all …]
H A Dtopo_prop.c87 for (pg = topo_list_next(&node->tn_pgroups); pg != NULL; in pgroup_get()
88 pg = topo_list_next(pg)) { in pgroup_get()
105 for (pvl = topo_list_next(&pg->tpg_pvals); pvl != NULL; in propval_get()
106 pvl = topo_list_next(pvl)) { in propval_get()
989 for (pg = topo_list_next(&node->tn_pgroups); pg != NULL; in topo_prop_method_unregister()
990 pg = topo_list_next(pg)) { in topo_prop_method_unregister()
1001 for (pvl = topo_list_next(&pg->tpg_list); pvl != NULL; in topo_prop_method_unregister()
1002 pvl = topo_list_next(pvl)) { in topo_prop_method_unregister()
1137 for (pg = topo_list_next(&node->tn_pgroups); pg != NULL; in topo_pgroup_info()
1138 pg = topo_list_next(pg)) { in topo_pgroup_info()
[all …]
H A Dtopo_2xml.c371 for (plp = topo_list_next(&pg->tpg_pvals); plp != NULL; in txml_print_pgroup()
372 plp = topo_list_next(plp)) { in txml_print_pgroup()
381 if (topo_list_next(&node->tn_children) == NULL) in txml_print_dependents()
408 for (pg = topo_list_next(&node->tn_pgroups); pg != NULL; in txml_print_node()
409 pg = topo_list_next(pg)) { in txml_print_node()
424 for (nhp = topo_list_next(&node->tn_children); nhp != NULL; in txml_print_range()
425 nhp = topo_list_next(nhp)) { in txml_print_range()
474 for (tp = topo_list_next(&thp->th_trees); tp != NULL; in topo_xml_print()
475 tp = topo_list_next(tp)) { in topo_xml_print()
H A Dtopo_node.c185 while ((nhp = topo_list_next(&node->tn_children)) != NULL) { in topo_node_destroy()
325 for (nhp = topo_list_next(&pnode->tn_children); nhp != NULL; in topo_node_range_create()
326 nhp = topo_list_next(nhp)) { in topo_node_range_create()
373 for (nhp = topo_list_next(&pnode->tn_children); nhp != NULL; in topo_node_range_destroy()
374 nhp = topo_list_next(nhp)) { in topo_node_range_destroy()
414 for (nhp = topo_list_next(&pnode->tn_children); nhp != NULL; in topo_node_lookup()
415 nhp = topo_list_next(nhp)) { in topo_node_lookup()
472 for (nhp = topo_list_next(&pnode->tn_children); nhp != NULL; in topo_node_bind()
473 nhp = topo_list_next(nhp)) { in topo_node_bind()
567 for (nhp = topo_list_next(&pnode->tn_children); nhp != NULL; in topo_node_facbind()
[all …]
H A Dtopo_tree.c207 for (tp = topo_list_next(&thp->th_trees); tp != NULL; in topo_tree_enum_all()
208 tp = topo_list_next(tp)) { in topo_tree_enum_all()
H A Dtopo_subr.c227 for (tp = topo_list_next(&thp->th_trees); tp != NULL; in topo_hdl_root()
228 tp = topo_list_next(tp)) { in topo_hdl_root()
232 for (tdg = topo_list_next(&thp->th_digraphs); tdg != NULL; in topo_hdl_root()
233 tdg = topo_list_next(tdg)) { in topo_hdl_root()
H A Dtopo_list.h39 #define topo_list_next(elem) ((void *)(((topo_list_t *)(elem))->l_next)) macro
H A Dtopo_digraph_xml.c607 for (pg = topo_list_next(&tn->tn_pgroups); pg != NULL; in serialize_pgroups()
608 pg = topo_list_next(pg)) { in serialize_pgroups()
615 for (pg = topo_list_next(&tn->tn_pgroups); pg != NULL; in serialize_pgroups()
616 pg = topo_list_next(pg)) { in serialize_pgroups()
625 for (pvl = topo_list_next(&pg->tpg_pvals); pvl != NULL; in serialize_pgroups()
626 pvl = topo_list_next(pvl)) in serialize_pgroups()
631 for (pvl = topo_list_next(&pg->tpg_pvals); pvl != NULL; in serialize_pgroups()
632 pvl = topo_list_next(pvl)) { in serialize_pgroups()
H A Dhc.c2001 for (tmp = topo_list_next(&faclist.tf_list); tmp != NULL; in hc_fac_get()
2002 tmp = topo_list_next(tmp)) { in hc_fac_get()
2014 while ((tmp = topo_list_next(&faclist.tf_list)) != NULL) { in hc_fac_get()
/illumos-gate/usr/src/lib/fm/topo/modules/common/ses/
H A Dses.c815 while ((cp = topo_list_next(cpl)) != NULL) { in ses_data_free()
818 while ((np = topo_list_next(&cp->sec_nodes)) != NULL) { in ses_data_free()
819 while ((ap = topo_list_next(&np->sen_alt_nodes)) != in ses_data_free()
828 while ((tp = topo_list_next(&cp->sec_targets)) != NULL) { in ses_data_free()
1373 for (ap = topo_list_next(&snp->sen_alt_nodes); ap != NULL; in ses_add_bay_props()
1374 ap = topo_list_next(ap)) { in ses_add_bay_props()
1391 for (i = 0, ap = topo_list_next(&snp->sen_alt_nodes); ap != NULL; in ses_add_bay_props()
1392 ap = topo_list_next(ap)) { in ses_add_bay_props()
1664 for (dnode = topo_list_next(&sdp->sed_devs); dnode != NULL; in ses_set_expander_props()
1665 dnode = topo_list_next(dnode)) { in ses_set_expander_props()
[all …]
/illumos-gate/usr/src/lib/fm/topo/modules/common/disk/
H A Ddisk_common.c593 for (dnode = topo_list_next(listp); dnode != NULL; in disk_declare_path()
594 dnode = topo_list_next(dnode)) { in disk_declare_path()
617 for (dnode = topo_list_next(listp); dnode != NULL; in disk_declare_addr()
618 dnode = topo_list_next(dnode)) { in disk_declare_addr()
654 for (dnode = topo_list_next(listp); dnode != NULL; in disk_declare_bridge()
655 dnode = topo_list_next(dnode)) { in disk_declare_bridge()
776 for (dnode = topo_list_next(cbp->dcb_list); in dev_di_node_add()
777 dnode != NULL; dnode = topo_list_next(dnode)) { in dev_di_node_add()
1117 while ((dnode = topo_list_next(listp)) != NULL) { in dev_list_free()
/illumos-gate/usr/src/cmd/diskinfo/
H A Ddiskinfo.c174 for (lp = topo_list_next(&fl.tf_list); in disk_walker()
175 lp != NULL; lp = topo_list_next(lp)) { in disk_walker()