Home
last modified time | relevance | path

Searched refs:new_state (Results 1 – 7 of 7) sorted by relevance

/arch/powerpc/kvm/
Dbook3s_hv_rm_xics.c249 union kvmppc_icp_state old_state, new_state; in icp_rm_try_to_deliver() local
253 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 …]
Dbook3s_xics.c339 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()
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 …]
/arch/arm64/kvm/
Dpmu-emul.c692 bool new_state, old_state; in kvm_pmu_update_pmc_chained() local
695 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()
/arch/powerpc/platforms/cell/spufs/
Dsched.c1026 enum spu_utilization_state new_state) in spuctx_switch_state() argument
1042 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()
Dspufs.h357 enum spu_utilization_state new_state);
/arch/arm64/kernel/
Dproton-pack.c1154 void unpriv_ebpf_notify(int new_state) in unpriv_ebpf_notify() argument
1160 if (!new_state) in unpriv_ebpf_notify()
/arch/x86/kernel/cpu/
Dbugs.c1066 void unpriv_ebpf_notify(int new_state) in unpriv_ebpf_notify() argument
1068 if (new_state) in unpriv_ebpf_notify()