Home
last modified time | relevance | path

Searched refs:NCPU (Results 1 – 25 of 123) sorted by relevance

12345

/titanic_44/usr/src/uts/sun4u/sys/
H A Dmachparam.h73 #define NCPU 64 macro
75 #ifndef NCPU
76 #define NCPU 32
80 #if (NCPU <= 1)
82 #elif (NCPU <= 2)
84 #elif (NCPU <= 4)
86 #elif (NCPU <= 8)
88 #elif (NCPU <= 16)
90 #elif (NCPU <= 32)
92 #elif (NCPU <= 64)
[all …]
/titanic_44/usr/src/cmd/mdb/i86pc/modules/apix/
H A Dapix.c32 static apix_impl_t *d_apixs[NCPU];
33 static int d_ncpus = NCPU;
64 d_ncpus = NCPU; in interrupt_dump_apix()
66 if (d_ncpus == 0 || d_ncpus > NCPU) in interrupt_dump_apix()
67 d_ncpus = NCPU; in interrupt_dump_apix()
/titanic_44/usr/src/uts/sun4/os/
H A Dmp_states.c45 static int kern_idle[NCPU]; /* kernel's idle loop */
96 ASSERT(cpuid < NCPU); in idle_other_cpus()
107 for (i = 0; i < NCPU; i++) { in idle_other_cpus()
143 ASSERT(cpuid < NCPU); in resume_other_cpus()
146 for (i = 0; i < NCPU; i++) { in resume_other_cpus()
154 for (i = 0; i < NCPU; i++) { in resume_other_cpus()
H A Dmp_startup.c52 struct cpu *cpu[NCPU]; /* pointers to all CPUs */
53 uint64_t cpu_pa[NCPU]; /* pointers to all CPUs in PA */
54 cpu_core_t cpu_core[NCPU]; /* cpu_core structures */
270 int trap_trace_inuse[NCPU];
551 ASSERT(cpuid < NCPU && cpu[cpuid] != NULL); in restart_other_cpu()
661 extern struct cpu *cpu[NCPU]; /* pointers to all CPUs */
736 for (cpuid = 0; cpuid < NCPU; cpuid++) { in start_other_cpus()
H A Dx_call.c43 uint_t x_dstat[NCPU][XC_LOOP_EXIT+1];
44 uint_t x_rstat[NCPU][4];
50 int xc_spl_enter[NCPU]; /* protect sending x-call */
62 } xc_mbox[NCPU];
131 for (pix = 0; pix < NCPU; pix++) { in xc_init()
154 for (pix = 0; pix < NCPU; pix++) { in xc_init()
777 for (pix = 0; pix < NCPU; pix++) { in xc_attention()
857 for (pix = 0; pix < NCPU; pix++) { in xc_dismissed()
873 for (pix = 0; pix < NCPU; pix++) { in xc_dismissed()
/titanic_44/usr/src/uts/sun4/sys/
H A Dxc_impl.h125 for (pix = 0; pix < NCPU; pix++) { \
147 for (pix = 0; pix < NCPU; pix++) { \
168 for (pix = 0; pix < NCPU; pix++) { \
195 for (pix = 0; pix < NCPU; pix++) { \
278 extern uint_t x_dstat[NCPU][XC_LOOP_EXIT+1];
279 extern uint_t x_rstat[NCPU][4];
H A Divintr.h48 #define MAX_RSVD_IV ((NCPU * 3) + 256) /* HW and Single target SW intrs */
102 intr_vec_t *iv_pil_xnext[NCPU -1]; /* For CPU1 through N-1 */
/titanic_44/usr/src/uts/i86pc/os/
H A Dmlsetup.c413 boot_ncpus = NCPU; in mlsetup()
416 if (boot_ncpus <= 0 || boot_ncpus > NCPU) in mlsetup()
417 boot_ncpus = NCPU; in mlsetup()
428 max_ncpus = NCPU; in mlsetup()
431 if (max_ncpus <= 0 || max_ncpus > NCPU) { in mlsetup()
432 max_ncpus = NCPU; in mlsetup()
443 if (boot_max_ncpus <= 0 || boot_max_ncpus > NCPU) { in mlsetup()
/titanic_44/usr/src/uts/i86pc/ml/
H A Dcomm_page.s36 hrtime_t tsc_sync_tick_delta[NCPU];
82 DGDEF2(tsc_sync_tick_delta, _MUL(NCPU, 8))
83 .fill _CONST(NCPU), 8, 0
/titanic_44/usr/src/uts/sun4v/sys/
H A Dmachparam.h59 #ifndef NCPU
60 #define NCPU 512 macro
75 #define MAX_CPU_CHIPID NCPU
225 #define PPMAP_FAST_SIZE (MAXPP_SLOTS * PAGESIZE * NCPU)
/titanic_44/usr/src/uts/sun4v/os/
H A Dfillsysinfo.c54 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()
[all …]
H A Dsuspend.c358 cpu_pg_t *pgps[NCPU]; in update_cpu_mappings()
371 for (id = 0; id < NCPU; id++) { in update_cpu_mappings()
393 for (id = 0; id < NCPU; id++) { in update_cpu_mappings()
409 for (id = 0; id < NCPU; id++) { in update_cpu_mappings()
421 for (id = 0; id < NCPU; id++) { in update_cpu_mappings()
434 for (id = 0; id < NCPU; id++) { in update_cpu_mappings()
/titanic_44/usr/src/uts/i86pc/sys/
H A Dcomm_page.h67 hrtime_t cp_tsc_sync_tick_delta[NCPU];
89 extern hrtime_t tsc_sync_tick_delta[NCPU];
H A Dmachparam.h61 #define NCPU 256 macro
64 #define NCPU 32
/titanic_44/usr/src/uts/sun4u/starcat/sys/
H A Ddomaind.h46 sig_state_t cpu_sigs[NCPU]; /* state for present CPUs */
47 uint32_t resetinfo_off[NCPU]; /* resetinfo offsets */
/titanic_44/usr/src/cmd/mdb/i86pc/modules/unix/
H A Dunix.c49 static apix_impl_t *d_apixs[NCPU];
85 size_t ttc_size = sizeof (trap_trace_ctl_t) * NCPU; in ttrace_walk_init()
113 for (i = 0; i < NCPU; i++) { in ttrace_walk_init()
144 for (i = 0; i < NCPU; i++) { in ttrace_walk_step()
187 mdb_free(wsp->walk_data, sizeof (trap_trace_ctl_t) * NCPU); in ttrace_walk_fini()
412 trap_trace_ctl_t ttd_ttc[NCPU];
465 for (i = 0; i < NCPU; i++) { in ttrace_walk()
524 size_t ttc_size = sizeof (trap_trace_ctl_t) * NCPU; in ttrace()
550 if (addr >= NCPU) { in ttrace()
/titanic_44/usr/src/uts/sun4u/opl/sys/
H A Ddrmach.h218 volatile uchar_t stat[NCPU];
231 volatile ushort_t error[NCPU];
233 struct memlist *cpu_ml[NCPU];
246 uint64_t nbytes[NCPU];
/titanic_44/usr/src/uts/sun4u/cpu/
H A Dus3_cheetah.c162 #if (NCPU > IDSR_BN_SETS) in send_mondo_set()
174 #if (NCPU <= IDSR_BN_SETS) in send_mondo_set()
175 for (i = 0; i < NCPU; i++) in send_mondo_set()
186 for (i = 0; i < NCPU; i++) in send_mondo_set()
215 #if (NCPU <= IDSR_BN_SETS) in send_mondo_set()
278 #if (NCPU > IDSR_BN_SETS) in send_mondo_set()
/titanic_44/usr/src/uts/i86pc/io/
H A Dmp_platform_common.c627 if ((local_ids = (uint32_t *)kmem_zalloc(NCPU * sizeof (uint32_t), in acpi_probe()
631 if ((proc_ids = (uint32_t *)kmem_zalloc(NCPU * sizeof (uint32_t), in acpi_probe()
633 kmem_free(local_ids, NCPU * sizeof (uint32_t)); in acpi_probe()
660 } else if (apic_nproc < NCPU && use_mp && in acpi_probe()
666 } else if (apic_nproc == NCPU && !warned) { in acpi_probe()
673 psm_name, NCPU); in acpi_probe()
763 } else if (apic_nproc < NCPU && use_mp && in acpi_probe()
769 } else if (apic_nproc == NCPU && !warned) { in acpi_probe()
776 psm_name, NCPU); in acpi_probe()
973 kmem_free(local_ids, NCPU * sizeof (uint32_t)); in acpi_probe()
[all …]
/titanic_44/usr/src/uts/common/os/
H A Dftrace.c274 for (i = 0; i < NCPU; i++) { in ftrace_init()
289 for (i = 0; i < NCPU; i++) in ftrace_init()
315 for (i = 0; i < NCPU; i++) in ftrace_start()
336 for (i = 0; i < NCPU; i++) in ftrace_stop()
H A Dclock_tick.c139 cpu_t *clock_tick_cpus[NCPU];
140 clock_tick_cpu_t *clock_tick_cpu[NCPU];
179 buf = (uintptr_t)kmem_zalloc(size * NCPU + CLOCK_TICK_ALIGN, KM_SLEEP); in clock_tick_init_pre()
189 for (i = 0; i < NCPU; i++, buf += size) { in clock_tick_init_pre()
/titanic_44/usr/src/uts/sun4u/os/
H A Dfillsysinfo.c100 struct cpu_node cpunodes[NCPU];
463 if (cpuid < 0 || cpuid >= NCPU) { in fill_cpu()
687 if (cpuid < 0 || cpuid >= NCPU) { in fill_cpu_ddi()
868 for (i = 0; i < NCPU; i++) { in check_cpus_ver()
943 for (i = 0; i < NCPU; i++) { in check_cpus_set()
965 for (i = 0; i < NCPU; i++) { in check_cpus_set()
983 for (i = 0; i < NCPU; i++) { in check_cpus_set()
1036 for (i = 0; i < NCPU; i++) { in check_cpus_set()
H A Dcmp.c107 for (i = 0; i < NCPU; i++) { in cmp_error_resteer()
120 if (i == NCPU) { in cmp_error_resteer()
H A Dmach_startup.c131 chkfngrpsallocsz = NCPU * sizeof (struct fpras_chkfngrp); in mach_fpras()
152 for (i = 1; i < NCPU; ++i) in mach_fpras()
/titanic_44/usr/src/uts/common/vm/
H A Dseg_kpm.c195 kmem_zalloc(NCPU * b->nvcolors * sizeof (ushort_t), KM_SLEEP); in segkpm_create()
197 for (i = 0; i < NCPU; i++) in segkpm_create()

12345