Searched refs:available_cpus (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/tools/testing/selftests/breakpoints/ |
D | step_after_suspend_test.c | 168 cpu_set_t available_cpus; in main() local 187 if (!CPU_ISSET(cpu, &available_cpus)) in main() 196 err = sched_getaffinity(0, sizeof(available_cpus), &available_cpus); in main() 203 if (!CPU_ISSET(cpu, &available_cpus)) in main()
|
/Linux-v5.4/arch/ia64/kernel/ |
D | acpi.c | 86 static int available_cpus __initdata; 119 smp_boot_data.cpu_phys_id[available_cpus] = in acpi_parse_lsapic() 122 ++available_cpus; in acpi_parse_lsapic() 594 if (available_cpus == 0) { in early_acpi_boot_init() 597 smp_boot_data.cpu_phys_id[available_cpus] = in early_acpi_boot_init() 599 available_cpus = 1; /* We've got at least one of these, no? */ in early_acpi_boot_init() 601 smp_boot_data.cpu_count = available_cpus; in early_acpi_boot_init() 604 printk(KERN_INFO "%d CPUs available, %d CPUs total\n", available_cpus, in early_acpi_boot_init() 762 disabled_cpus = total_cpus - available_cpus; in prefill_possible_map() 771 possible = available_cpus + additional_cpus; in prefill_possible_map() [all …]
|
/Linux-v5.4/arch/arm/common/ |
D | bL_switcher.c | 424 cpumask_t available_cpus; in bL_switcher_halve_cpus() local 451 cpumask_copy(&available_cpus, cpu_online_mask); in bL_switcher_halve_cpus() 453 for_each_cpu(i, &available_cpus) { in bL_switcher_halve_cpus() 460 cpumask_clear_cpu(i, &available_cpus); in bL_switcher_halve_cpus() 461 for_each_cpu(j, &available_cpus) { in bL_switcher_halve_cpus() 474 cpumask_clear_cpu(match, &available_cpus); in bL_switcher_halve_cpus()
|
/Linux-v5.4/drivers/infiniband/hw/hfi1/ |
D | affinity.c | 364 cpumask_var_t available_cpus) in _dev_comp_vect_cpu_get() argument 376 if (!available_cpus) { in _dev_comp_vect_cpu_get() 383 cpumask_andnot(available_cpus, &set->mask, &set->used); in _dev_comp_vect_cpu_get() 386 cpumask_andnot(non_intr_cpus, available_cpus, in _dev_comp_vect_cpu_get() 393 cpu = cpumask_first(available_cpus); in _dev_comp_vect_cpu_get() 446 cpumask_var_t available_cpus; in _dev_comp_vect_mappings_create() local 453 if (!zalloc_cpumask_var(&available_cpus, GFP_KERNEL)) { in _dev_comp_vect_mappings_create() 470 available_cpus); in _dev_comp_vect_mappings_create() 485 free_cpumask_var(available_cpus); in _dev_comp_vect_mappings_create()
|