Home
last modified time | relevance | path

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

12345

/freebsd-12.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()
227 KASSERT(cpuid < MAXCPU, ("%s: invalid CPU id %d", __func__, cpuid)); in platform_init_ap()
266 KASSERT((cpuid > 0 && cpuid < MAXCPU), in platform_start_ap()
/freebsd-12.1/sys/riscv/riscv/
H A Dmp_machdep.c76 uint32_t __riscv_boot_ap[MAXCPU];
92 struct pcb stoppcbs[MAXCPU];
98 static uint32_t cpu_reg[MAXCPU][2];
100 static device_t cpu_list[MAXCPU];
105 uint8_t secondary_stacks[MAXCPU][PAGE_SIZE * KSTACK_PAGES] __aligned(16);
111 void *dpcpu[MAXCPU - 1];
147 if (cpuid >= MAXCPU || cpuid > mp_maxid) in riscv64_cpu_probe()
164 if (cpuid >= MAXCPU || cpuid > mp_maxid) in riscv64_cpu_attach()
385 KASSERT(id < MAXCPU, ("Too many CPUs")); in cpu_init_fdt()
400 KASSERT(hart < MAXCPU, ("Too many harts.")); in cpu_init_fdt()
[all …]
/freebsd-12.1/sys/x86/include/
H A Dx86_smp.h65 extern u_long *ipi_invltlb_counts[MAXCPU];
66 extern u_long *ipi_invlrng_counts[MAXCPU];
67 extern u_long *ipi_invlpg_counts[MAXCPU];
68 extern u_long *ipi_invlcache_counts[MAXCPU];
69 extern u_long *ipi_rendezvous_counts[MAXCPU];
/freebsd-12.1/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris.c40 cpu_core_t cpu_core[MAXCPU];
42 solaris_cpu_t solaris_cpu[MAXCPU];
58 for (i = 0; i < MAXCPU; i++) { in opensolaris_load()
/freebsd-12.1/sys/x86/x86/
H A Dmp_x86.c92 void *bootstacks[MAXCPU];
95 struct pcb stoppcbs[MAXCPU];
102 u_long *ipi_invltlb_counts[MAXCPU];
103 u_long *ipi_invlrng_counts[MAXCPU];
104 u_long *ipi_invlpg_counts[MAXCPU];
134 int cpu_apic_ids[MAXCPU];
638 if (mp_ncpus >= MAXCPU) in assign_cpu_ids()
1105 for (i = 0; i < MAXCPU; i++) { in set_interrupt_apic_ids()
1124 u_int xhits_gbl[MAXCPU];
1125 u_int xhits_pg[MAXCPU];
[all …]
/freebsd-12.1/sys/riscv/include/
H A Dparam.h53 #ifndef MAXCPU
54 #define MAXCPU 16 macro
57 #define MAXCPU 1 macro
/freebsd-12.1/sys/powerpc/include/
H A Dparam.h77 #ifndef MAXCPU
78 #define MAXCPU 256 macro
81 #define MAXCPU 1 macro
/freebsd-12.1/sys/arm64/include/
H A Dparam.h58 #ifndef MAXCPU
59 #define MAXCPU 256 macro
62 #define MAXCPU 1 macro
/freebsd-12.1/sys/arm/include/
H A Dparam.h79 #ifndef MAXCPU
80 #define MAXCPU 4 macro
83 #define MAXCPU 1 macro
/freebsd-12.1/sys/sparc64/include/
H A Dparam.h55 #ifndef MAXCPU
56 #define MAXCPU 64 macro
59 #define MAXCPU 1 macro
/freebsd-12.1/sys/i386/include/
H A Dparam.h62 #ifndef MAXCPU
63 #define MAXCPU 32 macro
66 #define MAXCPU 1 macro
/freebsd-12.1/sys/amd64/include/
H A Dparam.h69 #ifndef MAXCPU
70 #define MAXCPU 256 macro
73 #define MAXCPU 1 macro
/freebsd-12.1/sys/mips/include/
H A Dparam.h101 #ifndef MAXCPU
102 #define MAXCPU MAXSMPCPU macro
106 #define MAXCPU 1 macro
/freebsd-12.1/sys/arm64/arm64/
H A Dmp_machdep.c127 struct pcb stoppcbs[MAXCPU];
129 static device_t cpu_list[MAXCPU];
141 uint8_t secondary_stacks[MAXCPU - 1][PAGE_SIZE * KSTACK_PAGES] __aligned(16);
147 void *dpcpu[MAXCPU - 1];
183 if (cpuid >= MAXCPU || cpuid > mp_maxid) in arm64_cpu_probe()
200 if (cpuid >= MAXCPU || cpuid > mp_maxid) in arm64_cpu_attach()
467 KASSERT(id < MAXCPU, ("Too many CPUs")); in start_cpu()
719 cores = MIN(cores, MAXCPU); in cpu_mp_setmaxid()
733 cores = MIN(cores, MAXCPU); in cpu_mp_setmaxid()
H A Dgic_v3_var.h45 vm_offset_t pend_base[MAXCPU];
59 struct resource * pcpu[MAXCPU];
/freebsd-12.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-12.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-12.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-12.1/sys/powerpc/powerpc/
H A Dmp_machdep.c64 extern struct pcpu __pcpu[MAXCPU];
71 struct pcb stoppcbs[MAXCPU];
157 if (cpu.cr_cpuid >= MAXCPU) { in cpu_mp_start()
/freebsd-12.1/sys/arm/arm/
H A Dpmu.c93 uint32_t ccnt_hi[MAXCPU];
166 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.c941 valloc_pages(irqstack, IRQ_STACK_SIZE * MAXCPU); in initarm()
942 valloc_pages(abtstack, ABT_STACK_SIZE * MAXCPU); in initarm()
943 valloc_pages(undstack, UND_STACK_SIZE * MAXCPU); in initarm()
944 valloc_pages(kernelstack, kstack_pages * MAXCPU); in initarm()
1206 irqstack = pmap_preboot_get_vpages(IRQ_STACK_SIZE * MAXCPU); in initarm()
1207 abtstack = pmap_preboot_get_vpages(ABT_STACK_SIZE * MAXCPU); in initarm()
1208 undstack = pmap_preboot_get_vpages(UND_STACK_SIZE * MAXCPU ); in initarm()
1209 kernelstack = pmap_preboot_get_vpages(kstack_pages * MAXCPU); in initarm()
/freebsd-12.1/sys/powerpc/pseries/
H A Dplatform_chrp.c63 static uint8_t splpar_vpa[MAXCPU][640] __aligned(128); /* XXX: dpcpu */
89 static struct cpuref platform_cpuref[MAXCPU];
148 for (i = 0; i < MAXCPU; i++) { in chrp_attach()
370 static struct cpuref tmp_cpuref[MAXCPU]; in chrp_cpuref_init()
/freebsd-12.1/sys/contrib/ncsw/user/env/
H A Dxx.c117 vm_paddr_t portal_ce_pa[2][MAXCPU];
118 vm_paddr_t portal_ci_pa[2][MAXCPU];
119 uint32_t portal_ce_size[2][MAXCPU];
120 uint32_t portal_ci_size[2][MAXCPU];
123 uintptr_t portal_intr[2][MAXCPU];

12345