Home
last modified time | relevance | path

Searched refs:yield_count (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/arch/powerpc/lib/
Dlocks.c23 unsigned int lock_value, holder_cpu, yield_count; in splpar_spin_yield() local
31 yield_count = yield_count_of(holder_cpu); in splpar_spin_yield()
32 if ((yield_count & 1) == 0) in splpar_spin_yield()
37 yield_to_preempted(holder_cpu, yield_count); in splpar_spin_yield()
49 unsigned int holder_cpu, yield_count; in splpar_rw_yield() local
57 yield_count = yield_count_of(holder_cpu); in splpar_rw_yield()
58 if ((yield_count & 1) == 0) in splpar_rw_yield()
63 yield_to_preempted(holder_cpu, yield_count); in splpar_rw_yield()
/linux-6.1.9/arch/powerpc/include/asm/
Dparavirt.h39 __be32 yield_count = READ_ONCE(lppaca_of(cpu).yield_count); in yield_count_of() local
40 return be32_to_cpu(yield_count); in yield_count_of()
59 static inline void yield_to_preempted(int cpu, u32 yield_count) in yield_to_preempted() argument
61 plpar_hcall_norets_notrace(H_CONFER, get_hard_smp_processor_id(cpu), yield_count); in yield_to_preempted()
85 static inline void yield_to_preempted(int cpu, u32 yield_count) in yield_to_preempted() argument
Dlppaca.h103 volatile __be32 yield_count; member
Dkvm_ppc.h761 unsigned int yield_count);
/linux-6.1.9/tools/testing/selftests/powerpc/vphn/asm/
Dlppaca.h103 volatile __be32 yield_count; member
/linux-6.1.9/arch/powerpc/kvm/
Dbook3s_hv.c490 vpa->yield_count = cpu_to_be32(1); in init_vpa()
1015 int yield_count = 0; in kvmppc_get_yield_count() local
1021 yield_count = be32_to_cpu(lppaca->yield_count); in kvmppc_get_yield_count()
1023 return yield_count; in kvmppc_get_yield_count()
1093 int yield_count; in kvmppc_pseries_do_hcall() local
1171 yield_count = kvmppc_get_gpr(vcpu, 5); in kvmppc_pseries_do_hcall()
1172 if (kvmppc_get_yield_count(tvcpu) != yield_count) in kvmppc_pseries_do_hcall()
4012 u32 yield_count = be32_to_cpu(lp->yield_count) + 1; in vcpu_vpa_increment_dispatch() local
4013 lp->yield_count = cpu_to_be32(yield_count); in vcpu_vpa_increment_dispatch()
Dbook3s_hv_builtin.c110 unsigned int yield_count) in kvmppc_rm_h_confer() argument
/linux-6.1.9/arch/powerpc/platforms/pseries/
Dlparcfg.c535 dispatches += be32_to_cpu(lppaca_of(cpu).yield_count); in splpar_dispatch_data()
/linux-6.1.9/arch/powerpc/kernel/
Dasm-offsets.c232 OFFSET(LPPACA_YIELDCOUNT, lppaca, yield_count); in main()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dcudbg_lib.c1377 u32 yield_count = 0; in cudbg_read_fw_mem() local
1405 yield_count++; in cudbg_read_fw_mem()
1406 if (!(yield_count % CUDBG_YIELD_ITERATION)) in cudbg_read_fw_mem()