Home
last modified time | relevance | path

Searched refs:cpumask_test_cpu (Results 1 – 25 of 153) sorted by relevance

1234567

/linux-6.1.9/arch/powerpc/kernel/
Dwatchdog.c213 if (cpumask_test_cpu(cpu, &wd_smp_cpus_pending)) in watchdog_smp_panic()
218 if (!cpumask_test_cpu(c, &wd_smp_cpus_pending)) in watchdog_smp_panic()
265 if (!cpumask_test_cpu(cpu, &wd_smp_cpus_pending)) { in wd_smp_clear_cpu_pending()
266 if (unlikely(cpumask_test_cpu(cpu, &wd_smp_cpus_stuck))) { in wd_smp_clear_cpu_pending()
378 if (!cpumask_test_cpu(cpu, &wd_cpus_enabled)) in DEFINE_INTERRUPT_HANDLER_NMI()
392 if (cpumask_test_cpu(cpu, &wd_smp_cpus_stuck)) { in DEFINE_INTERRUPT_HANDLER_NMI()
444 if (!cpumask_test_cpu(cpu, &watchdog_cpumask)) in watchdog_timer_fn()
460 if (!cpumask_test_cpu(cpu, &watchdog_cpumask)) in arch_touch_nmi_watchdog()
477 if (cpumask_test_cpu(cpu, &wd_cpus_enabled)) { in start_watchdog()
485 if (!cpumask_test_cpu(cpu, &watchdog_cpumask)) in start_watchdog()
[all …]
/linux-6.1.9/arch/sparc/kernel/
Dsun4m_smp.c66 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()
Dsun4d_smp.c103 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()
Dleon_smp.c98 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()
/linux-6.1.9/arch/alpha/kernel/
Dsys_titan.c87 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()
/linux-6.1.9/kernel/irq/
Dcpuhotplug.c50 return cpumask_test_cpu(cpu, m); in irq_needs_fixup()
186 return cpumask_test_cpu(cpu, hk_mask); in hk_should_isolate()
195 !irq_data_get_irq_chip(data) || !cpumask_test_cpu(cpu, affinity)) in irq_restore_affinity_of_irq()
/linux-6.1.9/arch/ia64/kernel/
Dnuma.c30 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()
Dirq_ia64.c240 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()
/linux-6.1.9/kernel/time/
Dtick-broadcast.c283 if (!cpumask_test_cpu(cpu, tick_broadcast_on)) in tick_device_uses_broadcast()
317 ret = cpumask_test_cpu(cpu, tick_broadcast_mask); in tick_device_uses_broadcast()
354 if (cpumask_test_cpu(cpu, mask)) { in tick_do_broadcast()
575 return cpumask_test_cpu(smp_processor_id(), tick_broadcast_mask); in tick_resume_check_broadcast()
627 return cpumask_test_cpu(smp_processor_id(), tick_broadcast_force_mask); in tick_check_broadcast_expired()
667 if (cpumask_test_cpu(smp_processor_id(), tick_broadcast_oneshot_mask)) { in tick_check_oneshot_broadcast_this_cpu()
826 WARN_ON_ONCE(cpumask_test_cpu(cpu, tick_broadcast_pending_mask)); in ___tick_broadcast_oneshot_control()
841 if (cpumask_test_cpu(cpu, tick_broadcast_force_mask)) { in ___tick_broadcast_oneshot_control()
/linux-6.1.9/lib/
Dnmi_backtrace.c61 if (cpumask_test_cpu(this_cpu, to_cpumask(backtrace_mask))) in nmi_trigger_cpumask_backtrace()
97 if (cpumask_test_cpu(cpu, to_cpumask(backtrace_mask))) { in nmi_cpu_backtrace()
/linux-6.1.9/drivers/perf/
Darm_pmu.c335 if (!cpumask_test_cpu(smp_processor_id(), &armpmu->supported_cpus)) in armpmu_add()
510 !cpumask_test_cpu(event->cpu, &armpmu->supported_cpus)) in armpmu_event_init()
530 if (!cpumask_test_cpu(smp_processor_id(), &armpmu->supported_cpus)) in armpmu_enable()
542 if (!cpumask_test_cpu(smp_processor_id(), &armpmu->supported_cpus)) in armpmu_disable()
559 ret = cpumask_test_cpu(cpu, &armpmu->supported_cpus); in armpmu_filter_match()
711 if (!cpumask_test_cpu(cpu, &pmu->supported_cpus)) in arm_perf_starting_cpu()
730 if (!cpumask_test_cpu(cpu, &pmu->supported_cpus)) in arm_perf_teardown_cpu()
790 if (!cpumask_test_cpu(smp_processor_id(), &armpmu->supported_cpus)) in cpu_pm_pmu_notify()
Darm_dsu_pmu.c255 if (WARN_ON(!cpumask_test_cpu(smp_processor_id(), in dsu_pmu_read_counter()
281 if (WARN_ON(!cpumask_test_cpu(smp_processor_id(), in dsu_pmu_write_counter()
447 if (WARN_ON_ONCE(!cpumask_test_cpu(smp_processor_id(), in dsu_pmu_add()
567 if (!cpumask_test_cpu(event->cpu, &dsu_pmu->associated_cpus)) { in dsu_pmu_event_init()
817 if (!cpumask_test_cpu(cpu, &dsu_pmu->associated_cpus)) in dsu_pmu_cpu_online()
/linux-6.1.9/arch/arm/mach-tegra/
Dplatsmp.c93 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()
/linux-6.1.9/arch/arm/include/asm/
Dcacheflush.h220 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()
/linux-6.1.9/include/linux/
Dcpumask.h442 static __always_inline bool cpumask_test_cpu(int cpu, const struct cpumask *cpumask) in cpumask_test_cpu() function
1030 return cpumask_test_cpu(cpu, cpu_online_mask); in cpu_online()
1035 return cpumask_test_cpu(cpu, cpu_possible_mask); in cpu_possible()
1040 return cpumask_test_cpu(cpu, cpu_present_mask); in cpu_present()
1045 return cpumask_test_cpu(cpu, cpu_active_mask); in cpu_active()
1050 return cpumask_test_cpu(cpu, cpu_dying_mask); in cpu_dying()
Dmmu_context.h28 # define task_cpu_possible(cpu, p) cpumask_test_cpu((cpu), task_cpu_possible_mask(p))
/linux-6.1.9/drivers/sh/intc/
Dchip.c25 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()
/linux-6.1.9/drivers/cpuidle/
Dcoupled.c429 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()
/linux-6.1.9/arch/arm/mach-omap2/
Dcpuidle44xx.c133 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()
/linux-6.1.9/arch/riscv/mm/
Dcontext.c203 if (cpumask_test_cpu(cpu, mask)) { in set_mm_asid()
302 if (cpumask_test_cpu(cpu, mask)) { in flush_icache_deferred()
/linux-6.1.9/drivers/net/wireguard/
Dqueueing.h110 !cpumask_test_cpu(cpu, cpu_online_mask))) { in wg_cpumask_choose_online()
131 while (unlikely(!cpumask_test_cpu(cpu, cpu_online_mask))) in wg_cpumask_next_online()
/linux-6.1.9/arch/arm64/kernel/
Dtopology.c98 if ((cpu >= nr_cpu_ids) || !cpumask_test_cpu(cpu, cpu_present_mask)) in freq_counters_valid()
316 if ((cpu >= nr_cpu_ids) || !cpumask_test_cpu(cpu, cpu_present_mask)) in cpc_ffh_supported()
/linux-6.1.9/drivers/hwtracing/coresight/
Dcoresight-trbe.c1104 if (!cpumask_test_cpu(cpu, &drvdata->supported_cpus)) in is_perf_trbe()
1355 if (cpumask_test_cpu(cpu, &drvdata->supported_cpus)) in arm_trbe_probe_coresight()
1357 if (cpumask_test_cpu(cpu, &drvdata->supported_cpus)) in arm_trbe_probe_coresight()
1384 if (cpumask_test_cpu(cpu, &drvdata->supported_cpus)) { in arm_trbe_cpu_startup()
1392 if (cpumask_test_cpu(cpu, &drvdata->supported_cpus)) in arm_trbe_cpu_startup()
1394 if (cpumask_test_cpu(cpu, &drvdata->supported_cpus)) in arm_trbe_cpu_startup()
1407 if (cpumask_test_cpu(cpu, &drvdata->supported_cpus)) { in arm_trbe_cpu_teardown()
/linux-6.1.9/kernel/sched/
Dcpufreq.c71 return cpumask_test_cpu(smp_processor_id(), policy->cpus) || in cpufreq_this_cpu_can_update()
/linux-6.1.9/kernel/trace/
Dring_buffer.c1022 if (!cpumask_test_cpu(cpu, buffer->cpumask)) in ring_buffer_wait()
1131 if (!cpumask_test_cpu(cpu, buffer->cpumask)) in ring_buffer_poll_wait()
2184 !cpumask_test_cpu(cpu_id, buffer->cpumask)) in ring_buffer_resize()
3808 if (unlikely(!cpumask_test_cpu(cpu, buffer->cpumask))) in ring_buffer_lock_reserve()
3958 if (!cpumask_test_cpu(cpu, buffer->cpumask)) in ring_buffer_write()
4147 if (!cpumask_test_cpu(cpu, buffer->cpumask)) in ring_buffer_record_disable_cpu()
4167 if (!cpumask_test_cpu(cpu, buffer->cpumask)) in ring_buffer_record_enable_cpu()
4200 if (!cpumask_test_cpu(cpu, buffer->cpumask)) in ring_buffer_oldest_event_ts()
4231 if (!cpumask_test_cpu(cpu, buffer->cpumask)) in ring_buffer_bytes_cpu()
4250 if (!cpumask_test_cpu(cpu, buffer->cpumask)) in ring_buffer_entries_cpu()
[all …]

1234567