/linux/arch/x86/include/asm/ |
A D | smp.h | 45 void (*smp_prepare_cpus)(unsigned max_cpus); 46 void (*smp_cpus_done)(unsigned max_cpus); 82 static inline void smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument 84 smp_ops.smp_prepare_cpus(max_cpus); in smp_prepare_cpus() 87 static inline void smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument 89 smp_ops.smp_cpus_done(max_cpus); in smp_cpus_done() 130 void native_smp_prepare_cpus(unsigned int max_cpus); 132 void native_smp_cpus_done(unsigned int max_cpus);
|
/linux/arch/arm/mach-mediatek/ |
A D | platsmp.c | 77 static void __init __mtk_smp_prepare_cpus(unsigned int max_cpus, int trustzone) in __mtk_smp_prepare_cpus() argument 123 static void __init mtk_tz_smp_prepare_cpus(unsigned int max_cpus) in mtk_tz_smp_prepare_cpus() argument 125 __mtk_smp_prepare_cpus(max_cpus, 1); in mtk_tz_smp_prepare_cpus() 128 static void __init mtk_smp_prepare_cpus(unsigned int max_cpus) in mtk_smp_prepare_cpus() argument 130 __mtk_smp_prepare_cpus(max_cpus, 0); in mtk_smp_prepare_cpus()
|
/linux/arch/mips/kernel/ |
A D | smp-bmips.c | 42 static int __maybe_unused max_cpus = 1; variable 107 max_cpus = 2; in bmips_smp_setup() 118 max_cpus = (((read_c0_brcm_config() >> 6) & 0x03) + 1) << 1; in bmips_smp_setup() 121 for (i = 0; i < max_cpus; i++) { in bmips_smp_setup() 128 max_cpus = 1; in bmips_smp_setup() 132 max_cpus = 1; in bmips_smp_setup() 138 if (max_cpus > 1) { in bmips_smp_setup() 142 for (i = 0; i < max_cpus; i++) { in bmips_smp_setup() 162 static void bmips_prepare_cpus(unsigned int max_cpus) in bmips_prepare_cpus() argument
|
A D | smp-cmp.c | 125 void __init cmp_prepare_cpus(unsigned int max_cpus) in cmp_prepare_cpus() argument 128 smp_processor_id(), __func__, max_cpus); in cmp_prepare_cpus()
|
/linux/arch/hexagon/kernel/ |
A D | smp.c | 195 void __init smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument 199 void __init smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument 209 for (i = 0; i < max_cpus; i++) in smp_prepare_cpus() 213 if (max_cpus > 1) { in smp_prepare_cpus()
|
/linux/arch/riscv/kernel/ |
A D | smpboot.c | 49 void __init smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument 60 if (max_cpus == 0) in smp_prepare_cpus() 150 void __init smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument
|
/linux/arch/arm/mach-shmobile/ |
A D | smp-emev2.c | 30 static void __init emev2_smp_prepare_cpus(unsigned int max_cpus) in emev2_smp_prepare_cpus() argument 42 shmobile_smp_scu_prepare_cpus(EMEV2_SCU_BASE, max_cpus); in emev2_smp_prepare_cpus()
|
A D | smp-r8a7779.c | 39 static void __init r8a7779_smp_prepare_cpus(unsigned int max_cpus) in r8a7779_smp_prepare_cpus() argument 47 shmobile_smp_scu_prepare_cpus(R8A7779_SCU_BASE, max_cpus); in r8a7779_smp_prepare_cpus()
|
A D | smp-sh73a0.c | 45 static void __init sh73a0_smp_prepare_cpus(unsigned int max_cpus) in sh73a0_smp_prepare_cpus() argument 57 shmobile_smp_scu_prepare_cpus(SH73A0_SCU_BASE, max_cpus); in sh73a0_smp_prepare_cpus()
|
/linux/arch/arm/kernel/ |
A D | smp.c | 481 void __init smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument 503 void __init smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument 514 if (max_cpus > ncores) in smp_prepare_cpus() 515 max_cpus = ncores; in smp_prepare_cpus() 516 if (ncores > 1 && max_cpus) { in smp_prepare_cpus() 530 smp_ops.smp_prepare_cpus(max_cpus); in smp_prepare_cpus()
|
/linux/arch/x86/xen/ |
A D | smp_hvm.c | 31 static void __init xen_hvm_smp_prepare_cpus(unsigned int max_cpus) in xen_hvm_smp_prepare_cpus() argument 35 native_smp_prepare_cpus(max_cpus); in xen_hvm_smp_prepare_cpus()
|
/linux/arch/arm/mach-sti/ |
A D | platsmp.c | 49 static void __init sti_smp_prepare_cpus(unsigned int max_cpus) in sti_smp_prepare_cpus() argument 64 if (max_cpus <= 1) in sti_smp_prepare_cpus()
|
/linux/arch/arm/mach-axxia/ |
A D | platsmp.c | 53 static void __init axxia_smp_prepare_cpus(unsigned int max_cpus) in axxia_smp_prepare_cpus() argument 72 if (cpu_count < max_cpus) { in axxia_smp_prepare_cpus()
|
/linux/arch/sparc/kernel/ |
A D | smp_32.c | 76 void __init smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument 182 void __init smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument 194 if (extra && max_cpus > i - extra) in smp_prepare_cpus()
|
/linux/arch/openrisc/kernel/ |
A D | smp.c | 74 void __init smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument 83 if (cpu < max_cpus) in smp_prepare_cpus() 88 void __init smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument
|
/linux/arch/arm/mach-rockchip/ |
A D | platsmp.c | 258 static void __init rockchip_smp_prepare_cpus(unsigned int max_cpus) in rockchip_smp_prepare_cpus() argument 326 static void __init rk3036_smp_prepare_cpus(unsigned int max_cpus) in rk3036_smp_prepare_cpus() argument 330 rockchip_smp_prepare_cpus(max_cpus); in rk3036_smp_prepare_cpus()
|
/linux/arch/arm/mach-imx/ |
A D | platsmp.c | 69 static void __init imx_smp_prepare_cpus(unsigned int max_cpus) in imx_smp_prepare_cpus() argument 130 static void __init ls1021a_smp_prepare_cpus(unsigned int max_cpus) in ls1021a_smp_prepare_cpus() argument
|
/linux/arch/parisc/kernel/ |
A D | smp.c | 410 void __init smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument 419 parisc_max_cpus = max_cpus; in smp_prepare_cpus() 420 if (!max_cpus) in smp_prepare_cpus()
|
/linux/drivers/scsi/csiostor/ |
A D | csio_isr.c | 426 for (j = 0; j < info->max_cpus; j++, k++) { in csio_request_irqs() 465 if (info->max_cpus > 1) { in csio_reduce_sqsets() 466 info->max_cpus--; in csio_reduce_sqsets() 540 n = (j % info->max_cpus) + k; in csio_enable_msix() 544 k += info->max_cpus; in csio_enable_msix()
|
/linux/arch/sh/kernel/cpu/sh2/ |
A D | smp-j2.c | 43 static void j2_prepare_cpus(unsigned int max_cpus) in j2_prepare_cpus() argument 69 max = max_cpus; in j2_prepare_cpus()
|
/linux/arch/sh/kernel/cpu/sh4a/ |
A D | smp-shx3.c | 69 static void shx3_prepare_cpus(unsigned int max_cpus) in shx3_prepare_cpus() argument 80 for (i = 0; i < max_cpus; i++) in shx3_prepare_cpus()
|
/linux/tools/testing/selftests/intel_pstate/ |
A D | run.sh | 47 max_cpus=$(($(nproc)-1)) 52 for cpu in `seq 0 $max_cpus`
|
/linux/arch/arm/mach-hisi/ |
A D | platsmp.c | 56 static void __init hi3xxx_smp_prepare_cpus(unsigned int max_cpus) in hi3xxx_smp_prepare_cpus() argument 98 static void __init hisi_common_smp_prepare_cpus(unsigned int max_cpus) in hisi_common_smp_prepare_cpus() argument
|
/linux/include/linux/ |
A D | smp.h | 134 extern void smp_prepare_cpus(unsigned int max_cpus); 144 extern void smp_cpus_done(unsigned int max_cpus);
|
/linux/arch/sh/kernel/ |
A D | smp.c | 56 void __init smp_prepare_cpus(unsigned int max_cpus) in smp_prepare_cpus() argument 62 mp_ops->prepare_cpus(max_cpus); in smp_prepare_cpus() 245 void __init smp_cpus_done(unsigned int max_cpus) in smp_cpus_done() argument
|