Searched refs:old_state (Results 1 – 6 of 6) sorted by relevance
/arch/powerpc/kvm/ |
D | book3s_hv_rm_xics.c | 157 union kvmppc_icp_state old_state, new_state; in icp_rm_try_to_deliver() local 161 old_state = new_state = READ_ONCE(icp->state); in icp_rm_try_to_deliver() 187 } while (!icp_rm_try_update(icp, old_state, new_state)); in icp_rm_try_to_deliver() 314 union kvmppc_icp_state old_state, new_state; in icp_rm_down_cppr() local 347 old_state = new_state = READ_ONCE(icp->state); in icp_rm_down_cppr() 371 } while (!icp_rm_try_update(icp, old_state, new_state)); in icp_rm_down_cppr() 387 union kvmppc_icp_state old_state, new_state; in kvmppc_rm_h_xirr() local 406 old_state = new_state = READ_ONCE(icp->state); in kvmppc_rm_h_xirr() 408 xirr = old_state.xisr | (((u32)old_state.cppr) << 24); in kvmppc_rm_h_xirr() 409 if (!old_state.xisr) in kvmppc_rm_h_xirr() [all …]
|
D | book3s_xics.c | 336 union kvmppc_icp_state old_state, new_state; in icp_try_to_deliver() local 343 old_state = new_state = READ_ONCE(icp->state); in icp_try_to_deliver() 369 } while (!icp_try_update(icp, old_state, new_state, false)); in icp_try_to_deliver() 500 union kvmppc_icp_state old_state, new_state; in icp_down_cppr() local 533 old_state = new_state = READ_ONCE(icp->state); in icp_down_cppr() 559 } while (!icp_try_update(icp, old_state, new_state, true)); in icp_down_cppr() 572 union kvmppc_icp_state old_state, new_state; in kvmppc_h_xirr() local 588 old_state = new_state = READ_ONCE(icp->state); in kvmppc_h_xirr() 590 xirr = old_state.xisr | (((u32)old_state.cppr) << 24); in kvmppc_h_xirr() 591 if (!old_state.xisr) in kvmppc_h_xirr() [all …]
|
/arch/mips/alchemy/common/ |
D | platform.c | 32 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/ |
D | sched.c | 1043 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/ |
D | perfmon.c | 4661 int state, old_state; in pfm_check_task_state() local 4739 old_state = state; in pfm_check_task_state() 4750 if (ctx->ctx_state != old_state) { in pfm_check_task_state() 4751 DPRINT(("old_state=%d new_state=%d\n", old_state, ctx->ctx_state)); in pfm_check_task_state()
|
/arch/x86/kvm/ |
D | x86.c | 298 u64 old_state = vcpu->arch.apic_base & in kvm_set_apic_base() local 309 old_state == (MSR_IA32_APICBASE_ENABLE | X2APIC_ENABLE)) || in kvm_set_apic_base() 311 old_state == 0))) in kvm_set_apic_base()
|