Searched refs:yield_count (Results 1 – 11 of 11) sorted by relevance
/linux-6.3-rc2/arch/powerpc/lib/ |
A 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()
|
A D | qspinlock.c | 288 u32 yield_count; in __yield_to_locked_owner() local 300 yield_count = yield_count_of(owner); in __yield_to_locked_owner() 302 if ((yield_count & 1) == 0) in __yield_to_locked_owner() 322 yield_to_preempted(owner, yield_count); in __yield_to_locked_owner() 385 u32 yield_count; in yield_to_prev() local 403 yield_count = yield_count_of(yield_cpu); in yield_to_prev() 404 if ((yield_count & 1) == 0) in yield_to_prev() 417 yield_to_preempted(yield_cpu, yield_count); in yield_to_prev() 427 yield_count = yield_count_of(prev_cpu); in yield_to_prev() 428 if ((yield_count & 1) == 0) in yield_to_prev() [all …]
|
/linux-6.3-rc2/arch/powerpc/include/asm/ |
A D | paravirt.h | 39 __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
|
A D | lppaca.h | 103 volatile __be32 yield_count; member
|
A D | kvm_ppc.h | 760 unsigned int yield_count);
|
/linux-6.3-rc2/tools/testing/selftests/powerpc/vphn/asm/ |
A D | lppaca.h | 103 volatile __be32 yield_count; member
|
/linux-6.3-rc2/arch/powerpc/kvm/ |
A D | book3s_hv.c | 490 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()
|
A D | book3s_hv_builtin.c | 110 unsigned int yield_count) in kvmppc_rm_h_confer() argument
|
/linux-6.3-rc2/arch/powerpc/platforms/pseries/ |
A D | lparcfg.c | 479 dispatches += be32_to_cpu(lppaca_of(cpu).yield_count); in splpar_dispatch_data()
|
/linux-6.3-rc2/arch/powerpc/kernel/ |
A D | asm-offsets.c | 231 OFFSET(LPPACA_YIELDCOUNT, lppaca, yield_count); in main()
|
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb4/ |
A D | cudbg_lib.c | 1377 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()
|
Completed in 35 milliseconds