Searched refs:yield_count (Results 1 – 10 of 10) sorted by relevance
/linux-5.19.10/arch/powerpc/lib/ |
D | locks.c | 23 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/ |
D | paravirt.h | 27 __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
|
D | lppaca.h | 103 volatile __be32 yield_count; member
|
D | kvm_ppc.h | 765 unsigned int yield_count);
|
/linux-5.19.10/tools/testing/selftests/powerpc/vphn/asm/ |
D | lppaca.h | 103 volatile __be32 yield_count; member
|
/linux-5.19.10/arch/powerpc/kvm/ |
D | book3s_hv.c | 464 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()
|
D | book3s_hv_builtin.c | 110 unsigned int yield_count) in kvmppc_rm_h_confer() argument
|
/linux-5.19.10/arch/powerpc/platforms/pseries/ |
D | lparcfg.c | 534 dispatches += be32_to_cpu(lppaca_of(cpu).yield_count); in splpar_dispatch_data()
|
/linux-5.19.10/arch/powerpc/kernel/ |
D | asm-offsets.c | 232 OFFSET(LPPACA_YIELDCOUNT, lppaca, yield_count); in main()
|
/linux-5.19.10/drivers/net/ethernet/chelsio/cxgb4/ |
D | cudbg_lib.c | 1376 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()
|