/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_list.h | 38 #define topo_list_prev(elem) ((void *)(((topo_list_t *)(elem))->l_prev)) 39 #define topo_list_next(elem) ((void *)(((topo_list_t *)(elem))->l_next)) 41 extern void topo_list_append(topo_list_t *, void *); 42 extern void topo_list_prepend(topo_list_t *, void *); 43 extern void topo_list_insert_before(topo_list_t *, void *, void *); 44 extern void topo_list_insert_after(topo_list_t *, void *, void *); 45 extern void topo_list_delete(topo_list_t *, void *); 46 extern int topo_list_deepcopy(topo_hdl_t *, topo_list_t *, topo_list_t *, 52 extern topo_list_t *topo_sibling_list(tnode_t *);
|
H A D | topo_list.c | 57 topo_list_append(topo_list_t *lp, void *new) in topo_list_append() 59 topo_list_t *p = lp->l_prev; /* p = tail list element */ in topo_list_append() 60 topo_list_t *q = new; /* q = new list element */ in topo_list_append() 76 topo_list_prepend(topo_list_t *lp, void *new) in topo_list_prepend() 78 topo_list_t *p = new; /* p = new list element */ in topo_list_prepend() 79 topo_list_t *q = lp->l_next; /* q = head list element */ in topo_list_prepend() 95 topo_list_insert_before(topo_list_t *lp, void *before_me, void *new) in topo_list_insert_before() 97 topo_list_t *p = before_me; in topo_list_insert_before() 98 topo_list_t *q = new; in topo_list_insert_before() 112 topo_list_insert_after(topo_list_t *lp, void *after_me, void *new) in topo_list_insert_after() [all …]
|
H A D | topo_digraph.h | 37 topo_list_t tdg_list; /* next/prev pointers */ 41 topo_list_t tdg_vertices; /* adjacency list */ 47 topo_list_t tvt_list; /* next/prev pointers */ 49 topo_list_t tvt_incoming; 50 topo_list_t tvt_outgoing; 56 topo_list_t tve_list; /* next/prev pointers */
|
H A D | topo_tree.h | 53 topo_list_t th_list; /* next/prev pointers */ 71 topo_list_t tn_children; /* hash table of child nodes */ 72 topo_list_t tn_pgroups; /* Property group list */ 73 topo_list_t tn_methods; /* Registered method list */ 85 topo_list_t tt_list; /* next/prev pointers */ 121 topo_list_t th_trees; /* Scheme-specific topo tree list */ 122 topo_list_t th_digraphs; /* Scheme-specific topo digraph list */
|
H A D | topo_prop.h | 45 topo_list_t tpg_list; /* next/prev pointers */ 47 topo_list_t tpg_pvals; /* property values */ 68 topo_list_t tp_list; /* next/prev pointers */
|
H A D | libtopo.h | 54 } topo_list_t; typedef 57 topo_list_t tf_list; 68 topo_list_t tsp_components; 72 topo_list_t tspc_link;
|
H A D | topo_digraph.c | 516 topo_list_t dgp_link; 535 topo_list_t *all_paths, const char *curr_path, in visit_vertex() 536 topo_list_t *curr_path_comps, uint_t *npaths) in visit_vertex() 638 topo_list_t all_paths = { 0 }; in topo_digraph_paths() 641 topo_list_t curr_path_comps = { 0 }; in topo_digraph_paths()
|
H A D | topo_method.h | 39 topo_list_t tim_list; /* next/prev pointers */
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/usb/ |
H A D | topo_usb_int.h | 38 topo_list_t tmpp_link; 50 topo_list_t tmp_link; 54 topo_list_t tmp_paths; 63 extern int topo_usb_load_metadata(topo_mod_t *, tnode_t *, topo_list_t *, 65 extern void topo_usb_free_metadata(topo_mod_t *, topo_list_t *);
|
H A D | topo_usb.c | 149 topo_list_t tup_link; 151 topo_list_t tup_lports; 160 topo_list_t tul_link; 168 topo_list_t tul_ports; 174 topo_list_t tuc_link; 185 topo_list_t tuc_ports; 207 topo_list_t tu_controllers; 210 topo_list_t tu_metadata; 212 topo_list_t tu_chassis_ports; 305 topo_usb_lport_find(topo_list_t *plist, uint_t logid) in topo_usb_lport_find() [all …]
|
H A D | topo_usb_metadata.c | 134 topo_list_t *tp_ports; 339 topo_usb_free_metadata(topo_mod_t *mod, topo_list_t *metadata) in topo_usb_free_metadata() 360 topo_usb_load_metadata(topo_mod_t *mod, tnode_t *pnode, topo_list_t *list, in topo_usb_load_metadata()
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/disk/ |
H A D | disk.c | 52 disk_declare_driver(topo_mod_t *mod, tnode_t *baynode, topo_list_t *dlistp, in disk_declare_driver() 90 topo_list_t *dlistp = &disk->td_dlist; in disk_enum()
|
H A D | disk_drivers.h | 30 topo_list_t td_dlist;
|
H A D | disk_common.c | 58 topo_list_t *dcb_list; 583 disk_declare_path(topo_mod_t *mod, tnode_t *parent, topo_list_t *listp, in disk_declare_path() 610 disk_declare_addr(topo_mod_t *mod, tnode_t *parent, topo_list_t *listp, in disk_declare_addr() 647 disk_declare_bridge(topo_mod_t *mod, tnode_t *parent, topo_list_t *listp, in disk_declare_bridge() 1081 dev_list_gather(topo_mod_t *mod, topo_list_t *listp) in dev_list_gather() 1113 dev_list_free(topo_mod_t *mod, topo_list_t *listp) in dev_list_free()
|
H A D | disk.h | 95 topo_list_t ddn_list; /* list of devices */
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/ses/ |
H A D | ses.h | 50 topo_list_t set_link;
|
H A D | ses.c | 80 topo_list_t san_link; 85 topo_list_t sen_link; 87 topo_list_t sen_alt_nodes; 94 topo_list_t sec_link; 95 topo_list_t sec_subchassis; 96 topo_list_t sec_nodes; 97 topo_list_t sec_targets; 109 topo_list_t sed_devs; 110 topo_list_t sed_chassis; 807 topo_list_t *cpl; in ses_data_free()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/libtopo/ |
H A D | libtopo.c | 897 topo_list_t tl; in tlist_walk_init() 910 wsp->walk_data = mdb_alloc(sizeof (topo_list_t), UM_SLEEP | UM_GC); in tlist_walk_init() 919 topo_list_t *tl; in tlist_walk_step() 924 if (mdb_vread(wsp->walk_data, sizeof (topo_list_t), wsp->walk_addr) == in tlist_walk_step() 929 tl = (topo_list_t *)wsp->walk_data; in tlist_walk_step()
|