Lines Matching defs:numcpus
1075 * 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)
1099 if (numcpus) {
1100 if (ncpus > *numcpus) {
1106 ncpus = *numcpus;
1107 *numcpus = t;
1109 *numcpus = ncpus;