Lines Matching refs:vc
113 struct kvmppc_vcore *vc = vcpu->arch.vcore; in kvmppc_rm_h_confer() local
120 set_bit(vcpu->arch.ptid, &vc->conferring_threads); in kvmppc_rm_h_confer()
121 while ((get_tb() < stop) && !VCORE_IS_EXITING(vc)) { in kvmppc_rm_h_confer()
122 threads_running = VCORE_ENTRY_MAP(vc); in kvmppc_rm_h_confer()
123 threads_ceded = vc->napping_threads; in kvmppc_rm_h_confer()
124 threads_conferring = vc->conferring_threads; in kvmppc_rm_h_confer()
130 clear_bit(vcpu->arch.ptid, &vc->conferring_threads); in kvmppc_rm_h_confer()
226 static void kvmhv_interrupt_vcore(struct kvmppc_vcore *vc, int active) in kvmhv_interrupt_vcore() argument
228 int cpu = vc->pcpu; in kvmhv_interrupt_vcore()
239 struct kvmppc_vcore *vc = local_paca->kvm_hstate.kvm_vcore; in kvmhv_commence_exit() local
247 ee = vc->entry_exit_map; in kvmhv_commence_exit()
248 } while (cmpxchg(&vc->entry_exit_map, ee, ee | me) != ee); in kvmhv_commence_exit()
260 kvmhv_interrupt_vcore(vc, ee & ~(1 << ptid)); in kvmhv_commence_exit()