Home
last modified time | relevance | path

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

/arch/powerpc/lib/
Dlocks.c28 unsigned int lock_value, holder_cpu, yield_count; in __spin_yield() local
35 yield_count = be32_to_cpu(lppaca_of(holder_cpu).yield_count); in __spin_yield()
36 if ((yield_count & 1) == 0) in __spin_yield()
42 get_hard_smp_processor_id(holder_cpu), yield_count); in __spin_yield()
54 unsigned int holder_cpu, yield_count; in __rw_yield() local
61 yield_count = be32_to_cpu(lppaca_of(holder_cpu).yield_count); in __rw_yield()
62 if ((yield_count & 1) == 0) in __rw_yield()
68 get_hard_smp_processor_id(holder_cpu), yield_count); in __rw_yield()
/arch/powerpc/include/asm/
Dlppaca.h90 volatile __be32 yield_count; member
/arch/powerpc/kvm/
Dbook3s_hv_builtin.c111 unsigned int yield_count) in kvmppc_rm_h_confer() argument
Dbook3s_hv.c334 vpa->yield_count = cpu_to_be32(1); in init_vpa()
674 int yield_count = 0; in kvmppc_get_yield_count() local
680 yield_count = be32_to_cpu(lppaca->yield_count); in kvmppc_get_yield_count()
682 return yield_count; in kvmppc_get_yield_count()
689 int yield_count; in kvmppc_pseries_do_hcall() local
725 yield_count = kvmppc_get_gpr(vcpu, 5); in kvmppc_pseries_do_hcall()
726 if (kvmppc_get_yield_count(tvcpu) != yield_count) in kvmppc_pseries_do_hcall()
/arch/powerpc/platforms/pseries/
Dlparcfg.c415 dispatches += be32_to_cpu(lppaca_of(cpu).yield_count); in splpar_dispatch_data()
/arch/powerpc/kernel/
Dasm-offsets.c239 DEFINE(LPPACA_YIELDCOUNT, offsetof(struct lppaca, yield_count)); in main()