/arch/mips/kernel/ |
D | sync-r4k.c | 114 int ncpus; in synchronise_count_slave() local 137 ncpus = num_online_cpus(); in synchronise_count_slave() 140 while (atomic_read(&count_count_start) != ncpus) in synchronise_count_slave() 150 while (atomic_read(&count_count_stop) != ncpus) in synchronise_count_slave()
|
/arch/powerpc/platforms/powermac/ |
D | smp.c | 266 int i, ncpus; in smp_psurge_probe() local 296 ncpus = 4; in smp_psurge_probe() 305 ncpus = 2; in smp_psurge_probe() 317 if (ncpus > NR_CPUS) in smp_psurge_probe() 318 ncpus = NR_CPUS; in smp_psurge_probe() 319 for (i = 1; i < ncpus ; ++i) { in smp_psurge_probe() 326 return ncpus; in smp_psurge_probe() 553 static void __init smp_core99_setup_i2c_hwsync(int ncpus) in smp_core99_setup_i2c_hwsync() argument 685 static void __init smp_core99_setup(int ncpus) in smp_core99_setup() argument 693 smp_core99_setup_i2c_hwsync(ncpus); in smp_core99_setup() [all …]
|
/arch/powerpc/kernel/ |
D | crash.c | 110 unsigned int ncpus = num_online_cpus() - 1;/* Excluding the panic cpu */ in crash_soft_reset_check() local 113 while (atomic_read(&enter_on_soft_reset) != ncpus) in crash_soft_reset_check() 122 unsigned int ncpus = num_online_cpus() - 1;/* Excluding the panic cpu */ in crash_kexec_prepare_cpus() local 135 while ((cpus_weight(cpus_in_crash) < ncpus) && (--msecs > 0)) { in crash_kexec_prepare_cpus() 147 if (cpus_weight(cpus_in_crash) < ncpus) { in crash_kexec_prepare_cpus() 149 ncpus - cpus_weight(cpus_in_crash)); in crash_kexec_prepare_cpus() 153 while (cpus_weight(cpus_in_crash) < ncpus) in crash_kexec_prepare_cpus()
|
/arch/sparc/kernel/ |
D | setup_32.c | 402 int i, ncpus, err; in topology_init() local 408 ncpus = 0; in topology_init() 409 while (!cpu_find_by_instance(ncpus, NULL, NULL)) in topology_init() 410 ncpus++; in topology_init() 411 ncpus_probed = ncpus; in topology_init()
|
D | ds.c | 474 static int dr_cpu_size_response(int ncpus) in dr_cpu_size_response() argument 478 (sizeof(struct dr_cpu_resp_entry) * ncpus)); in dr_cpu_size_response() 482 u64 handle, int resp_len, int ncpus, in dr_cpu_init_response() argument 497 tag->num_records = ncpus; in dr_cpu_init_response() 506 BUG_ON(i != ncpus); in dr_cpu_init_response() 509 static void dr_cpu_mark(struct ds_data *resp, int cpu, int ncpus, in dr_cpu_mark() argument 519 for (i = 0; i < ncpus; i++) { in dr_cpu_mark() 534 int resp_len, ncpus, cpu; in dr_cpu_configure() local 537 ncpus = cpus_weight(*mask); in dr_cpu_configure() 538 resp_len = dr_cpu_size_response(ncpus); in dr_cpu_configure() [all …]
|
D | sun4m_smp.c | 255 register int ncpus = SUN4M_NCPUS; in smp4m_cross_call() local 274 for(i = 0; i < ncpus; i++) { in smp4m_cross_call() 295 } while(++i < ncpus); in smp4m_cross_call() 303 } while(++i < ncpus); in smp4m_cross_call()
|
D | smp_64.c | 1114 int ncpus = num_online_cpus(); in smp_capture() local 1123 while (atomic_read(&smp_capture_registry) != ncpus) in smp_capture()
|
/arch/x86/kernel/ |
D | visws_quirks.c | 220 unsigned short ncpus = readw(phys_to_virt(CO_CPU_NUM_PHYS)); in visws_find_smp_config() local 222 if (ncpus > CO_CPU_MAX) { in visws_find_smp_config() 224 ncpus, mp); in visws_find_smp_config() 226 ncpus = CO_CPU_MAX; in visws_find_smp_config() 229 if (ncpus > setup_max_cpus) in visws_find_smp_config() 230 ncpus = setup_max_cpus; in visws_find_smp_config() 235 while (ncpus--) in visws_find_smp_config()
|
/arch/um/include/asm/ |
D | smp.h | 18 extern int ncpus;
|
/arch/powerpc/platforms/chrp/ |
D | setup.c | 601 int cpu, ncpus; in chrp_init2() local 606 ncpus = num_online_cpus(); in chrp_init2() 607 event_scan_interval = ncpus * interval; in chrp_init2() 608 for (cpu = 0; cpu < ncpus; ++cpu) { in chrp_init2()
|
/arch/um/kernel/ |
D | smp.c | 113 for (i = 0; i < ncpus; ++i) in smp_prepare_cpus() 126 for (cpu = 1; cpu < ncpus; cpu++) { in smp_prepare_cpus()
|
D | um_arch.c | 110 int ncpus = 1; variable 166 if (!sscanf(line, "%d", &ncpus)) { in uml_ncpus_setup()
|
D | process.c | 45 for (i = 0; i < ncpus; i++) { in pid_to_processor_id()
|
/arch/um/include/shared/ |
D | kern_util.h | 14 extern int ncpus;
|
/arch/blackfin/include/asm/ |
D | ipipe.h | 67 int ncpus; /* Number of CPUs on board */ member
|
/arch/blackfin/kernel/ |
D | ipipe.c | 280 info->ncpus = num_online_cpus(); in ipipe_get_sysinfo()
|
/arch/powerpc/xmon/ |
D | xmon.c | 420 int ncpus = num_online_cpus(); in xmon_core() local 424 if (ncpus > 1) { in xmon_core() 428 if (cpus_weight(cpus_in_xmon) >= ncpus) in xmon_core()
|