Lines Matching refs:vcore_state
264 if (vc->runner == vcpu && vc->vcore_state >= VCORE_SLEEPING) in kvmppc_core_vcpu_load_hv()
281 if (vc->runner == vcpu && vc->vcore_state >= VCORE_SLEEPING) in kvmppc_core_vcpu_put_hv()
636 if (vc->vcore_state != VCORE_INACTIVE && in vcore_stolen_time()
758 vcore->vcore_state != VCORE_INACTIVE && in kvm_arch_vcpu_yield_to()
2346 vc->vcore_state = VCORE_PREEMPT; in kvmppc_vcore_preempt()
2369 vc->vcore_state = VCORE_INACTIVE; in kvmppc_vcore_end_preempt()
2495 pvc->vcore_state = VCORE_INACTIVE; in collect_piggybacks()
2506 pvc->vcore_state = VCORE_PIGGYBACK; in collect_piggybacks()
2566 vc->vcore_state = VCORE_PREEMPT; in post_guest_process()
2569 vc->vcore_state = VCORE_INACTIVE; in post_guest_process()
2734 vc->vcore_state = VCORE_INACTIVE; in kvmppc_run_core()
2838 vc->vcore_state = VCORE_RUNNING; in kvmppc_run_core()
2865 vc->vcore_state = VCORE_EXITING; in kvmppc_run_core()
2918 vc->vcore_state = VCORE_INACTIVE; in kvmppc_run_core()
3015 vc->vcore_state = VCORE_POLLING; in kvmppc_vcore_blocked()
3027 vc->vcore_state = VCORE_INACTIVE; in kvmppc_vcore_blocked()
3048 vc->vcore_state = VCORE_SLEEPING; in kvmppc_vcore_blocked()
3054 vc->vcore_state = VCORE_INACTIVE; in kvmppc_vcore_blocked()
3132 if (vc->vcore_state == VCORE_PIGGYBACK) { in kvmppc_run_vcpu()
3134 if (vc->vcore_state == VCORE_RUNNING && in kvmppc_run_vcpu()
3142 } else if (vc->vcore_state == VCORE_RUNNING && in kvmppc_run_vcpu()
3147 } else if (vc->vcore_state == VCORE_SLEEPING) { in kvmppc_run_vcpu()
3169 if (vc->vcore_state == VCORE_PREEMPT && vc->runner == NULL) in kvmppc_run_vcpu()
3172 if (vc->vcore_state != VCORE_INACTIVE) { in kvmppc_run_vcpu()
3202 if (vc->vcore_state == VCORE_PREEMPT) in kvmppc_run_vcpu()
3211 (vc->vcore_state == VCORE_RUNNING || in kvmppc_run_vcpu()
3212 vc->vcore_state == VCORE_EXITING || in kvmppc_run_vcpu()
3213 vc->vcore_state == VCORE_PIGGYBACK)) in kvmppc_run_vcpu()
3216 if (vc->vcore_state == VCORE_PREEMPT && vc->runner == NULL) in kvmppc_run_vcpu()
3226 if (vc->n_runnable && vc->vcore_state == VCORE_INACTIVE) { in kvmppc_run_vcpu()