Home
last modified time | relevance | path

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

12345

/freebsd-13.1/sys/mips/beri/
H A Dberi_mp.c55 static phandle_t cpu_of_nodes[MAXCPU];
56 static device_t picmap[MAXCPU];
86 if (MAXCPU > 1 && ncpus > MAXCPU) in platform_cpu_mask()
88 __func__, ncpus, MAXCPU); in platform_cpu_mask()
107 if (reg > MAXCPU) { in platform_cpu_mask()
109 reg, MAXCPU); in platform_cpu_mask()
226 KASSERT(cpuid < MAXCPU, ("%s: invalid CPU id %d", __func__, cpuid)); in platform_init_ap()
265 KASSERT((cpuid > 0 && cpuid < MAXCPU), in platform_start_ap()
/freebsd-13.1/sys/riscv/riscv/
H A Dmp_machdep.c76 uint32_t __riscv_boot_ap[MAXCPU];
91 struct pcb stoppcbs[MAXCPU];
97 static uint32_t cpu_reg[MAXCPU][2];
99 static device_t cpu_list[MAXCPU];
108 static void *bootstacks[MAXCPU];
117 void *dpcpu[MAXCPU - 1];
153 if (cpuid >= MAXCPU || cpuid > mp_maxid) in riscv64_cpu_probe()
170 if (cpuid >= MAXCPU || cpuid > mp_maxid) in riscv64_cpu_attach()
418 KASSERT(id < MAXCPU, ("Too many CPUs")); in cpu_init_fdt()
433 KASSERT(hart < MAXCPU, ("Too many harts.")); in cpu_init_fdt()
[all …]
/freebsd-13.1/sys/x86/include/
H A Dx86_smp.h72 extern u_long *ipi_invltlb_counts[MAXCPU];
73 extern u_long *ipi_invlrng_counts[MAXCPU];
74 extern u_long *ipi_invlpg_counts[MAXCPU];
75 extern u_long *ipi_invlcache_counts[MAXCPU];
76 extern u_long *ipi_rendezvous_counts[MAXCPU];
/freebsd-13.1/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris.c42 cpu_core_t cpu_core[MAXCPU];
44 solaris_cpu_t solaris_cpu[MAXCPU];
60 for (i = 0; i < MAXCPU; i++) { in opensolaris_load()
/freebsd-13.1/sys/riscv/include/
H A Dparam.h64 #ifndef MAXCPU
65 #define MAXCPU 16 macro
68 #define MAXCPU 1 macro
/freebsd-13.1/sys/arm/include/
H A Dparam.h69 #ifndef MAXCPU
70 #define MAXCPU 4 macro
73 #define MAXCPU 1 macro
/freebsd-13.1/sys/arm64/include/
H A Dparam.h58 #ifndef MAXCPU
59 #define MAXCPU 256 macro
62 #define MAXCPU 1 macro
/freebsd-13.1/sys/i386/include/
H A Dparam.h60 #ifndef MAXCPU
61 #define MAXCPU 32 macro
64 #define MAXCPU 1 macro
/freebsd-13.1/sys/x86/x86/
H A Dmp_x86.c105 void *bootstacks[MAXCPU];
108 struct pcb stoppcbs[MAXCPU];
115 u_long *ipi_invltlb_counts[MAXCPU];
116 u_long *ipi_invlrng_counts[MAXCPU];
117 u_long *ipi_invlpg_counts[MAXCPU];
147 int cpu_apic_ids[MAXCPU];
703 if (mp_ncpus >= MAXCPU) in assign_cpu_ids()
1146 for (i = 0; i < MAXCPU; i++) { in set_interrupt_apic_ids()
1165 u_int xhits_gbl[MAXCPU];
1166 u_int xhits_pg[MAXCPU];
[all …]
/freebsd-13.1/sys/mips/include/
H A Dparam.h101 #ifndef MAXCPU
102 #define MAXCPU MAXSMPCPU macro
106 #define MAXCPU 1 macro
/freebsd-13.1/sys/powerpc/include/
H A Dparam.h81 #ifndef MAXCPU
82 #define MAXCPU 256 macro
85 #define MAXCPU 1 macro
/freebsd-13.1/sys/amd64/include/
H A Dparam.h67 #ifndef MAXCPU
68 #define MAXCPU 256 macro
71 #define MAXCPU 1 macro
/freebsd-13.1/sys/x86/xen/
H A Dpvcpu_enum.c157 for (i = 0; i < MAXCPU && (i * 2) < MAX_APIC_ID; i++) { in xenpv_probe_cpus()
159 mp_ncpus = min(mp_ncpus + 1, MAXCPU); in xenpv_probe_cpus()
176 for (i = 0; i < MAXCPU && (i * 2) < MAX_APIC_ID; i++) { in xenpv_setup_local()
/freebsd-13.1/sys/arm64/arm64/
H A Dmp_machdep.c125 struct pcb stoppcbs[MAXCPU];
139 static void *bootstacks[MAXCPU];
148 void *dpcpu[MAXCPU - 1];
216 if (cpu >= MAXCPU || __pcpu[cpu].pc_mpidr != mpidr) { in init_secondary()
220 if ( cpu >= MAXCPU) in init_secondary()
500 KASSERT(cpuid < MAXCPU, ("Too many CPUs")); in start_cpu()
753 cores = MIN(cores, MAXCPU); in cpu_mp_setmaxid()
766 cores = MIN(cores, MAXCPU); in cpu_mp_setmaxid()
/freebsd-13.1/sys/dev/dpaa/
H A Dbman.h63 bool sc_regs_mapped[MAXCPU]; /* register mapping status */
66 t_Handle sc_bph[MAXCPU]; /* BMAN portal handles */
H A Dqman.h75 bool sc_regs_mapped[MAXCPU];
78 t_Handle sc_qph[MAXCPU]; /* QMAN portal handles */
/freebsd-13.1/sys/mips/mips/
H A Dmp_machdep.c58 struct pcb stoppcbs[MAXCPU];
223 mp_maxid = min(last, MAXCPU) - 1; in cpu_mp_setmaxid()
260 if (cpuid >= MAXCPU) { in cpu_mp_start()
/freebsd-13.1/sys/arm/arm/
H A Dpmu.c61 uint32_t ccnt_hi[MAXCPU];
137 for (i = 0; i < MAXCPU; i++) in pmu_attach()
H A Dgic_acpi.c91 ACPI_MADT_GENERIC_INTERRUPT *intr[MAXCPU];
114 if (intr->CpuInterfaceNumber < MAXCPU) in madt_handler()
158 for (i = 0; i < MAXCPU; i++) { in gic_acpi_identify()
H A Dmachdep.c530 irqstack = pmap_preboot_get_vpages(IRQ_STACK_SIZE * MAXCPU); in initarm()
531 abtstack = pmap_preboot_get_vpages(ABT_STACK_SIZE * MAXCPU); in initarm()
532 undstack = pmap_preboot_get_vpages(UND_STACK_SIZE * MAXCPU ); in initarm()
H A Dgenassym.c123 ASSYM(MAXCPU, MAXCPU);
/freebsd-13.1/sys/contrib/ncsw/user/env/
H A Dxx.c115 vm_paddr_t portal_ce_pa[2][MAXCPU];
116 vm_paddr_t portal_ci_pa[2][MAXCPU];
117 uint32_t portal_ce_size[2][MAXCPU];
118 uint32_t portal_ci_size[2][MAXCPU];
121 uintptr_t portal_intr[2][MAXCPU];
290 for (cpu = 0; cpu < MAXCPU; cpu++) in XX_IsPortalIntr()
/freebsd-13.1/sys/powerpc/pseries/
H A Dplatform_chrp.c64 static uint8_t splpar_vpa[MAXCPU][640] __aligned(128); /* XXX: dpcpu */
91 static struct cpuref platform_cpuref[MAXCPU];
161 for (i = 0; i < MAXCPU; i++) { in chrp_attach()
403 static struct cpuref tmp_cpuref[MAXCPU]; in chrp_cpuref_init()
/freebsd-13.1/sys/tests/epoch/
H A Depoch_test.c134 static struct thread *testthreads[MAXCPU];
135 static struct epoch_test_instance etilist[MAXCPU];
/freebsd-13.1/sys/kern/
H A Dsubr_pcpu.c78 uintptr_t dpcpu_off[MAXCPU];
79 struct pcpu *cpuid_to_pcpu[MAXCPU];
90 KASSERT(cpuid >= 0 && cpuid < MAXCPU, in pcpu_init()

12345