Lines Matching refs:old_state

339 	union kvmppc_icp_state old_state, new_state;  in icp_try_to_deliver()  local
346 old_state = new_state = READ_ONCE(icp->state); in icp_try_to_deliver()
372 } while (!icp_try_update(icp, old_state, new_state, false)); in icp_try_to_deliver()
516 union kvmppc_icp_state old_state, new_state; in icp_down_cppr() local
549 old_state = new_state = READ_ONCE(icp->state); in icp_down_cppr()
575 } while (!icp_try_update(icp, old_state, new_state, true)); in icp_down_cppr()
588 union kvmppc_icp_state old_state, new_state; in kvmppc_h_xirr() local
603 old_state = new_state = READ_ONCE(icp->state); in kvmppc_h_xirr()
605 xirr = old_state.xisr | (((u32)old_state.cppr) << 24); in kvmppc_h_xirr()
606 if (!old_state.xisr) in kvmppc_h_xirr()
612 } while (!icp_try_update(icp, old_state, new_state, true)); in kvmppc_h_xirr()
622 union kvmppc_icp_state old_state, new_state; in kvmppc_h_ipi() local
670 old_state = new_state = READ_ONCE(icp->state); in kvmppc_h_ipi()
687 if (mfrr > old_state.mfrr) { in kvmppc_h_ipi()
691 } while (!icp_try_update(icp, old_state, new_state, local)); in kvmppc_h_ipi()
723 union kvmppc_icp_state old_state, new_state; in kvmppc_h_cppr() local
756 old_state = new_state = READ_ONCE(icp->state); in kvmppc_h_cppr()
767 } while (!icp_try_update(icp, old_state, new_state, true)); in kvmppc_h_cppr()
1114 union kvmppc_icp_state old_state, new_state; in kvmppc_xics_set_icp() local
1168 old_state = READ_ONCE(icp->state); in kvmppc_xics_set_icp()
1170 if (new_state.mfrr <= old_state.mfrr) { in kvmppc_xics_set_icp()
1172 new_state.need_resend = old_state.need_resend; in kvmppc_xics_set_icp()
1174 resend = old_state.need_resend; in kvmppc_xics_set_icp()
1177 } while (!icp_try_update(icp, old_state, new_state, false)); in kvmppc_xics_set_icp()