Home
last modified time | relevance | path

Searched refs:cpu_first_thread_sibling (Results 1 – 16 of 16) sorted by relevance

/linux-6.12.1/arch/powerpc/include/asm/
Dparavirt.h180 first_cpu = cpu_first_thread_sibling(raw_smp_processor_id()); in vcpu_is_preempted()
188 if (cpu_first_thread_sibling(cpu) == first_cpu) in vcpu_is_preempted()
198 first_cpu = cpu_first_thread_sibling(cpu); in vcpu_is_preempted()
Dcputhreads.h58 static inline int cpu_first_thread_sibling(int cpu) in cpu_first_thread_sibling() function
79 return cpu_first_thread_sibling(cpu); in cpu_first_tlb_thread_sibling()
Dtopology.h153 return cpu == cpu_first_thread_sibling(cpu); in topology_is_primary_thread()
164 int i, first_cpu = cpu_first_thread_sibling(cpu); in topology_is_core_online()
/linux-6.12.1/arch/powerpc/platforms/powernv/
Didle.c152 if (cpu_first_thread_sibling(cpu) != cpu) in pnv_fastsleep_workaround_apply()
228 int first = cpu_first_thread_sibling(cpu); in atomic_start_thread_idle()
238 int first = cpu_first_thread_sibling(cpu); in atomic_stop_thread_idle()
248 int first = cpu_first_thread_sibling(cpu); in atomic_lock_thread_idle()
258 int first = cpu_first_thread_sibling(cpu); in atomic_unlock_and_stop_thread_idle()
281 int first = cpu_first_thread_sibling(cpu); in atomic_unlock_thread_idle()
317 int first = cpu_first_thread_sibling(cpu); in power7_idle_insn()
611 int first = cpu_first_thread_sibling(cpu); in power9_idle_stop()
896 int first = cpu_first_thread_sibling(cpu); in power10_idle_stop()
1438 if (cpu == cpu_first_thread_sibling(cpu)) in pnv_init_idle_states()
Dopal-imc.c207 if (cpu_first_thread_sibling(cpu) != cpu) in disable_core_pmu_counters()
/linux-6.12.1/arch/powerpc/mm/nohash/
Dmmu_context.c128 for (i = cpu_first_thread_sibling(cpu); in steal_context_smp()
295 for (i = cpu_first_thread_sibling(cpu); in switch_mmu_context()
/linux-6.12.1/arch/powerpc/platforms/85xx/
Dsmp.c293 primary = cpu_first_thread_sibling(nr); in smp_85xx_kick_cpu()
409 disable_cpu = cpu_first_thread_sibling(cpu); in mpc85xx_smp_kexec_cpu_down()
/linux-6.12.1/arch/powerpc/kvm/
Dbook3s_hv_builtin.c216 cpu_first_thread_sibling(cpu) == in kvmhv_rm_send_ipi()
217 cpu_first_thread_sibling(raw_smp_processor_id())) { in kvmhv_rm_send_ipi()
Dbook3s_hv_rm_xics.c720 pcpu = cpu_first_thread_sibling(pcpu); in ics_rm_eoi()
Dbook3s_hv.c202 if (cpu_first_thread_sibling(cpu) == in kvmppc_ipi_thread()
203 cpu_first_thread_sibling(smp_processor_id())) { in kvmppc_ipi_thread()
/linux-6.12.1/arch/powerpc/kernel/
Dsetup_64.c98 int first = cpu_first_thread_sibling(cpu); in setup_tlb_core_data()
105 if (cpu_first_thread_sibling(boot_cpuid) == first) in setup_tlb_core_data()
Dsmp.c923 int first_thread = cpu_first_thread_sibling(cpu); in update_mask_from_threadgroup()
1562 int first_thread = cpu_first_thread_sibling(cpu); in add_cpu_to_masks()
/linux-6.12.1/arch/powerpc/sysdev/
Dfsl_rcpm.c149 primary = cpu_first_thread_sibling(cpu); in rcpm_v2_cpu_die()
/linux-6.12.1/arch/powerpc/mm/
Dnuma.c705 int fcpu = cpu_first_thread_sibling(lcpu); in numa_setup_cpu()
771 base = cpu_first_thread_sibling(cpu); in verify_cpu_node_mapping()
/linux-6.12.1/arch/powerpc/platforms/pseries/
Dlpar.c304 (cpu_first_thread_sibling(disp->last_disp_cpu) == in update_vcpu_disp_stat()
305 cpu_first_thread_sibling(disp_cpu))) in update_vcpu_disp_stat()
/linux-6.12.1/drivers/cpufreq/
Dpowernv-cpufreq.c834 base = cpu_first_thread_sibling(policy->cpu); in powernv_cpufreq_cpu_init()