Home
last modified time | relevance | path

Searched refs:available_cpus (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/tools/testing/selftests/breakpoints/
Dstep_after_suspend_test.c176 cpu_set_t available_cpus; in main() local
197 err = sched_getaffinity(0, sizeof(available_cpus), &available_cpus); in main()
204 if (!CPU_ISSET(cpu, &available_cpus)) in main()
/Linux-v4.19/arch/ia64/kernel/
Dacpi.c175 static int available_cpus __initdata;
208 smp_boot_data.cpu_phys_id[available_cpus] = in acpi_parse_lsapic()
211 ++available_cpus; in acpi_parse_lsapic()
683 if (available_cpus == 0) { in early_acpi_boot_init()
686 smp_boot_data.cpu_phys_id[available_cpus] = in early_acpi_boot_init()
688 available_cpus = 1; /* We've got at least one of these, no? */ in early_acpi_boot_init()
690 smp_boot_data.cpu_count = available_cpus; in early_acpi_boot_init()
693 printk(KERN_INFO "%d CPUs available, %d CPUs total\n", available_cpus, in early_acpi_boot_init()
852 disabled_cpus = total_cpus - available_cpus; in prefill_possible_map()
861 possible = available_cpus + additional_cpus; in prefill_possible_map()
[all …]
/Linux-v4.19/arch/arm/common/
DbL_switcher.c427 cpumask_t available_cpus; in bL_switcher_halve_cpus() local
454 cpumask_copy(&available_cpus, cpu_online_mask); in bL_switcher_halve_cpus()
456 for_each_cpu(i, &available_cpus) { in bL_switcher_halve_cpus()
463 cpumask_clear_cpu(i, &available_cpus); in bL_switcher_halve_cpus()
464 for_each_cpu(j, &available_cpus) { in bL_switcher_halve_cpus()
477 cpumask_clear_cpu(match, &available_cpus); in bL_switcher_halve_cpus()
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Daffinity.c363 cpumask_var_t available_cpus) in _dev_comp_vect_cpu_get() argument
375 if (!available_cpus) { in _dev_comp_vect_cpu_get()
382 cpumask_andnot(available_cpus, &set->mask, &set->used); in _dev_comp_vect_cpu_get()
385 cpumask_andnot(non_intr_cpus, available_cpus, in _dev_comp_vect_cpu_get()
392 cpu = cpumask_first(available_cpus); in _dev_comp_vect_cpu_get()
445 cpumask_var_t available_cpus; in _dev_comp_vect_mappings_create() local
452 if (!zalloc_cpumask_var(&available_cpus, GFP_KERNEL)) { in _dev_comp_vect_mappings_create()
469 available_cpus); in _dev_comp_vect_mappings_create()
484 free_cpumask_var(available_cpus); in _dev_comp_vect_mappings_create()