Searched refs:yield_count (Results 1 – 10 of 10) sorted by relevance
/linux-6.6.21/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()
|
D | qspinlock.c | 290 u32 yield_count; in __yield_to_locked_owner() local 302 yield_count = yield_count_of(owner); in __yield_to_locked_owner() 304 if ((yield_count & 1) == 0) in __yield_to_locked_owner() 324 yield_to_preempted(owner, yield_count); in __yield_to_locked_owner() 387 u32 yield_count; in yield_to_prev() local 405 yield_count = yield_count_of(yield_cpu); in yield_to_prev() 406 if ((yield_count & 1) == 0) in yield_to_prev() 422 yield_to_preempted(yield_cpu, yield_count); in yield_to_prev() 432 yield_count = yield_count_of(prev_cpu); in yield_to_prev() 433 if ((yield_count & 1) == 0) in yield_to_prev() [all …]
|
/linux-6.6.21/arch/powerpc/include/asm/ |
D | paravirt.h | 40 __be32 yield_count = READ_ONCE(lppaca_of(cpu).yield_count); in yield_count_of() local 41 return be32_to_cpu(yield_count); in yield_count_of() 60 static inline void yield_to_preempted(int cpu, u32 yield_count) in yield_to_preempted() argument 62 plpar_hcall_norets_notrace(H_CONFER, get_hard_smp_processor_id(cpu), yield_count); in yield_to_preempted() 86 static inline void yield_to_preempted(int cpu, u32 yield_count) in yield_to_preempted() argument
|
D | lppaca.h | 82 volatile __be32 yield_count; member
|
D | kvm_ppc.h | 786 unsigned int yield_count);
|
/linux-6.6.21/arch/powerpc/kvm/ |
D | book3s_hv.c | 493 vpa->yield_count = cpu_to_be32(1); in init_vpa() 1018 int yield_count = 0; in kvmppc_get_yield_count() local 1024 yield_count = be32_to_cpu(lppaca->yield_count); in kvmppc_get_yield_count() 1026 return yield_count; in kvmppc_get_yield_count() 1096 int yield_count; in kvmppc_pseries_do_hcall() local 1174 yield_count = kvmppc_get_gpr(vcpu, 5); in kvmppc_pseries_do_hcall() 1175 if (kvmppc_get_yield_count(tvcpu) != yield_count) in kvmppc_pseries_do_hcall() 4040 u32 yield_count = be32_to_cpu(lp->yield_count) + 1; in vcpu_vpa_increment_dispatch() local 4041 lp->yield_count = cpu_to_be32(yield_count); in vcpu_vpa_increment_dispatch()
|
D | book3s_hv_builtin.c | 111 unsigned int yield_count) in kvmppc_rm_h_confer() argument
|
/linux-6.6.21/arch/powerpc/platforms/pseries/ |
D | lparcfg.c | 479 dispatches += be32_to_cpu(lppaca_of(cpu).yield_count); in splpar_dispatch_data()
|
/linux-6.6.21/arch/powerpc/kernel/ |
D | asm-offsets.c | 233 OFFSET(LPPACA_YIELDCOUNT, lppaca, yield_count); in main()
|
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/ |
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()
|