Home
last modified time | relevance | path

Searched refs:cpumask_empty (Results 1 – 25 of 116) sorted by relevance

12345

/linux-6.12.1/arch/x86/kernel/
Dsmp.c193 if (!cpumask_empty(&cpus_stop_mask)) { in native_stop_other_cpus()
203 while (!cpumask_empty(&cpus_stop_mask) && timeout--) in native_stop_other_cpus()
208 if (!cpumask_empty(&cpus_stop_mask)) { in native_stop_other_cpus()
228 while (!cpumask_empty(&cpus_stop_mask) && (wait || timeout--)) in native_stop_other_cpus()
Dnmi_selftest.c82 while (!cpumask_empty(mask) && --timeout) in test_nmi_ipi()
97 if (!cpumask_empty(to_cpumask(nmi_ipi_mask))) in remote_ipi()
/linux-6.12.1/kernel/cgroup/
Dcpuset.c488 return cpumask_empty(cs->exclusive_cpus) ? cs->cpus_allowed in user_xcpus()
494 return cpumask_empty(cs->cpus_allowed) && in xcpus_empty()
495 cpumask_empty(cs->exclusive_cpus); in xcpus_empty()
558 if (!cpumask_empty(cur->cpus_allowed) && in validate_change()
559 cpumask_empty(trial->cpus_allowed)) in validate_change()
587 txset = !cpumask_empty(trial->exclusive_cpus); in validate_change()
588 cxset = !cpumask_empty(c->exclusive_cpus); in validate_change()
609 if (!cpumask_empty(acpus) && cpumask_subset(acpus, xcpus)) in validate_change()
650 if (cpumask_empty(cp->cpus_allowed)) { in update_domain_attr_tree()
739 if (root_load_balance && cpumask_empty(subpartitions_cpus)) { in generate_sched_domains()
[all …]
Dcpuset-v1.c156 if (!cpumask_empty(cs->cpus_allowed) && in update_relax_domain_level()
264 while (cpumask_empty(parent->cpus_allowed) || in remove_tasks_in_empty_cpuset()
302 if (cpus_updated && !cpumask_empty(cs->cpus_allowed)) in cpuset1_hotplug_update_tasks()
307 is_empty = cpumask_empty(cs->cpus_allowed) || in cpuset1_hotplug_update_tasks()
/linux-6.12.1/kernel/time/
Dtick-broadcast.c180 if (!cpumask_empty(tick_broadcast_mask)) in tick_install_broadcast_device()
307 if (cpumask_empty(tick_broadcast_mask) && bc) in tick_device_uses_broadcast()
374 if (!cpumask_empty(mask)) { in tick_do_broadcast()
461 bc_stopped = cpumask_empty(tick_broadcast_mask); in tick_broadcast_control()
497 if (cpumask_empty(tick_broadcast_mask)) { in tick_broadcast_control()
529 if (bc && cpumask_empty(tick_broadcast_mask)) in tick_shutdown_broadcast()
593 if (!cpumask_empty(tick_broadcast_mask)) in tick_resume_broadcast()
597 if (!cpumask_empty(tick_broadcast_mask)) in tick_resume_broadcast()
709 cpumask_empty(tick_broadcast_oneshot_mask)) in tick_handle_oneshot_broadcast()
1117 if (!cpumask_empty(tick_broadcast_oneshot_mask)) in tick_broadcast_setup_oneshot()
Dclocksource.c370 if (cpumask_empty(&cpus_chosen)) { in clocksource_verify_percpu()
398 if (!cpumask_empty(&cpus_ahead)) in clocksource_verify_percpu()
401 if (!cpumask_empty(&cpus_behind)) in clocksource_verify_percpu()
404 if (!cpumask_empty(&cpus_ahead) || !cpumask_empty(&cpus_behind)) in clocksource_verify_percpu()
/linux-6.12.1/arch/powerpc/kernel/
Dwatchdog.c190 if (cpumask_empty(&wd_smp_cpus_pending)) { in set_cpu_stuck()
227 if (cpumask_empty(&wd_smp_cpus_ipi)) { in watchdog_smp_panic()
293 if (unlikely(cpumask_empty(&wd_smp_cpus_pending))) in wd_smp_clear_cpu_pending()
326 if (cpumask_empty(&wd_smp_cpus_pending)) { in wd_smp_clear_cpu_pending()
336 if (cpumask_empty(&wd_smp_cpus_pending)) { in wd_smp_clear_cpu_pending()
/linux-6.12.1/net/iucv/
Diucv.c500 if (iucv_nonsmp_handler == 0 || cpumask_empty(&iucv_irq_cpumask)) in iucv_declare_cpu()
592 if (cpumask_empty(&iucv_buffer_cpumask)) in iucv_enable()
678 if (cpumask_empty(cpumask)) { in iucv_cpu_down_prep()
685 if (!cpumask_empty(&iucv_irq_cpumask)) in iucv_cpu_down_prep()
833 if (cpumask_empty(&iucv_irq_cpumask)) in iucv_reboot_event()
872 if (cpumask_empty(&iucv_buffer_cpumask)) { in iucv_path_accept()
921 if (cpumask_empty(&iucv_buffer_cpumask)) { in iucv_path_connect()
981 if (cpumask_empty(&iucv_buffer_cpumask)) { in iucv_path_quiesce()
1013 if (cpumask_empty(&iucv_buffer_cpumask)) { in iucv_path_resume()
1042 if (cpumask_empty(&iucv_buffer_cpumask)) { in iucv_path_sever()
[all …]
/linux-6.12.1/lib/
Dnmi_backtrace.c64 if (!cpumask_empty(to_cpumask(backtrace_mask))) { in nmi_trigger_cpumask_backtrace()
73 if (cpumask_empty(to_cpumask(backtrace_mask))) in nmi_trigger_cpumask_backtrace()
/linux-6.12.1/drivers/infiniband/hw/hfi1/
Daffinity.c55 if (cpumask_empty(&set->used) && set->gen) { in _cpu_mask_set_gen_dec()
349 if (!cpumask_empty(non_intr_cpus)) in _dev_comp_vect_cpu_get()
669 if (cpumask_empty(&entry->def_intr.mask)) in hfi1_dev_affinity_init()
689 if (cpumask_empty(&entry->comp_vect_mask)) in hfi1_dev_affinity_init()
1103 if (!cpumask_empty(diff)) in hfi1_get_proc_affinity()
1137 if (!cpumask_empty(diff)) in hfi1_get_proc_affinity()
1141 if (cpumask_empty(available_mask)) { in hfi1_get_proc_affinity()
1154 if (!cpumask_empty(diff)) in hfi1_get_proc_affinity()
/linux-6.12.1/kernel/sched/
Dcpupri.c114 if (cpumask_empty(lowest_mask)) in __cpupri_find()
171 if (cpumask_empty(lowest_mask)) in cpupri_find_fitness()
Disolation.c105 WARN_ON_ONCE(cpumask_empty(housekeeping.cpumasks[type])); in housekeeping_init()
152 if (cpumask_empty(non_housekeeping_mask)) in housekeeping_setup()
/linux-6.12.1/arch/openrisc/kernel/
Dsmp.c230 if (cpumask_empty(cmask)) in smp_flush_tlb_mm()
268 if (cpumask_empty(cmask)) in smp_flush_tlb_range()
/linux-6.12.1/kernel/irq/
Dmigration.c57 if (unlikely(cpumask_empty(desc->pending_mask))) in irq_move_masked_irq()
Dmatrix.c298 if (cpumask_empty(msk)) in irq_matrix_alloc_managed()
393 if (cpumask_empty(msk)) in irq_matrix_alloc()
/linux-6.12.1/drivers/firmware/psci/
Dpsci_checker.c134 WARN_ON(!cpumask_empty(offlined_cpus) || in down_and_up_cpus()
167 while (!cpumask_empty(tmp)) { in alloc_init_cpu_groups()
/linux-6.12.1/arch/csky/abiv2/
Dcacheflush.c86 if (mm != current->active_mm || !cpumask_empty(&others)) { in flush_icache_mm_range()
/linux-6.12.1/arch/arm/include/asm/
Dmmu_context.h129 !cpumask_empty(mm_cpumask(next)) && in switch_mm()
/linux-6.12.1/arch/loongarch/kernel/
Dcacheinfo.c42 if (!cpumask_empty(&this_leaf->shared_cpu_map)) in cache_cpumap_setup()
/linux-6.12.1/arch/powerpc/platforms/pseries/
Dhotplug-cpu.c186 if (cpumask_empty(candidate_mask)) in find_cpu_id_range()
189 while (!cpumask_empty(*cpu_mask)) { in find_cpu_id_range()
196 if (!cpumask_empty(*cpu_mask)) in find_cpu_id_range()
/linux-6.12.1/arch/riscv/kernel/
Dsys_hwprobe.c291 if (cpumask_empty(&cpus)) in hwprobe_get_values()
337 if (cpumask_empty(&cpus)) in hwprobe_get_cpus()
Dsbi.c121 if (!cpu_mask || cpumask_empty(cpu_mask)) in __sbi_rfence_v01()
264 if (!cpu_mask || cpumask_empty(cpu_mask)) in __sbi_rfence_v02()
/linux-6.12.1/drivers/cpuidle/
Dcoupled.c642 if (cpumask_empty(&dev->coupled_cpus)) in cpuidle_coupled_register_device()
687 if (cpumask_empty(&dev->coupled_cpus)) in cpuidle_coupled_unregister_device()
/linux-6.12.1/drivers/acpi/
Dacpi_pad.c109 if (cpumask_empty(tmp)) in round_robin_cpu()
111 if (cpumask_empty(tmp)) { in round_robin_cpu()
/linux-6.12.1/drivers/opp/
Dcpu.c114 WARN_ON(cpumask_empty(cpumask)); in _dev_pm_opp_cpumask_remove_table()

12345