/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | watchdog.c | 160 if (cpumask_test_cpu(cpu, &wd_smp_cpus_pending)) in watchdog_smp_panic() 207 if (!cpumask_test_cpu(cpu, &wd_smp_cpus_pending)) { in wd_smp_clear_cpu_pending() 208 if (unlikely(cpumask_test_cpu(cpu, &wd_smp_cpus_stuck))) { in wd_smp_clear_cpu_pending() 291 if (!cpumask_test_cpu(cpu, &wd_cpus_enabled)) in soft_nmi_interrupt() 301 if (cpumask_test_cpu(cpu, &wd_smp_cpus_stuck)) { in soft_nmi_interrupt() 338 if (!cpumask_test_cpu(cpu, &watchdog_cpumask)) in watchdog_timer_fn() 354 if (!cpumask_test_cpu(cpu, &watchdog_cpumask)) in arch_touch_nmi_watchdog() 371 if (cpumask_test_cpu(cpu, &wd_cpus_enabled)) { in start_watchdog() 379 if (!cpumask_test_cpu(cpu, &watchdog_cpumask)) in start_watchdog() 409 if (!cpumask_test_cpu(cpu, &wd_cpus_enabled)) in stop_watchdog()
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
D | sun4m_smp.c | 66 while (!cpumask_test_cpu(cpuid, &smp_commenced_mask)) in sun4m_cpu_pre_online() 197 if (cpumask_test_cpu(i, &mask)) { in sun4m_cross_call() 213 if (!cpumask_test_cpu(i, &mask)) in sun4m_cross_call() 221 if (!cpumask_test_cpu(i, &mask)) in sun4m_cross_call()
|
D | sun4d_smp.c | 103 while (!cpumask_test_cpu(cpuid, &smp_commenced_mask)) in sun4d_cpu_pre_online() 321 if (cpumask_test_cpu(i, &mask)) { in sun4d_cross_call() 334 if (!cpumask_test_cpu(i, &mask)) in sun4d_cross_call() 342 if (!cpumask_test_cpu(i, &mask)) in sun4d_cross_call()
|
D | leon_smp.c | 98 while (!cpumask_test_cpu(cpuid, &smp_commenced_mask)) in leon_cpu_pre_online() 409 if (cpumask_test_cpu(i, &mask)) { in leon_cross_call() 423 if (!cpumask_test_cpu(i, &mask)) in leon_cross_call() 432 if (!cpumask_test_cpu(i, &mask)) in leon_cross_call()
|
/kernel/linux/linux-5.10/arch/alpha/kernel/ |
D | sys_titan.c | 87 if (!cpumask_test_cpu(0, &cpm)) dim0 = &dummy; in titan_update_irq_hw() 88 if (!cpumask_test_cpu(1, &cpm)) dim1 = &dummy; in titan_update_irq_hw() 89 if (!cpumask_test_cpu(2, &cpm)) dim2 = &dummy; in titan_update_irq_hw() 90 if (!cpumask_test_cpu(3, &cpm)) dim3 = &dummy; in titan_update_irq_hw() 140 if (cpumask_test_cpu(cpu, &affinity)) in titan_cpu_set_irq_affinity()
|
/kernel/linux/linux-5.10/kernel/time/ |
D | tick-broadcast.c | 200 if (!cpumask_test_cpu(cpu, tick_broadcast_on)) in tick_device_uses_broadcast() 234 ret = cpumask_test_cpu(cpu, tick_broadcast_mask); in tick_device_uses_broadcast() 273 if (cpumask_test_cpu(cpu, mask)) { in tick_do_broadcast() 494 return cpumask_test_cpu(smp_processor_id(), tick_broadcast_mask); in tick_resume_check_broadcast() 546 return cpumask_test_cpu(smp_processor_id(), tick_broadcast_force_mask); in tick_check_broadcast_expired() 586 if (cpumask_test_cpu(smp_processor_id(), tick_broadcast_oneshot_mask)) { in tick_check_oneshot_broadcast_this_cpu() 753 WARN_ON_ONCE(cpumask_test_cpu(cpu, tick_broadcast_pending_mask)); in __tick_broadcast_oneshot_control() 768 if (cpumask_test_cpu(cpu, tick_broadcast_force_mask)) { in __tick_broadcast_oneshot_control()
|
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
D | numa.c | 30 if (cpumask_test_cpu(cpu, &node_to_cpu_mask[oldnid])) { in map_cpu_to_node() 44 WARN_ON(!cpumask_test_cpu(cpu, &node_to_cpu_mask[nid])); in unmap_cpu_from_node()
|
D | irq_ia64.c | 240 if (!cpumask_test_cpu(cpu, &irq_cfg[irq].domain)) in __setup_vector_irq() 271 if (cpumask_test_cpu(cpu, &cfg->domain)) in __irq_prepare_move() 305 if (unlikely(cpumask_test_cpu(smp_processor_id(), &cfg->old_domain))) in irq_complete_move() 336 if (!cpumask_test_cpu(me, &cfg->old_domain)) in smp_irq_move_cleanup_interrupt()
|
/kernel/linux/linux-5.10/lib/ |
D | nmi_backtrace.c | 61 if (cpumask_test_cpu(this_cpu, to_cpumask(backtrace_mask))) in nmi_trigger_cpumask_backtrace() 96 if (cpumask_test_cpu(cpu, to_cpumask(backtrace_mask))) { in nmi_cpu_backtrace()
|
/kernel/linux/linux-5.10/kernel/irq/ |
D | cpuhotplug.c | 51 return cpumask_test_cpu(cpu, m); in irq_needs_fixup() 235 return cpumask_test_cpu(cpu, hk_mask); in hk_should_isolate() 244 !irq_data_get_irq_chip(data) || !cpumask_test_cpu(cpu, affinity)) in irq_restore_affinity_of_irq()
|
/kernel/linux/linux-5.10/drivers/perf/ |
D | arm_pmu.c | 333 if (!cpumask_test_cpu(smp_processor_id(), &armpmu->supported_cpus)) in armpmu_add() 508 !cpumask_test_cpu(event->cpu, &armpmu->supported_cpus)) in armpmu_event_init() 528 if (!cpumask_test_cpu(smp_processor_id(), &armpmu->supported_cpus)) in armpmu_enable() 540 if (!cpumask_test_cpu(smp_processor_id(), &armpmu->supported_cpus)) in armpmu_disable() 557 ret = cpumask_test_cpu(cpu, &armpmu->supported_cpus); in armpmu_filter_match() 738 if (!cpumask_test_cpu(cpu, &pmu->supported_cpus)) in arm_perf_starting_cpu() 757 if (!cpumask_test_cpu(cpu, &pmu->supported_cpus)) in arm_perf_teardown_cpu() 817 if (!cpumask_test_cpu(smp_processor_id(), &armpmu->supported_cpus)) in cpu_pm_pmu_notify()
|
D | arm_dsu_pmu.c | 256 if (WARN_ON(!cpumask_test_cpu(smp_processor_id(), in dsu_pmu_read_counter() 282 if (WARN_ON(!cpumask_test_cpu(smp_processor_id(), in dsu_pmu_write_counter() 448 if (WARN_ON_ONCE(!cpumask_test_cpu(smp_processor_id(), in dsu_pmu_add() 568 if (!cpumask_test_cpu(event->cpu, &dsu_pmu->associated_cpus)) { in dsu_pmu_event_init() 823 if (!cpumask_test_cpu(cpu, &dsu_pmu->associated_cpus)) in dsu_pmu_cpu_online()
|
/kernel/linux/linux-5.10/include/linux/ |
D | cpumask.h | 123 #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask) 124 #define cpu_possible(cpu) cpumask_test_cpu((cpu), cpu_possible_mask) 125 #define cpu_present(cpu) cpumask_test_cpu((cpu), cpu_present_mask) 126 #define cpu_active(cpu) cpumask_test_cpu((cpu), cpu_active_mask) 147 #define cpu_isolated(cpu) cpumask_test_cpu((cpu), cpu_isolated_mask) 387 static inline int cpumask_test_cpu(int cpu, const struct cpumask *cpumask) in cpumask_test_cpu() function
|
/kernel/linux/linux-5.10/arch/arm/mach-tegra/ |
D | platsmp.c | 93 if (cpumask_test_cpu(cpu, &tegra_cpu_init_mask)) { in tegra30_boot_secondary() 135 if (cpumask_test_cpu(cpu, &tegra_cpu_init_mask)) { in tegra114_boot_secondary()
|
/kernel/linux/linux-5.10/arch/arm/include/asm/ |
D | cacheflush.h | 220 if (cpumask_test_cpu(smp_processor_id(), mm_cpumask(mm))) in vivt_flush_cache_mm() 229 if (!mm || cpumask_test_cpu(smp_processor_id(), mm_cpumask(mm))) in vivt_flush_cache_range() 239 if (!mm || cpumask_test_cpu(smp_processor_id(), mm_cpumask(mm))) { in vivt_flush_cache_page()
|
/kernel/linux/linux-5.10/kernel/trace/ |
D | ring_buffer.c | 888 if (!cpumask_test_cpu(cpu, buffer->cpumask)) in ring_buffer_wait() 997 if (!cpumask_test_cpu(cpu, buffer->cpumask)) in ring_buffer_poll_wait() 2050 !cpumask_test_cpu(cpu_id, buffer->cpumask)) in ring_buffer_resize() 2138 if (!cpumask_test_cpu(cpu_id, buffer->cpumask)) in ring_buffer_resize() 3528 if (unlikely(!cpumask_test_cpu(cpu, buffer->cpumask))) in ring_buffer_lock_reserve() 3678 if (!cpumask_test_cpu(cpu, buffer->cpumask)) in ring_buffer_write() 3867 if (!cpumask_test_cpu(cpu, buffer->cpumask)) in ring_buffer_record_disable_cpu() 3887 if (!cpumask_test_cpu(cpu, buffer->cpumask)) in ring_buffer_record_enable_cpu() 3920 if (!cpumask_test_cpu(cpu, buffer->cpumask)) in ring_buffer_oldest_event_ts() 3951 if (!cpumask_test_cpu(cpu, buffer->cpumask)) in ring_buffer_bytes_cpu() [all …]
|
/kernel/linux/linux-5.10/arch/mips/netlogic/common/ |
D | smp.c | 222 if (cpumask_test_cpu(i, wakeup_mask)) in nlm_parse_cpumask() 245 if (cpumask_test_cpu(i + j, wakeup_mask)) in nlm_parse_cpumask()
|
/kernel/linux/linux-5.10/drivers/sh/intc/ |
D | chip.c | 25 if (!cpumask_test_cpu(cpu, irq_data_get_affinity_mask(data))) in _intc_enable() 53 if (!cpumask_test_cpu(cpu, irq_data_get_affinity_mask(data))) in intc_disable()
|
/kernel/linux/linux-5.10/drivers/cpuidle/ |
D | coupled.c | 429 if (!cpumask_test_cpu(cpu, &cpuidle_coupled_poke_pending)) in cpuidle_coupled_clear_pokes() 433 while (cpumask_test_cpu(cpu, &cpuidle_coupled_poke_pending)) in cpuidle_coupled_clear_pokes() 520 !cpumask_test_cpu(dev->cpu, &cpuidle_coupled_poked)) { in cpuidle_enter_state_coupled()
|
/kernel/linux/linux-5.10/arch/mips/netlogic/xlr/ |
D | wakeup.c | 65 if (i == boot_cpu || !cpumask_test_cpu(i, &nlm_cpumask)) in xlr_wakeup_secondary_cpus()
|
/kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
D | cpuidle44xx.c | 133 if (dev->cpu == 0 && cpumask_test_cpu(1, cpu_online_mask)) { in omap_enter_idle_coupled() 191 if (dev->cpu == 0 && cpumask_test_cpu(1, cpu_online_mask)) { in omap_enter_idle_coupled()
|
/kernel/linux/linux-5.10/arch/riscv/mm/ |
D | context.c | 30 if (cpumask_test_cpu(cpu, mask)) { in flush_icache_deferred()
|
/kernel/linux/linux-5.10/kernel/sched/ |
D | cpufreq.c | 74 return cpumask_test_cpu(smp_processor_id(), policy->cpus) || in cpufreq_this_cpu_can_update()
|
/kernel/linux/linux-5.10/drivers/net/wireguard/ |
D | queueing.h | 112 !cpumask_test_cpu(cpu, cpu_online_mask))) { in wg_cpumask_choose_online() 133 while (unlikely(!cpumask_test_cpu(cpu, cpu_online_mask))) in wg_cpumask_next_online()
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
D | crash.c | 43 if (!cpumask_test_cpu(cpu, &cpus_in_crash)) in crash_shutdown_secondary()
|