Lines Matching refs:state
271 * when it is in state RUNNING or NOTREADY. NOTREADY is a bit of
290 * state in the P9 path.
326 WARN_ON_ONCE(vcpu->arch.state != KVMPPC_VCPU_BUSY_IN_HOST);
345 if (vcpu->arch.state == KVMPPC_VCPU_BUSY_IN_HOST &&
364 WARN_ON_ONCE(vcpu->arch.state == KVMPPC_VCPU_RUNNABLE);
370 vcpu->arch.state == KVMPPC_VCPU_BUSY_IN_HOST)
381 if (vcpu->arch.state == KVMPPC_VCPU_BUSY_IN_HOST)
1006 if (target->arch.state == KVMPPC_VCPU_RUNNABLE &&
1850 * mode and was transitioning to transactional state.
1992 * mode and was transitioning to transactional state.
2975 vcpu->arch.state = KVMPPC_VCPU_NOTREADY;
3113 if (vcpu->arch.state != KVMPPC_VCPU_RUNNABLE)
3120 vcpu->arch.state = KVMPPC_VCPU_BUSY_IN_HOST;
3594 * the vcpu, and the vcore state is VCORE_EXITING here,
3659 * later in kvmppc_start_thread and we need ensure that state is
3738 if (vc->runner->arch.state != KVMPPC_VCPU_RUNNABLE)
3963 /* wait for secondary threads to finish writing their state to memory */
4253 if (vcpu->arch.state == KVMPPC_VCPU_RUNNABLE) {
4339 /* Poll for pending exceptions and ceded state */
4486 vcpu->arch.state = KVMPPC_VCPU_RUNNABLE;
4509 while (vcpu->arch.state == KVMPPC_VCPU_RUNNABLE &&
4542 if (!vc->n_runnable || vcpu->arch.state != KVMPPC_VCPU_RUNNABLE)
4566 while (vcpu->arch.state == KVMPPC_VCPU_RUNNABLE &&
4575 if (vcpu->arch.state == KVMPPC_VCPU_RUNNABLE) {
4642 vcpu->arch.state = KVMPPC_VCPU_RUNNABLE;
4717 vcpu->arch.state = KVMPPC_VCPU_BUSY_IN_HOST;
4794 vcpu->arch.state = KVMPPC_VCPU_BUSY_IN_HOST;
4872 vcpu->arch.state = KVMPPC_VCPU_BUSY_IN_HOST;
4914 vcpu->arch.state = KVMPPC_VCPU_NOTREADY;
5324 * Allocate a per-core structure for managing state about which cores are