Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/arch/powerpc/include/asm/
Dparavirt.h27 __be32 yield_count = READ_ONCE(lppaca_of(cpu).yield_count); in yield_count_of() local
28 return be32_to_cpu(yield_count); in yield_count_of()
47 static inline void yield_to_preempted(int cpu, u32 yield_count) in yield_to_preempted() argument
49 plpar_hcall_norets_notrace(H_CONFER, get_hard_smp_processor_id(cpu), yield_count); in yield_to_preempted()
73 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.h765 unsigned int yield_count);
/linux-5.19.10/tools/testing/selftests/powerpc/vphn/asm/
Dlppaca.h103 volatile __be32 yield_count; member
/linux-5.19.10/arch/powerpc/kvm/
Dbook3s_hv.c464 vpa->yield_count = cpu_to_be32(1); in init_vpa()
957 int yield_count = 0; in kvmppc_get_yield_count() local
963 yield_count = be32_to_cpu(lppaca->yield_count); in kvmppc_get_yield_count()
965 return yield_count; in kvmppc_get_yield_count()
1035 int yield_count; in kvmppc_pseries_do_hcall() local
1113 yield_count = kvmppc_get_gpr(vcpu, 5); in kvmppc_pseries_do_hcall()
1114 if (kvmppc_get_yield_count(tvcpu) != yield_count) in kvmppc_pseries_do_hcall()
3936 u32 yield_count = be32_to_cpu(lp->yield_count) + 1; in vcpu_vpa_increment_dispatch() local
3937 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-5.19.10/arch/powerpc/platforms/pseries/
Dlparcfg.c534 dispatches += be32_to_cpu(lppaca_of(cpu).yield_count); in splpar_dispatch_data()
/linux-5.19.10/arch/powerpc/kernel/
Dasm-offsets.c232 OFFSET(LPPACA_YIELDCOUNT, lppaca, yield_count); in main()
/linux-5.19.10/drivers/net/ethernet/chelsio/cxgb4/
Dcudbg_lib.c1376 u32 yield_count = 0; in cudbg_read_fw_mem() local
1404 yield_count++; in cudbg_read_fw_mem()
1405 if (!(yield_count % CUDBG_YIELD_ITERATION)) in cudbg_read_fw_mem()