/linux/drivers/base/ |
A D | arch_topology.c | 69 for_each_cpu(cpu, cpus) { in topology_set_scale_freq_source() 93 for_each_cpu(cpu, cpus) { in topology_clear_scale_freq_source() 144 for_each_cpu(i, cpus) in topology_set_freq_scale() 163 for_each_cpu(cpu, cpus) in topology_set_thermal_pressure() 333 for_each_cpu(cpu, policy->related_cpus) in init_cpu_capacity_callback() 676 for_each_cpu(sibling, topology_core_cpumask(cpu)) in remove_cpu_topology() 678 for_each_cpu(sibling, topology_sibling_cpumask(cpu)) in remove_cpu_topology() 680 for_each_cpu(sibling, topology_cluster_cpumask(cpu)) in remove_cpu_topology() 682 for_each_cpu(sibling, topology_llc_cpumask(cpu)) in remove_cpu_topology()
|
/linux/arch/ia64/kernel/ |
A D | smp.c | 172 for_each_cpu(cpu, mask) { in send_IPI_mask() 264 for_each_cpu(cpu, &cpumask) in smp_flush_tlb_cpumask() 268 for_each_cpu(cpu, &cpumask) { in smp_flush_tlb_cpumask() 278 for_each_cpu(cpu, &cpumask) in smp_flush_tlb_cpumask()
|
/linux/arch/powerpc/kernel/ |
A D | smp.c | 384 for_each_cpu(cpu, mask) in arch_send_call_function_ipi_mask() 581 for_each_cpu(cpu, mask) in tick_broadcast() 721 for_each_cpu(k, srcmask(i)) in or_cpumasks_related() 728 for_each_cpu(k, srcmask(j)) in or_cpumasks_related() 1398 for_each_cpu(i, cpu_sibling_mask(cpu)) in update_mask_by_l2() 1412 for_each_cpu(i, *mask) { in update_mask_by_l2() 1445 for_each_cpu(i, mask_fn(cpu)) { in remove_cpu_from_masks() 1452 for_each_cpu(i, cpu_core_mask(cpu)) in remove_cpu_from_masks() 1488 for_each_cpu(i, submask_fn(cpu)) in update_coregroup_mask() 1502 for_each_cpu(i, *mask) { in update_coregroup_mask() [all …]
|
/linux/drivers/cpuidle/ |
A D | driver.c | 52 for_each_cpu(cpu, drv->cpumask) { in __cpuidle_unset_driver() 72 for_each_cpu(cpu, drv->cpumask) { in __cpuidle_set_driver() 80 for_each_cpu(cpu, drv->cpumask) in __cpuidle_set_driver() 371 for_each_cpu(cpu, drv->cpumask) { in cpuidle_driver_state_disabled()
|
A D | coupled.c | 306 for_each_cpu(i, &coupled->coupled_cpus) in cpuidle_coupled_get_state() 352 for_each_cpu(cpu, &coupled->coupled_cpus) in cpuidle_coupled_poke_others() 652 for_each_cpu(cpu, &dev->coupled_cpus) { in cpuidle_coupled_register_device()
|
A D | cpuidle-tegra.c | 55 for_each_cpu(lcpu, cpu_possible_mask) { in tegra_cpuidle_report_cpus_state() 101 for_each_cpu(lcpu, cpu_online_mask) { in tegra_cpuidle_unpark_secondary_cpus()
|
/linux/arch/x86/kernel/apic/ |
A D | ipi.c | 196 for_each_cpu(query_cpu, mask) { in default_send_IPI_mask_sequence_phys() 213 for_each_cpu(query_cpu, mask) { in default_send_IPI_mask_allbutself_phys() 260 for_each_cpu(query_cpu, mask) in default_send_IPI_mask_sequence_logical() 277 for_each_cpu(query_cpu, mask) { in default_send_IPI_mask_allbutself_logical()
|
A D | apic_numachip.c | 123 for_each_cpu(cpu, mask) in numachip_send_IPI_mask() 133 for_each_cpu(cpu, mask) { in numachip_send_IPI_mask_allbutself()
|
/linux/drivers/powercap/ |
A D | idle_inject.c | 253 for_each_cpu(cpu, to_cpumask(ii_dev->cpumask)) { in idle_inject_stop() 314 for_each_cpu(cpu, to_cpumask(ii_dev->cpumask)) { in idle_inject_register() 327 for_each_cpu(cpu_rb, to_cpumask(ii_dev->cpumask)) { in idle_inject_register() 352 for_each_cpu(cpu, to_cpumask(ii_dev->cpumask)) in idle_inject_unregister()
|
/linux/drivers/cpufreq/ |
A D | cpufreq_governor.c | 102 for_each_cpu(j, policy_dbs->policy->cpus) { in gov_update_cpu_data() 137 for_each_cpu(j, policy->cpus) { in dbs_update() 331 for_each_cpu(cpu, policy->cpus) { in gov_set_update_util() 343 for_each_cpu(i, policy->cpus) in gov_clear_update_util() 367 for_each_cpu(j, policy->related_cpus) { in alloc_policy_dbs_info() 382 for_each_cpu(j, policy_dbs->policy->related_cpus) { in free_policy_dbs_info() 523 for_each_cpu(j, policy->cpus) { in cpufreq_dbs_governor_start()
|
/linux/arch/mips/kernel/ |
A D | smp.c | 88 for_each_cpu(i, &cpu_sibling_setup_map) { in set_cpu_sibling_map() 104 for_each_cpu(i, &cpu_core_setup_map) { in set_cpu_core_map() 125 for_each_cpu(k, &temp_foreign_map) in calculate_cpu_foreign_map() 176 for_each_cpu(cpu, mask) { in mips_smp_send_ipi_mask() 268 for_each_cpu(cpu, mask) { in mips_smp_ipi_allocate() 304 for_each_cpu(cpu, mask) { in mips_smp_ipi_free() 702 for_each_cpu(cpu, mask) { in tick_broadcast()
|
/linux/drivers/virt/nitro_enclaves/ |
A D | ne_misc_dev.c | 203 for_each_cpu(cpu, cpu_pool) in ne_setup_cpu_pool() 216 for_each_cpu(cpu, cpu_pool) in ne_setup_cpu_pool() 250 for_each_cpu(cpu_sibling, topology_sibling_cpumask(0)) { in ne_setup_cpu_pool() 266 for_each_cpu(cpu, cpu_pool) { in ne_setup_cpu_pool() 281 for_each_cpu(cpu_sibling, topology_sibling_cpumask(cpu)) in ne_setup_cpu_pool() 306 for_each_cpu(cpu, cpu_pool) { in ne_setup_cpu_pool() 330 for_each_cpu(cpu, cpu_pool) { in ne_setup_cpu_pool() 349 for_each_cpu(cpu, cpu_pool) in ne_setup_cpu_pool() 575 for_each_cpu(cpu, ne_enclave->threads_per_core[i]) in ne_get_cpu_from_cpu_pool() 1050 for_each_cpu(cpu, ne_enclave->threads_per_core[i]) in ne_start_enclave_ioctl() [all …]
|
/linux/drivers/md/ |
A D | dm-ps-io-affinity.c | 79 for_each_cpu(cpu, pi->cpumask) { in ioa_add_path() 143 for_each_cpu(cpu, s->path_mask) in ioa_destroy() 220 for_each_cpu(i, cpumask) { in ioa_select_path() 226 for_each_cpu(i, s->path_mask) { in ioa_select_path()
|
/linux/tools/testing/selftests/cpufreq/ |
A D | cpu.sh | 15 for_each_cpu() function 70 for_each_cpu cpu_should_have_cpufreq_directory
|
/linux/lib/ |
A D | cpumask.c | 58 for_each_cpu(i, mask) in cpumask_any_but() 214 for_each_cpu(cpu, cpu_online_mask) in cpumask_local_spread() 223 for_each_cpu(cpu, cpu_online_mask) { in cpumask_local_spread()
|
A D | cpu_rmap.c | 99 for_each_cpu(neigh, mask) { in cpu_rmap_copy_neigh() 179 for_each_cpu(cpu, affinity) { in cpu_rmap_update() 189 for_each_cpu(cpu, update_mask) { in cpu_rmap_update()
|
/linux/kernel/irq/ |
A D | matrix.c | 137 for_each_cpu(cpu, msk) { in matrix_find_best_cpu() 158 for_each_cpu(cpu, msk) { in matrix_find_best_cpu_managed() 214 for_each_cpu(cpu, msk) { in irq_matrix_reserve_managed() 231 for_each_cpu(cpu, msk) { in irq_matrix_reserve_managed() 255 for_each_cpu(cpu, msk) { in irq_matrix_remove_managed()
|
/linux/drivers/perf/ |
A D | arm_pmu_platform.c | 55 for_each_cpu(cpu, &pmu->supported_cpus) in pmu_parse_percpu_irq() 162 for_each_cpu(cpu, &armpmu->supported_cpus) { in armpmu_request_irqs() 180 for_each_cpu(cpu, &armpmu->supported_cpus) { in armpmu_free_irqs()
|
/linux/arch/powerpc/platforms/cell/ |
A D | cpufreq_spudemand.c | 94 for_each_cpu(i, policy->cpus) { in spu_gov_start() 117 for_each_cpu (i, policy->cpus) { in spu_gov_stop()
|
/linux/include/linux/ |
A D | cpumask.h | 178 #define for_each_cpu(cpu, mask) \ macro 240 #define for_each_cpu(cpu, mask) \ macro 788 #define for_each_possible_cpu(cpu) for_each_cpu((cpu), cpu_possible_mask) 789 #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) 790 #define for_each_present_cpu(cpu) for_each_cpu((cpu), cpu_present_mask)
|
/linux/drivers/opp/ |
A D | cpu.c | 116 for_each_cpu(cpu, cpumask) { in _dev_pm_opp_cpumask_remove_table() 167 for_each_cpu(cpu, cpumask) { in dev_pm_opp_set_sharing_cpus()
|
/linux/drivers/acpi/ |
A D | processor_thermal.c | 126 for_each_cpu(cpu, policy->related_cpus) { in acpi_thermal_cpufreq_init() 146 for_each_cpu(cpu, policy->related_cpus) { in acpi_thermal_cpufreq_exit()
|
/linux/arch/riscv/kernel/ |
A D | smp.c | 67 for_each_cpu(cpu, in) in riscv_cpuid_to_hartid_mask() 112 for_each_cpu(cpu, mask) in send_ipi_mask()
|
/linux/arch/x86/kernel/ |
A D | smpboot.c | 634 for_each_cpu(i, cpu_sibling_setup_mask) { in set_cpu_sibling_map() 657 for_each_cpu(i, topology_sibling_cpumask(cpu)) in set_cpu_sibling_map() 664 for_each_cpu(i, cpu_sibling_setup_mask) { in set_cpu_sibling_map() 1606 for_each_cpu(sibling, topology_core_cpumask(cpu)) { in remove_siblinginfo() 1615 for_each_cpu(sibling, topology_die_cpumask(cpu)) in remove_siblinginfo() 1618 for_each_cpu(sibling, topology_sibling_cpumask(cpu)) { in remove_siblinginfo() 1624 for_each_cpu(sibling, cpu_llc_shared_mask(cpu)) in remove_siblinginfo() 1626 for_each_cpu(sibling, cpu_l2c_shared_mask(cpu)) in remove_siblinginfo()
|
/linux/kernel/ |
A D | watchdog.c | 293 for_each_cpu(cpu, &watchdog_allowed_mask) { in touch_all_softlockup_watchdogs() 505 for_each_cpu(cpu, &watchdog_allowed_mask) in softlockup_stop_all() 522 for_each_cpu(cpu, &watchdog_allowed_mask) in softlockup_start_all()
|