Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/fm/topo/modules/sun4v/hostbridge/
H A Dhb_sun4v.c287 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 Dhb_mdesc.h71 extern md_hb_t *hb_find_hb(md_info_t *hbmd, int hbid);