Searched refs:available_cpus (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/tools/testing/selftests/breakpoints/ |
D | step_after_suspend_test.c | 169 cpu_set_t available_cpus; in main() local 187 err = sched_getaffinity(0, sizeof(available_cpus), &available_cpus); in main() 192 if (!CPU_ISSET(cpu, &available_cpus)) in main() 204 if (!CPU_ISSET(cpu, &available_cpus)) in main()
|
/linux-6.6.21/arch/ia64/kernel/ |
D | acpi.c | 84 static int available_cpus __initdata; 117 smp_boot_data.cpu_phys_id[available_cpus] = in acpi_parse_lsapic() 120 ++available_cpus; in acpi_parse_lsapic() 595 if (available_cpus == 0) { in early_acpi_boot_init() 598 smp_boot_data.cpu_phys_id[available_cpus] = in early_acpi_boot_init() 600 available_cpus = 1; /* We've got at least one of these, no? */ in early_acpi_boot_init() 602 smp_boot_data.cpu_count = available_cpus; in early_acpi_boot_init() 605 printk(KERN_INFO "%d CPUs available, %d CPUs total\n", available_cpus, in early_acpi_boot_init() 763 disabled_cpus = total_cpus - available_cpus; in prefill_possible_map() 772 possible = available_cpus + additional_cpus; in prefill_possible_map() [all …]
|
/linux-6.6.21/drivers/infiniband/hw/hfi1/ |
D | affinity.c | 323 cpumask_var_t available_cpus) in _dev_comp_vect_cpu_get() argument 335 if (!available_cpus) { in _dev_comp_vect_cpu_get() 342 cpumask_andnot(available_cpus, &set->mask, &set->used); in _dev_comp_vect_cpu_get() 345 cpumask_andnot(non_intr_cpus, available_cpus, in _dev_comp_vect_cpu_get() 352 cpu = cpumask_first(available_cpus); in _dev_comp_vect_cpu_get() 405 cpumask_var_t available_cpus; in _dev_comp_vect_mappings_create() local 412 if (!zalloc_cpumask_var(&available_cpus, GFP_KERNEL)) { in _dev_comp_vect_mappings_create() 429 available_cpus); in _dev_comp_vect_mappings_create() 441 free_cpumask_var(available_cpus); in _dev_comp_vect_mappings_create() 446 free_cpumask_var(available_cpus); in _dev_comp_vect_mappings_create()
|
D | netdev_rx.c | 160 unsigned int available_cpus; in hfi1_num_netdev_contexts() local 178 available_cpus = cpumask_weight(node_cpu_mask); in hfi1_num_netdev_contexts() 182 return min3(available_cpus, available_contexts, in hfi1_num_netdev_contexts()
|
/linux-6.6.21/arch/arm/common/ |
D | bL_switcher.c | 423 cpumask_t available_cpus; in bL_switcher_halve_cpus() local 450 cpumask_copy(&available_cpus, cpu_online_mask); in bL_switcher_halve_cpus() 452 for_each_cpu(i, &available_cpus) { in bL_switcher_halve_cpus() 459 cpumask_clear_cpu(i, &available_cpus); in bL_switcher_halve_cpus() 460 for_each_cpu(j, &available_cpus) { in bL_switcher_halve_cpus() 473 cpumask_clear_cpu(match, &available_cpus); in bL_switcher_halve_cpus()
|