Searched refs:new_state (Results 1 – 7 of 7) sorted by relevance
249 union kvmppc_icp_state old_state, new_state; in icp_rm_try_to_deliver() local253 old_state = new_state = READ_ONCE(icp->state); in icp_rm_try_to_deliver()258 success = new_state.cppr > priority && in icp_rm_try_to_deliver()259 new_state.mfrr > priority && in icp_rm_try_to_deliver()260 new_state.pending_pri > priority; in icp_rm_try_to_deliver()267 *reject = new_state.xisr; in icp_rm_try_to_deliver()268 new_state.xisr = irq; in icp_rm_try_to_deliver()269 new_state.pending_pri = priority; in icp_rm_try_to_deliver()276 new_state.need_resend = true; in icp_rm_try_to_deliver()279 } while (!icp_rm_try_update(icp, old_state, new_state)); in icp_rm_try_to_deliver()[all …]
339 union kvmppc_icp_state old_state, new_state; in icp_try_to_deliver() local346 old_state = new_state = READ_ONCE(icp->state); in icp_try_to_deliver()351 success = new_state.cppr > priority && in icp_try_to_deliver()352 new_state.mfrr > priority && in icp_try_to_deliver()353 new_state.pending_pri > priority; in icp_try_to_deliver()360 *reject = new_state.xisr; in icp_try_to_deliver()361 new_state.xisr = irq; in icp_try_to_deliver()362 new_state.pending_pri = priority; in icp_try_to_deliver()369 new_state.need_resend = true; in icp_try_to_deliver()372 } while (!icp_try_update(icp, old_state, new_state, false)); in icp_try_to_deliver()[all …]
692 bool new_state, old_state; in kvm_pmu_update_pmc_chained() local695 new_state = kvm_pmu_idx_has_chain_evtype(vcpu, pmc->idx) && in kvm_pmu_update_pmc_chained()698 if (old_state == new_state) in kvm_pmu_update_pmc_chained()703 if (new_state) { in kvm_pmu_update_pmc_chained()
1026 enum spu_utilization_state new_state) in spuctx_switch_state() argument1042 ctx->stats.util_state = new_state; in spuctx_switch_state()1051 spu->stats.util_state = new_state; in spuctx_switch_state()1056 if (new_state == SPU_UTIL_USER) in spuctx_switch_state()
357 enum spu_utilization_state new_state);
1154 void unpriv_ebpf_notify(int new_state) in unpriv_ebpf_notify() argument1160 if (!new_state) in unpriv_ebpf_notify()
1066 void unpriv_ebpf_notify(int new_state) in unpriv_ebpf_notify() argument1068 if (new_state) in unpriv_ebpf_notify()