/linux-6.6.21/arch/ia64/kernel/ |
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-6.6.21/arch/x86/kernel/apic/ |
D | ipi.c | 196 for_each_cpu(cpu, mask) { in default_send_IPI_mask_sequence_phys() 210 for_each_cpu(cpu, mask) { in default_send_IPI_mask_allbutself_phys() 249 for_each_cpu(cpu, mask) in default_send_IPI_mask_sequence_logical() 261 for_each_cpu(cpu, mask) { in default_send_IPI_mask_allbutself_logical()
|
/linux-6.6.21/drivers/cpuidle/ |
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() 375 for_each_cpu(cpu, drv->cpumask) { in cpuidle_driver_state_disabled()
|
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()
|
/linux-6.6.21/drivers/base/ |
D | arch_topology.c | 74 for_each_cpu(cpu, cpus) { in topology_set_scale_freq_source() 98 for_each_cpu(cpu, cpus) { in topology_clear_scale_freq_source() 149 for_each_cpu(i, cpus) in topology_set_freq_scale() 204 for_each_cpu(cpu, cpus) in topology_update_thermal_pressure() 413 for_each_cpu(cpu, policy->related_cpus) in init_cpu_capacity_callback() 808 for_each_cpu(sibling, topology_core_cpumask(cpu)) in remove_cpu_topology() 810 for_each_cpu(sibling, topology_sibling_cpumask(cpu)) in remove_cpu_topology() 812 for_each_cpu(sibling, topology_cluster_cpumask(cpu)) in remove_cpu_topology() 814 for_each_cpu(sibling, topology_llc_cpumask(cpu)) in remove_cpu_topology()
|
/linux-6.6.21/arch/mips/kernel/ |
D | smp.c | 106 for_each_cpu(i, &cpu_sibling_setup_map) { in set_cpu_sibling_map() 122 for_each_cpu(i, &cpu_core_setup_map) { in set_cpu_core_map() 143 for_each_cpu(k, &temp_foreign_map) in calculate_cpu_foreign_map() 194 for_each_cpu(cpu, mask) { in mips_smp_send_ipi_mask() 286 for_each_cpu(cpu, mask) { in mips_smp_ipi_allocate() 322 for_each_cpu(cpu, mask) { in mips_smp_ipi_free() 734 for_each_cpu(cpu, mask) { in tick_broadcast()
|
/linux-6.6.21/drivers/cpufreq/ |
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() 531 for_each_cpu(j, policy->cpus) { in cpufreq_dbs_governor_start()
|
/linux-6.6.21/tools/testing/selftests/cpufreq/ |
D | cpu.sh | 15 for_each_cpu() function 70 for_each_cpu cpu_should_have_cpufreq_directory
|
/linux-6.6.21/drivers/md/ |
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-6.6.21/drivers/powercap/ |
D | idle_inject.c | 279 for_each_cpu(cpu, to_cpumask(ii_dev->cpumask)) { in idle_inject_stop() 347 for_each_cpu(cpu, to_cpumask(ii_dev->cpumask)) { in idle_inject_register_full() 360 for_each_cpu(cpu_rb, to_cpumask(ii_dev->cpumask)) { in idle_inject_register_full() 403 for_each_cpu(cpu, to_cpumask(ii_dev->cpumask)) in idle_inject_unregister()
|
D | dtpm_cpu.c | 141 for_each_cpu(dtpm_cpu->cpu, policy->related_cpus) in pd_release() 210 for_each_cpu(cpu, policy->related_cpus) in __dtpm_cpu_setup() 233 for_each_cpu(cpu, policy->related_cpus) in __dtpm_cpu_setup()
|
/linux-6.6.21/drivers/virt/nitro_enclaves/ |
D | ne_misc_dev.c | 214 for_each_cpu(cpu, cpu_pool) in ne_setup_cpu_pool() 227 for_each_cpu(cpu, cpu_pool) in ne_setup_cpu_pool() 261 for_each_cpu(cpu_sibling, topology_sibling_cpumask(0)) { in ne_setup_cpu_pool() 277 for_each_cpu(cpu, cpu_pool) { in ne_setup_cpu_pool() 278 for_each_cpu(cpu_sibling, topology_sibling_cpumask(cpu)) { in ne_setup_cpu_pool() 292 for_each_cpu(cpu_sibling, topology_sibling_cpumask(cpu)) in ne_setup_cpu_pool() 317 for_each_cpu(cpu, cpu_pool) { in ne_setup_cpu_pool() 341 for_each_cpu(cpu, cpu_pool) { in ne_setup_cpu_pool() 360 for_each_cpu(cpu, cpu_pool) in ne_setup_cpu_pool() 401 for_each_cpu(cpu, ne_cpu_pool.avail_threads_per_core[i]) { in ne_teardown_cpu_pool() [all …]
|
/linux-6.6.21/arch/powerpc/kernel/ |
D | smp.c | 386 for_each_cpu(cpu, mask) in arch_send_call_function_ipi_mask() 583 for_each_cpu(cpu, mask) in tick_broadcast() 751 for_each_cpu(k, srcmask(i)) in or_cpumasks_related() 758 for_each_cpu(k, srcmask(j)) in or_cpumasks_related() 1423 for_each_cpu(i, per_cpu(thread_group_l2_cache_map, cpu)) { in update_mask_by_l2() 1441 for_each_cpu(i, cpu_sibling_mask(cpu)) in update_mask_by_l2() 1455 for_each_cpu(i, *mask) { in update_mask_by_l2() 1488 for_each_cpu(i, mask_fn(cpu)) { in remove_cpu_from_masks() 1495 for_each_cpu(i, cpu_core_mask(cpu)) in remove_cpu_from_masks() 1499 for_each_cpu(i, cpu_coregroup_mask(cpu)) in remove_cpu_from_masks() [all …]
|
/linux-6.6.21/kernel/irq/ |
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-6.6.21/drivers/perf/ |
D | arm_pmu_platform.c | 54 for_each_cpu(cpu, &pmu->supported_cpus) in pmu_parse_percpu_irq() 161 for_each_cpu(cpu, &armpmu->supported_cpus) { in armpmu_request_irqs() 179 for_each_cpu(cpu, &armpmu->supported_cpus) { in armpmu_free_irqs()
|
/linux-6.6.21/arch/riscv/kernel/ |
D | sys_riscv.c | 92 for_each_cpu(cpu, cpus) { in hwprobe_arch_id() 145 for_each_cpu(cpu, cpus) { in hwprobe_isa_ext0() 173 for_each_cpu(cpu, cpus) { in hwprobe_misaligned()
|
/linux-6.6.21/lib/ |
D | cpu_rmap.c | 99 for_each_cpu(neigh, mask) { in cpu_rmap_copy_neigh() 191 for_each_cpu(cpu, affinity) { in cpu_rmap_update() 201 for_each_cpu(cpu, update_mask) { in cpu_rmap_update()
|
/linux-6.6.21/arch/loongarch/kernel/ |
D | smp.c | 97 for_each_cpu(i, &cpu_core_setup_map) { in set_cpu_core_map() 111 for_each_cpu(i, &cpu_sibling_setup_map) { in set_cpu_sibling_map() 123 for_each_cpu(i, &cpu_sibling_setup_map) { in clear_cpu_sibling_map() 146 for_each_cpu(k, &temp_foreign_map) in calculate_cpu_foreign_map() 214 for_each_cpu(i, mask) in loongson_send_ipi_mask()
|
/linux-6.6.21/arch/powerpc/platforms/cell/ |
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-6.6.21/arch/x86/kernel/ |
D | smpboot.c | 681 for_each_cpu(i, cpu_sibling_setup_mask) { in set_cpu_sibling_map() 704 for_each_cpu(i, topology_sibling_cpumask(cpu)) in set_cpu_sibling_map() 711 for_each_cpu(i, cpu_sibling_setup_mask) { in set_cpu_sibling_map() 1381 for_each_cpu(sibling, topology_core_cpumask(cpu)) { in remove_siblinginfo() 1390 for_each_cpu(sibling, topology_die_cpumask(cpu)) in remove_siblinginfo() 1393 for_each_cpu(sibling, topology_sibling_cpumask(cpu)) { in remove_siblinginfo() 1399 for_each_cpu(sibling, cpu_llc_shared_mask(cpu)) in remove_siblinginfo() 1401 for_each_cpu(sibling, cpu_l2c_shared_mask(cpu)) in remove_siblinginfo()
|
/linux-6.6.21/drivers/opp/ |
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-6.6.21/tools/workqueue/ |
D | wq_dump.py | 52 from drgn.helpers.linux.cpumask import for_each_cpu,for_each_possible_cpu 68 for cpu in for_each_cpu(cpumask[0]):
|
/linux-6.6.21/include/linux/ |
D | cpumask.h | 281 #define for_each_cpu(cpu, mask) \ macro 384 for_each_cpu(i, mask) in cpumask_any_but() 974 #define for_each_possible_cpu(cpu) for_each_cpu((cpu), cpu_possible_mask) 975 #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) 976 #define for_each_present_cpu(cpu) for_each_cpu((cpu), cpu_present_mask)
|
/linux-6.6.21/block/ |
D | blk-mq-pci.c | 36 for_each_cpu(cpu, mask) in blk_mq_pci_map_queues()
|
D | blk-mq-virtio.c | 37 for_each_cpu(cpu, mask) in blk_mq_virtio_map_queues()
|