Searched refs:nrcs (Results 1 – 5 of 5) sorted by relevance
/titanic_44/usr/src/lib/fm/topo/modules/sun4v/hostbridge/ |
H A D | hb_mdesc.c | 83 int id, nnode, nio, nrcs; in hb_rc_init() local 107 for (i = 0, nrcs = 0; i < nio; i++) { in hb_rc_init() 110 nrcs++; in hb_rc_init() 112 topo_mod_dprintf(mod, "Found %d pciex buses\n", nrcs); in hb_rc_init() 113 if (nrcs == 0) { in hb_rc_init() 130 hbp->srcs = nrcs; in hb_rc_init() 131 hbp->rcs = topo_mod_zalloc(mod, sizeof (md_rc_t) * nrcs); in hb_rc_init() 132 hbp->nrcs = 0; in hb_rc_init() 133 for (i = 0, nrcs = 0; i < nio; i++) { in hb_rc_init() 138 hbp->rcs[nrcs].id = -1; /* invalidate the entry */ in hb_rc_init() [all …]
|
H A D | hb_sun4v.c | 291 int nrcs, nrcnode = 0; in platform_hb_enum() local 307 nrcs = 0; in platform_hb_enum() 311 nrcs += hbp->srcs; in platform_hb_enum() 313 if (hbmd.shbs <= 0 || nrcs <= 0) { in platform_hb_enum() 320 rcnode = topo_mod_zalloc(mod, nrcs * sizeof (tnode_t *)); in platform_hb_enum() 373 for (j = 0, rcp = hbp->rcs; j < hbp->nrcs; j++, rcp++) { in platform_hb_enum() 408 topo_mod_free(mod, rcnode, nrcs * sizeof (tnode_t *)); in platform_hb_enum()
|
H A D | hb_rcid.h | 49 int nrcs; /* number of pciexrc */ member
|
H A D | hb_mdesc.h | 58 int16_t nrcs; /* count of rc entries in rcs */ member
|
H A D | hb_rcid.c | 112 for (i = 0; i < prcids.plats[p].nrcs; i++) { in hb_find_rc_pid()
|