Searched defs:ncpu (Results 1 - 5 of 5) sorted by relevance
/osnet-11/usr/src/lib/fm/libfmd_agent/i386/ |
H A D | fmd_agent_i386.c | 80 fmd_agent_physcpu_info(fmd_agent_hdl_t *hdl, nvlist_t ***cpusp, uint_t *ncpu) argument 89 return (fmd_agent_physcpu_info_v1(hdl, cpusp, ncpu));
|
/osnet-11/usr/src/lib/fm/topo/modules/i86pc/chip/common/ |
H A D | chip_label.c | 541 uint_t ncpu; local 548 if (fmd_agent_physcpu_info(hdl, &cpus, &ncpu) == -1) { 556 for (i = 0; i < ncpu; i++) { 569 for (i = 0; i < ncpu; i++) 571 umem_free(cpus, sizeof (nvlist_t *) * ncpu);
|
H A D | chip.c | 674 uint_t i, ncpu; local 681 if (fmd_agent_physcpu_info(hdl, &cpus, &ncpu) != 0) { 689 for (i = 0; i < ncpu; i++) { 694 umem_free(cpus, sizeof (nvlist_t *) * ncpu);
|
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/platform-cpu/common/ |
H A D | cpu_mdesc.c | 165 int nnode, ncomp, nproc, ncpu; local 184 for (i = 0, nproc = 0, ncpu = 0; i < ncomp; i++) { 196 ncpu++; 199 topo_mod_dprintf(mod, "Found %d procs and %d strands\n", nproc, ncpu); 200 if (nproc == 0 || ncpu == 0) { 206 list2p = topo_mod_zalloc(mod, sizeof (mde_cookie_t) * 2 * ncpu); 209 chip->ncpus = ncpu; 210 chip->cpus = topo_mod_zalloc(mod, ncpu * sizeof (md_cpumap_t)); 215 for (i = 0, nproc = 0, ncpu = 0; i < ncomp; i++) { 281 ncpu [all...] |
/osnet-11/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | ap_rcm.c | 220 int ncpu; local 239 for (ncpu = 0, ksp = kc->kc_chain; ksp != NULL; ksp = ksp->ks_next) { 241 cp[ncpu++] = ksp->ks_instance; 249 *ncpuids = ncpu; 424 int ncpu; local 432 for (ncpu = 0, cm = rcm->firstcm; cm <= rcm->lastcm; cm++) { 437 ncpu += ap_cm_ncap(a, cm); 441 rcm->ncpus = ncpu; 442 if ((rcm->cpuids = (cpuid_t *)calloc(ncpu, sizeof (cpuid_t)))
|
Completed in 30 milliseconds