Home
last modified time | relevance | path

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

/arch/powerpc/kvm/
Dbook3s_hv_rm_xics.c246 union kvmppc_icp_state old_state, new_state; in icp_rm_try_to_deliver() local
250 old_state = new_state = READ_ONCE(icp->state); in icp_rm_try_to_deliver()
276 } while (!icp_rm_try_update(icp, old_state, new_state)); in icp_rm_try_to_deliver()
416 union kvmppc_icp_state old_state, new_state; in icp_rm_down_cppr() local
449 old_state = new_state = READ_ONCE(icp->state); in icp_rm_down_cppr()
473 } while (!icp_rm_try_update(icp, old_state, new_state)); in icp_rm_down_cppr()
489 union kvmppc_icp_state old_state, new_state; in xics_rm_h_xirr() local
508 old_state = new_state = READ_ONCE(icp->state); in xics_rm_h_xirr()
510 xirr = old_state.xisr | (((u32)old_state.cppr) << 24); in xics_rm_h_xirr()
511 if (!old_state.xisr) in xics_rm_h_xirr()
[all …]
Dbook3s_xics.c342 union kvmppc_icp_state old_state, new_state; in icp_try_to_deliver() local
349 old_state = new_state = READ_ONCE(icp->state); in icp_try_to_deliver()
375 } while (!icp_try_update(icp, old_state, new_state, false)); in icp_try_to_deliver()
519 union kvmppc_icp_state old_state, new_state; in icp_down_cppr() local
552 old_state = new_state = READ_ONCE(icp->state); in icp_down_cppr()
578 } while (!icp_try_update(icp, old_state, new_state, true)); in icp_down_cppr()
591 union kvmppc_icp_state old_state, new_state; in kvmppc_h_xirr() local
607 old_state = new_state = READ_ONCE(icp->state); in kvmppc_h_xirr()
609 xirr = old_state.xisr | (((u32)old_state.cppr) << 24); in kvmppc_h_xirr()
610 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.c1044 enum spu_utilization_state old_state; in spuctx_switch_state() local
1054 old_state = ctx->stats.util_state; in spuctx_switch_state()
1062 ctx->stats.times[old_state] += delta; in spuctx_switch_state()
1063 spu->stats.times[old_state] += delta; in spuctx_switch_state()
1067 if (old_state == SPU_UTIL_USER) in spuctx_switch_state()
/arch/ia64/kernel/
Dperfmon.c4662 int state, old_state; in pfm_check_task_state() local
4740 old_state = state; in pfm_check_task_state()
4751 if (ctx->ctx_state != old_state) { in pfm_check_task_state()
4752 DPRINT(("old_state=%d new_state=%d\n", old_state, ctx->ctx_state)); in pfm_check_task_state()