Home
last modified time | relevance | path

Searched refs:hbmdp (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/lib/fm/topo/modules/sun4v/hostbridge/
H A Dhb_mdesc.c80 hb_rc_init(topo_mod_t *mod, md_t *mdp, md_info_t *hbmdp) in hb_rc_init() argument
90 bzero(hbmdp, sizeof (md_info_t)); in hb_rc_init()
125 hbmdp->shbs = hbmdp->nhbs = 1; in hb_rc_init()
126 hbp = topo_mod_zalloc(mod, sizeof (md_hb_t) * hbmdp->nhbs); in hb_rc_init()
128 hbmdp->hbs = hbp; in hb_rc_init()
211 hb_mdesc_fini(topo_mod_t *mod, md_info_t *hbmdp) in hb_mdesc_fini() argument
216 if (hbmdp->hbs == NULL) in hb_mdesc_fini()
219 for (i = 0, hbp = hbmdp->hbs; i < hbmdp->nhbs; i++, hbp++) { in hb_mdesc_fini()
224 topo_mod_free(mod, hbmdp->hbs, hbmdp->shbs * sizeof (md_hb_t)); in hb_mdesc_fini()
H A Dhb_mdesc.h68 extern int hb_mdesc_init(topo_mod_t *mod, md_info_t *hbmdp);
69 extern void hb_mdesc_fini(topo_mod_t *mod, md_info_t *hbmdp);