Searched defs:numcpus (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/sys/
H A Dpsetsys.c64 pset_info(psetid_t pset, int *type, uint_t *numcpus, processorid_t *cpulist) argument
66 return (_pset(PSET_INFO, pset, type, numcpus, cpulist));
/illumos-gate/usr/src/uts/common/disp/
H A Dcpupart.c1075 * Get a list of cpus belonging to the partition. If numcpus is NULL,
1076 * this just checks for a valid partition. If numcpus is non-NULL but
1077 * cpulist is NULL, the current number of cpus is stored in *numcpus.
1078 * If both are non-NULL, the current number of cpus is stored in *numcpus,
1079 * and a list of those cpus up to the size originally in *numcpus is
1084 cpupart_get_cpus(psetid_t *psid, processorid_t *cpulist, uint_t *numcpus) argument
1099 if (numcpus) {
1100 if (ncpus > *numcpus) {
1106 ncpus = *numcpus;
1107 *numcpus
[all...]
/illumos-gate/usr/src/cmd/psrset/
H A Dpsrset.c222 info_out(psetid_t pset, int type, uint_t numcpus, processorid_t *cpus) argument
229 if (numcpus == 0)
231 else if (numcpus > 1)
235 for (i = 0; i < numcpus; i++)
360 uint_t numcpus; local
363 numcpus = (uint_t)sysconf(_SC_NPROCESSORS_MAX);
365 malloc(numcpus * sizeof (processorid_t));
370 if (pset_info(pset, &type, &numcpus, cpus) != 0) {
375 info_out(pset, type, numcpus, cpus);
394 uint_t i, numcpus; local
[all...]
/illumos-gate/usr/src/uts/sun4u/starcat/io/
H A Dscosmb.c328 int jj = 0, numcpus = 0, nummaxcpus = 0; local
344 numcpus = ncores;
351 numcpus = 2 * ncores;
358 numcpus = plat_max_cpu_units_per_board();
369 /* Slot 0 id was given - set numcpus */
370 numcpus = plat_max_cpu_units_per_board();
384 num = numcpus + nummaxcpus;
453 count = numcpus;
469 for (ii = 0; ii < numcpus; ii++) {
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsgsbbc_mailbox.c2315 int jj = 0, numcpus = 0; local
2325 numcpus = ncores;
2329 numcpus = 2 * ncores;
2333 numcpus = SG_MAX_CPUS_PER_BD;
2341 num = numcpus;

Completed in 56 milliseconds