Home
last modified time | relevance | path

Searched refs:ncores (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/lib/libc/amd64/gen/
H A Dproc64_id.c122 int ncores; in get_amd_cache_info() local
149 ncores = (cpuid_info.ecx & 0xff) + 1; in get_amd_cache_info()
150 if (ncores > 1) in get_amd_cache_info()
151 largest_level_cache /= ncores; in get_amd_cache_info()
/titanic_41/usr/src/uts/i86pc/io/dr/
H A Ddr_cpu.c635 dr_fill_cmp_stat(sbd_cpu_stat_t *csp, int ncores, int impl, sbd_cmp_stat_t *psp) in dr_fill_cmp_stat() argument
639 ASSERT(csp && psp && (ncores >= 1)); in dr_fill_cmp_stat()
667 for (core = 1; core < ncores; core++) { in dr_fill_cmp_stat()
723 int ncores; in dr_cpu_status() local
733 ncores = 0; in dr_cpu_status()
758 dr_fill_cpu_stat(cp, &pstat, &cstat[ncores++]); in dr_cpu_status()
766 if (ncores == 0) { in dr_cpu_status()
781 dr_fill_cmp_stat(cstat, ncores, impl, psp); in dr_cpu_status()
783 ASSERT(ncores == 1); in dr_cpu_status()
/titanic_41/usr/src/uts/sun4u/ngdr/io/
H A Ddr_cpu.c698 dr_fill_cmp_stat(sbd_cpu_stat_t *csp, int ncores, int impl, sbd_cmp_stat_t *psp) in dr_fill_cmp_stat() argument
702 ASSERT(csp && psp && (ncores >= 1)); in dr_fill_cmp_stat()
730 for (core = 1; core < ncores; core++) { in dr_fill_cmp_stat()
791 int ncores; in dr_cpu_status() local
801 ncores = 0; in dr_cpu_status()
826 dr_fill_cpu_stat(cp, &pstat, &cstat[ncores++]); in dr_cpu_status()
834 if (ncores == 0) { in dr_cpu_status()
850 dr_fill_cmp_stat(cstat, ncores, impl, psp); in dr_cpu_status()
852 ASSERT(ncores == 1); in dr_cpu_status()
/titanic_41/usr/src/uts/sun4u/io/
H A Dsbd_cpu.c163 sbd_fill_cmp_stat(sbd_cpu_stat_t *csp, int ncores, int impl, in sbd_fill_cmp_stat() argument
168 ASSERT(csp && psp && (ncores >= 1)); in sbd_fill_cmp_stat()
196 for (core = 1; core < ncores; core++) { in sbd_fill_cmp_stat()
273 int ncores; in sbd_cpu_flags() local
282 ncores = 0; in sbd_cpu_flags()
303 sbd_fill_cpu_stat(cp, dip, &cstat[ncores++]); in sbd_cpu_flags()
306 if (ncores == 0) in sbd_cpu_flags()
320 sbd_fill_cmp_stat(cstat, ncores, cp->sbc_cpu_impl, psp); in sbd_cpu_flags()
322 ASSERT(ncores == 1); in sbd_cpu_flags()
/titanic_41/usr/src/uts/sun4u/starcat/io/
H A Dscosmb.c329 int count, exp, ii, num, ncores, ret, slot, port; in dp_payload_add_cpus() local
334 ncores = dp_get_cores(dpmsg->cpuid); in dp_payload_add_cpus()
342 nummaxcpus = ncores; in dp_payload_add_cpus()
344 numcpus = ncores; in dp_payload_add_cpus()
349 nummaxcpus = 2 * ncores; in dp_payload_add_cpus()
351 numcpus = 2 * ncores; in dp_payload_add_cpus()
/titanic_41/usr/src/uts/sun4u/serengeti/io/
H A Dsgsbbc_mailbox.c2316 int bd, procpos, ii, num, ncores, ret; in dp_payload_add_cpus() local
2321 ncores = dp_get_cores(dpmsg->cpuid); in dp_payload_add_cpus()
2325 numcpus = ncores; in dp_payload_add_cpus()
2329 numcpus = 2 * ncores; in dp_payload_add_cpus()