Searched refs:user_ncpus (Results 1 – 1 of 1) sorted by relevance
182 uint_t user_ncpus = 0, real_ncpus, copy_ncpus; in pset_info() local187 if (copyin(numcpusp, &user_ncpus, sizeof (uint_t)) != 0) in pset_info()191 if (user_ncpus > max_ncpus) /* sanity check */ in pset_info()192 user_ncpus = max_ncpus; in pset_info()193 if (user_ncpus != 0 && cpulistp != NULL) in pset_info()194 pset_cpus = kmem_alloc(sizeof (processorid_t) * user_ncpus, in pset_info()197 real_ncpus = user_ncpus; in pset_info()211 if (user_ncpus != 0 && cpulistp != NULL) { in pset_info()212 copy_ncpus = MIN(real_ncpus, user_ncpus); in pset_info()220 kmem_free(pset_cpus, sizeof (processorid_t) * user_ncpus); in pset_info()[all …]