Searched refs:hbmd (Results 1 – 2 of 2) sorted by relevance
/titanic_44/usr/src/lib/fm/topo/modules/sun4v/hostbridge/ |
H A D | hb_sun4v.c | 287 md_info_t hbmd; in platform_hb_enum() local 300 (void) bzero((void *) &hbmd, sizeof (hbmd)); in platform_hb_enum() 301 if (hb_mdesc_init(mod, &hbmd) != 0) { in platform_hb_enum() 308 for (i = 0, hbp = hbmd.hbs; i < hbmd.shbs; i++, hbp++) { in platform_hb_enum() 313 if (hbmd.shbs <= 0 || nrcs <= 0) { in platform_hb_enum() 316 hb_mdesc_fini(mod, &hbmd); in platform_hb_enum() 319 hbnode = topo_mod_zalloc(mod, hbmd.shbs * sizeof (tnode_t *)); in platform_hb_enum() 328 if ((hbp = hb_find_hb(&hbmd, i)) == NULL) { in platform_hb_enum() 407 topo_mod_free(mod, hbnode, hbmd.shbs * sizeof (tnode_t *)); in platform_hb_enum() 409 hb_mdesc_fini(mod, &hbmd); in platform_hb_enum()
|
H A D | hb_mdesc.h | 71 extern md_hb_t *hb_find_hb(md_info_t *hbmd, int hbid);
|