Home
last modified time | relevance | path

Searched refs:cpu_present_mask (Results 1 – 25 of 37) sorted by relevance

12

/linux-6.6.21/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.6.21/drivers/thermal/intel/
Dintel_powerclamp.c149 if (cpumask_equal(cpu_present_mask, mask) && idle > MAX_ALL_CPU_IDLE) in check_invalid()
239 ret = allocate_copy_idle_injection_mask(cpu_present_mask); in max_idle_set()
617 if (cpumask_equal(cpu_present_mask, idle_injection_cpu_mask)) { in powerclamp_idle_injection_register()
805 retval = allocate_copy_idle_injection_mask(cpu_present_mask); in powerclamp_init()
/linux-6.6.21/include/linux/
Dcpumask.h132 #define cpu_present_mask ((const struct cpumask *)&__cpu_present_mask) macro
976 #define for_each_present_cpu(cpu) for_each_cpu((cpu), cpu_present_mask)
1077 #define num_present_cpus() cpumask_weight(cpu_present_mask)
1092 return cpumask_test_cpu(cpu, cpu_present_mask); in cpu_present()
/linux-6.6.21/arch/powerpc/platforms/cell/
Dsmp.c150 cpumask_copy(&of_spin_map, cpu_present_mask); in smp_init_cell()
/linux-6.6.21/drivers/irqchip/
Dirq-sifive-plic.c256 for_each_cpu(cpu, cpu_present_mask) { in plic_irq_suspend()
287 for_each_cpu(cpu, cpu_present_mask) { in plic_irq_resume()
559 for_each_cpu(cpu, cpu_present_mask) { in __plic_init()
Dirq-csky-mpintc.c151 if (cpumask_equal(mask_val, cpu_present_mask)) in csky_irq_set_affinity()
/linux-6.6.21/arch/powerpc/platforms/pseries/
Dsmp.c276 cpumask_copy(of_spin_mask, cpu_present_mask); in smp_init_pseries()
Dhotplug-cpu.c167 BUG_ON(!cpumask_subset(cpu_present_mask, cpu_possible_mask)); in find_cpu_id_range()
170 cpumask_xor(candidate_mask, cpu_possible_mask, cpu_present_mask); in find_cpu_id_range()
/linux-6.6.21/Documentation/translations/zh_CN/admin-guide/
Dcputopology.rst71 present: 被系统识别实际存在的CPU。[cpu_present_mask]
/linux-6.6.21/arch/x86/kernel/apic/
Dipi.c44 !cpumask_equal(cpu_present_mask, &cpus_booted_once_mask)) { in apic_smt_update()
/linux-6.6.21/kernel/sched/
Disolation.c132 if (!cpumask_intersects(cpu_present_mask, housekeeping_staging)) { in housekeeping_setup()
/linux-6.6.21/arch/powerpc/platforms/powernv/
Dsubcore.c304 cpumask_andnot(cpu_offline_mask, cpu_present_mask, in cpu_update_split_mode()
/linux-6.6.21/arch/x86/hyperv/
Dmmu.c97 if (cpumask_equal(cpus, cpu_present_mask)) { in hyperv_flush_tlb_multi()
Dhv_apic.c132 if (!cpumask_equal(mask, cpu_present_mask) || exclude_self) { in __send_ipi_mask_ex()
/linux-6.6.21/arch/loongarch/kernel/
Dacpi.c76 cpu = cpumask_next_zero(-1, cpu_present_mask); in set_processor_mask()
Dsmp.c267 cpu = cpumask_next_zero(-1, cpu_present_mask); in fdt_smp_setup()
/linux-6.6.21/arch/alpha/kernel/
Dsys_titan.c71 cpumask_copy(&cpm, cpu_present_mask); in titan_update_irq_hw()
Dprocess.c129 while (!cpumask_empty(cpu_present_mask)) in common_shutdown_1()
Dsmp.c440 smp_num_probed, cpumask_bits(cpu_present_mask)[0]); in setup_smp()
/linux-6.6.21/drivers/cpuidle/
Dcpuidle-powernv.c225 drv->cpumask = (struct cpumask *)cpu_present_mask; in powernv_cpuidle_driver_init()
/linux-6.6.21/Documentation/translations/zh_CN/core-api/
Dcpu_hotplug.rst54 ``cpu_possible_mask = cpu_present_mask + additional_cpus``
82 ``cpu_present_mask``
/linux-6.6.21/lib/
Dgroup_cpus.c383 cpumask_copy(npresmsk, data_race(cpu_present_mask)); in group_cpus_evenly()
/linux-6.6.21/Documentation/admin-guide/
Dcputopology.rst72 system. [cpu_present_mask]
/linux-6.6.21/arch/powerpc/sysdev/xics/
Dxics-common.c300 if (cpumask_equal(cpu_online_mask, cpu_present_mask)) in xics_get_irq_server()
/linux-6.6.21/arch/s390/kernel/
Dsmp.c783 if (pcpu_find_address(cpu_present_mask, address + i)) in smp_add_core()
814 cpumask_xor(&avail, cpu_possible_mask, cpu_present_mask); in __smp_rescan_cpus()

12