Lines Matching refs:max_ncpus
308 sz = sizeof (cpu_idle_cb_state_t) * max_ncpus;
315 for (sp = cpu_idle_cb_state, i = 0; i < max_ncpus; i++, sp++) {
351 ASSERT(cp->cpu_seqid < max_ncpus);
363 ASSERT(cp->cpu_seqid < max_ncpus);
488 for (sp = cpu_idle_cb_state, i = 0; i < max_ncpus; i++, sp++) {
511 ASSERT(CPU->cpu_seqid < max_ncpus);
569 ASSERT(CPU->cpu_seqid < max_ncpus);
643 ASSERT(CPU->cpu_seqid < max_ncpus);
745 ASSERT(CPU->cpu_seqid < max_ncpus);
834 sz = sizeof (*valp) * CPU_IDLE_VALUE_GROUP_SIZE * max_ncpus;
1011 ASSERT(CPU_IDLE_CTX2CPUID(ctx) < max_ncpus);
1020 ASSERT(CPU->cpu_seqid < max_ncpus);
1041 ASSERT(CPU_IDLE_CTX2CPUID(ctx) < max_ncpus);
1054 ASSERT(CPU_IDLE_CTX2CPUID(ctx) < max_ncpus);
1067 ASSERT(CPU_IDLE_CTX2CPUID(ctx) < max_ncpus);
1080 ASSERT(CPU_IDLE_CTX2CPUID(ctx) < max_ncpus);
1093 ASSERT(CPU_IDLE_CTX2CPUID(ctx) < max_ncpus);
1105 for (i = 0; i < max_ncpus; i++) {
1129 ASSERT(cp != NULL && cp->cpu_seqid < max_ncpus);
1142 ASSERT(cp->cpu_seqid < max_ncpus);