Home
last modified time | relevance | path

Searched refs:num_processors (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/arch/loongarch/kernel/
Dacpi.c26 int num_processors; variable
65 if (num_processors >= nr_cpu_ids) { in set_processor_mask()
78 num_processors++; in set_processor_mask()
139 loongson_sysconf.nr_cpus = num_processors; in acpi_process_madt()
291 num_processors--; in acpi_unmap_cpu()
Dsetup.c399 possible = num_processors + disabled_cpus; in prefill_possible_map()
404 possible, max((possible - num_processors), 0)); in prefill_possible_map()
/linux-6.1.9/arch/loongarch/include/asm/
Dsmp.h16 extern int num_processors;
/linux-6.1.9/arch/x86/kernel/
Dsmpboot.c1524 if (!num_processors) { in prefill_possible_map()
1537 if (!num_processors) in prefill_possible_map()
1538 num_processors = 1; in prefill_possible_map()
1543 possible = num_processors; in prefill_possible_map()
1554 total_cpus = max_t(int, possible, num_processors + disabled_cpus); in prefill_possible_map()
1575 possible, max_t(int, possible - num_processors, 0)); in prefill_possible_map()
Dmpparse.c244 if (!num_processors) in smp_read_mpc()
246 return num_processors; in smp_read_mpc()
545 pr_info("Processors: %d\n", num_processors); in default_get_smp_config()
/linux-6.1.9/arch/x86/xen/
Dsmp_pv.c159 num_processors = 0; in _get_smp_config()
164 num_processors++; in _get_smp_config()
/linux-6.1.9/include/acpi/
Dprocessor.h108 u64 num_processors; member
149 u64 num_processors; member
/linux-6.1.9/drivers/acpi/
Dprocessor_perflib.c638 if (pdomain->num_processors <= 1) in acpi_processor_preregister_performance()
642 count_target = pdomain->num_processors; in acpi_processor_preregister_performance()
664 if (match_pdomain->num_processors != count_target) { in acpi_processor_preregister_performance()
Dprocessor_throttling.c105 if (pdomain->num_processors <= 1) in acpi_processor_update_tsd_coord()
109 count_target = pdomain->num_processors; in acpi_processor_update_tsd_coord()
131 if (match_pdomain->num_processors != count_target) { in acpi_processor_update_tsd_coord()
Dcppc_acpi.c482 if (pdomain->num_processors <= 1) in acpi_get_psd_map()
486 count_target = pdomain->num_processors; in acpi_get_psd_map()
507 if (match_pdomain->num_processors != count_target) in acpi_get_psd_map()
/linux-6.1.9/arch/x86/include/asm/
Dsmp.h12 extern unsigned int num_processors;
/linux-6.1.9/tools/testing/selftests/arm64/fp/
Dfp-stress.c47 static int num_processors(void) in num_processors() function
423 cpus = num_processors(); in main()
/linux-6.1.9/arch/x86/kernel/apic/
Dapic.c66 unsigned int num_processors; variable
2463 int thiscpu = num_processors + disabled_cpus; in generic_processor_info()
2476 if (!boot_cpu_detected && num_processors >= nr_cpu_ids - 1 && in generic_processor_info()
2488 if (num_processors >= nr_cpu_ids) { in generic_processor_info()
2546 num_processors++; in generic_processor_info()
/linux-6.1.9/include/xen/interface/
Dplatform.h392 uint64_t num_processors; member
/linux-6.1.9/drivers/xen/
Dxen-acpi-processor.c176 if (pdomain->num_processors <= 1) { in xen_copy_psd_data()
/linux-6.1.9/arch/x86/kernel/acpi/
Dboot.c843 num_processors--; in acpi_unmap_cpu()