Home
last modified time | relevance | path

Searched refs:yield_count (Results 1 – 8 of 8) 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
Dspinlock.h59 return !!(be32_to_cpu(lppaca_of(cpu).yield_count) & 1); in vcpu_is_preempted()
Dkvm_ppc.h615 unsigned int yield_count);
/arch/powerpc/kvm/
Dbook3s_hv_builtin.c135 unsigned int yield_count) in kvmppc_rm_h_confer() argument
Dbook3s_hv.c401 vpa->yield_count = cpu_to_be32(1); in init_vpa()
768 int yield_count = 0; in kvmppc_get_yield_count() local
774 yield_count = be32_to_cpu(lppaca->yield_count); in kvmppc_get_yield_count()
776 return yield_count; in kvmppc_get_yield_count()
783 int yield_count; in kvmppc_pseries_do_hcall() local
815 yield_count = kvmppc_get_gpr(vcpu, 5); in kvmppc_pseries_do_hcall()
816 if (kvmppc_get_yield_count(tvcpu) != yield_count) in kvmppc_pseries_do_hcall()
/arch/powerpc/platforms/pseries/
Dlparcfg.c416 dispatches += be32_to_cpu(lppaca_of(cpu).yield_count); in splpar_dispatch_data()
/arch/powerpc/kernel/
Dasm-offsets.c231 OFFSET(LPPACA_YIELDCOUNT, lppaca, yield_count); in main()