Lines Matching refs:NCPU
54 struct cpu_node cpunodes[NCPU];
120 if (cpuid >= NCPU) { in fill_cpu()
258 if (lcpuid >= NCPU) in setup_chip_mappings()
327 idx = NCPU + i; in setup_exec_unit_mappings()
343 if (lcpuid >= NCPU) in setup_exec_unit_mappings()
880 ncpu_guest_max = NCPU; in get_q_sizes()
1245 cp = kmem_alloc(sizeof (mde_cookie_t) * NCPU, KM_SLEEP); in load_tlb_cpu_mappings()
1246 cpids = kmem_alloc(sizeof (uint64_t) * NCPU, KM_SLEEP); in load_tlb_cpu_mappings()
1278 ASSERT(cpids[cp_idx] < NCPU); in load_tlb_cpu_mappings()
1303 kmem_free(cp, sizeof (mde_cookie_t) * NCPU); in load_tlb_cpu_mappings()
1305 kmem_free(cpids, sizeof (uint64_t) * NCPU); in load_tlb_cpu_mappings()
1353 cpuid2pset = kmem_zalloc(sizeof (cpuset_t *) * NCPU, in plat_cpuid_to_mmu_ctx_info()
1355 nctxs = kmem_alloc(sizeof (uint_t) * NCPU, KM_SLEEP); in plat_cpuid_to_mmu_ctx_info()
1358 for (idx = 0; idx < NCPU; idx++) { in plat_cpuid_to_mmu_ctx_info()
1367 ASSERT(id < NCPU); in plat_cpuid_to_mmu_ctx_info()
1395 ASSERT(id < NCPU); in plat_cpuid_to_mmu_ctx_info()