Home
last modified time | relevance | path

Searched refs:topo_list_t (Results 1 – 18 of 18) sorted by relevance

/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_list.h38 #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 Dtopo_list.c57 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 Dtopo_digraph.h37 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 Dtopo_tree.h53 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 Dtopo_prop.h45 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 Dlibtopo.h54 } topo_list_t; typedef
57 topo_list_t tf_list;
68 topo_list_t tsp_components;
72 topo_list_t tspc_link;
H A Dtopo_digraph.c516 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 Dtopo_method.h39 topo_list_t tim_list; /* next/prev pointers */
/illumos-gate/usr/src/lib/fm/topo/modules/common/usb/
H A Dtopo_usb_int.h38 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 Dtopo_usb.c149 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 Dtopo_usb_metadata.c134 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 Ddisk.c52 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 Ddisk_drivers.h30 topo_list_t td_dlist;
H A Ddisk_common.c58 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 Ddisk.h95 topo_list_t ddn_list; /* list of devices */
/illumos-gate/usr/src/lib/fm/topo/modules/common/ses/
H A Dses.h50 topo_list_t set_link;
H A Dses.c80 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 Dlibtopo.c897 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()