Home
last modified time | relevance | path

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

/arch/powerpc/kvm/
Dbook3s_hv_rm_xics.c122 union kvmppc_icp_state old_state, new_state; in icp_rm_down_cppr() local
155 old_state = new_state = ACCESS_ONCE(icp->state); in icp_rm_down_cppr()
179 } while (!icp_rm_try_update(icp, old_state, new_state)); in icp_rm_down_cppr()
193 union kvmppc_icp_state old_state, new_state; in kvmppc_rm_h_xirr() local
212 old_state = new_state = ACCESS_ONCE(icp->state); in kvmppc_rm_h_xirr()
214 xirr = old_state.xisr | (((u32)old_state.cppr) << 24); in kvmppc_rm_h_xirr()
215 if (!old_state.xisr) in kvmppc_rm_h_xirr()
221 } while (!icp_rm_try_update(icp, old_state, new_state)); in kvmppc_rm_h_xirr()
232 union kvmppc_icp_state old_state, new_state; in kvmppc_rm_h_ipi() local
263 old_state = new_state = ACCESS_ONCE(icp->state); in kvmppc_rm_h_ipi()
[all …]
Dbook3s_xics.c323 union kvmppc_icp_state old_state, new_state; in icp_try_to_deliver() local
330 old_state = new_state = ACCESS_ONCE(icp->state); in icp_try_to_deliver()
356 } while (!icp_try_update(icp, old_state, new_state, false)); in icp_try_to_deliver()
482 union kvmppc_icp_state old_state, new_state; in icp_down_cppr() local
515 old_state = new_state = ACCESS_ONCE(icp->state); in icp_down_cppr()
541 } while (!icp_try_update(icp, old_state, new_state, true)); in icp_down_cppr()
554 union kvmppc_icp_state old_state, new_state; in kvmppc_h_xirr() local
570 old_state = new_state = ACCESS_ONCE(icp->state); in kvmppc_h_xirr()
572 xirr = old_state.xisr | (((u32)old_state.cppr) << 24); in kvmppc_h_xirr()
573 if (!old_state.xisr) in kvmppc_h_xirr()
[all …]
/arch/mips/alchemy/common/
Dplatform.c32 unsigned int old_state) in alchemy_8250_pm() argument
38 serial8250_do_pm(port, state, old_state); in alchemy_8250_pm()
41 serial8250_do_pm(port, state, old_state); in alchemy_8250_pm()
45 serial8250_do_pm(port, state, old_state); in alchemy_8250_pm()
/arch/powerpc/platforms/cell/spufs/
Dsched.c1043 enum spu_utilization_state old_state; in spuctx_switch_state() local
1053 old_state = ctx->stats.util_state; in spuctx_switch_state()
1061 ctx->stats.times[old_state] += delta; in spuctx_switch_state()
1062 spu->stats.times[old_state] += delta; in spuctx_switch_state()
1066 if (old_state == SPU_UTIL_USER) in spuctx_switch_state()
/arch/ia64/kernel/
Dperfmon.c4671 int state, old_state; in pfm_check_task_state() local
4749 old_state = state; in pfm_check_task_state()
4760 if (ctx->ctx_state != old_state) { in pfm_check_task_state()
4761 DPRINT(("old_state=%d new_state=%d\n", old_state, ctx->ctx_state)); in pfm_check_task_state()
/arch/x86/kvm/
Dx86.c271 u64 old_state = vcpu->arch.apic_base & in kvm_set_apic_base() local
282 old_state == (MSR_IA32_APICBASE_ENABLE | X2APIC_ENABLE)) || in kvm_set_apic_base()
284 old_state == 0))) in kvm_set_apic_base()