Searched refs:ncpus (Results 1 – 15 of 15) sorted by relevance
/arch/mips/kernel/ |
D | sync-r4k.c | 116 int ncpus; in synchronise_count_slave() local 139 ncpus = num_online_cpus(); in synchronise_count_slave() 142 while (atomic_read(&count_count_start) != ncpus) in synchronise_count_slave() 152 while (atomic_read(&count_count_stop) != ncpus) in synchronise_count_slave()
|
/arch/powerpc/platforms/powermac/ |
D | smp.c | 273 int i, ncpus; in smp_psurge_probe() local 303 ncpus = 4; in smp_psurge_probe() 315 ncpus = 2; in smp_psurge_probe() 329 if (ncpus > NR_CPUS) in smp_psurge_probe() 330 ncpus = NR_CPUS; in smp_psurge_probe() 331 for (i = 1; i < ncpus ; ++i) in smp_psurge_probe() 336 return ncpus; in smp_psurge_probe() 571 static void __init smp_core99_setup_i2c_hwsync(int ncpus) in smp_core99_setup_i2c_hwsync() argument 703 static void __init smp_core99_setup(int ncpus) in smp_core99_setup() argument 711 smp_core99_setup_i2c_hwsync(ncpus); in smp_core99_setup() [all …]
|
/arch/powerpc/kernel/ |
D | crash.c | 109 unsigned int ncpus = num_online_cpus() - 1;/* Excluding the panic cpu */ in crash_kexec_prepare_cpus() local 125 while ((atomic_read(&cpus_in_crash) < ncpus) && (--msecs > 0)) in crash_kexec_prepare_cpus() 130 if (atomic_read(&cpus_in_crash) >= ncpus) { in crash_kexec_prepare_cpus() 136 ncpus - atomic_read(&cpus_in_crash)); in crash_kexec_prepare_cpus() 167 while (atomic_read(&cpus_in_crash) < ncpus) in crash_kexec_prepare_cpus()
|
/arch/sparc/kernel/ |
D | setup_32.c | 339 int i, ncpus, err; in topology_init() local 345 ncpus = 0; in topology_init() 346 while (!cpu_find_by_instance(ncpus, NULL, NULL)) in topology_init() 347 ncpus++; in topology_init() 348 ncpus_probed = ncpus; in topology_init()
|
D | sun4m_smp.c | 196 register int ncpus = SUN4M_NCPUS; in smp4m_cross_call() local 215 for (i = 0; i < ncpus; i++) { in smp4m_cross_call() 236 } while (++i < ncpus); in smp4m_cross_call() 244 } while (++i < ncpus); in smp4m_cross_call()
|
D | ds.c | 477 static int dr_cpu_size_response(int ncpus) in dr_cpu_size_response() argument 481 (sizeof(struct dr_cpu_resp_entry) * ncpus)); in dr_cpu_size_response() 485 u64 handle, int resp_len, int ncpus, in dr_cpu_init_response() argument 500 tag->num_records = ncpus; in dr_cpu_init_response() 509 BUG_ON(i != ncpus); in dr_cpu_init_response() 512 static void dr_cpu_mark(struct ds_data *resp, int cpu, int ncpus, in dr_cpu_mark() argument 522 for (i = 0; i < ncpus; i++) { in dr_cpu_mark() 537 int resp_len, ncpus, cpu; in dr_cpu_configure() local 540 ncpus = cpumask_weight(mask); in dr_cpu_configure() 541 resp_len = dr_cpu_size_response(ncpus); in dr_cpu_configure() [all …]
|
D | smp_64.c | 1148 int ncpus = num_online_cpus(); in smp_capture() local 1157 while (atomic_read(&smp_capture_registry) != ncpus) in smp_capture()
|
/arch/x86/platform/visws/ |
D | visws_quirks.c | 195 unsigned short ncpus = readw(phys_to_virt(CO_CPU_NUM_PHYS)); in visws_find_smp_config() local 197 if (ncpus > CO_CPU_MAX) { in visws_find_smp_config() 199 ncpus, mp); in visws_find_smp_config() 201 ncpus = CO_CPU_MAX; in visws_find_smp_config() 204 if (ncpus > setup_max_cpus) in visws_find_smp_config() 205 ncpus = setup_max_cpus; in visws_find_smp_config() 210 while (ncpus--) in visws_find_smp_config()
|
/arch/um/include/asm/ |
D | smp.h | 17 extern int ncpus;
|
/arch/um/kernel/ |
D | smp.c | 110 for (i = 0; i < ncpus; ++i) in smp_prepare_cpus() 122 for (cpu = 1; cpu < ncpus; cpu++) { in smp_prepare_cpus()
|
D | um_arch.c | 112 int ncpus = 1; variable 168 if (!sscanf(line, "%d", &ncpus)) { in uml_ncpus_setup()
|
D | process.c | 47 for (i = 0; i < ncpus; i++) { in pid_to_processor_id()
|
/arch/um/include/shared/ |
D | kern_util.h | 14 extern int ncpus;
|
/arch/x86/platform/uv/ |
D | uv_time.c | 65 int ncpus; member 182 head->ncpus = uv_blade_nr_possible_cpus(bid); in uv_rtc_allocate_timers() 201 for (c = 0; c < head->ncpus; c++) { in uv_rtc_find_next_timer()
|
/arch/powerpc/xmon/ |
D | xmon.c | 433 int ncpus = num_online_cpus(); in xmon_core() local 437 if (ncpus > 1) { in xmon_core() 441 if (cpumask_weight(&cpus_in_xmon) >= ncpus) in xmon_core()
|