Lines Matching refs:vc
113 struct kvmppc_vcore *vc = local_paca->kvm_hstate.kvm_vcore; in kvmppc_rm_h_confer() local
121 set_bit(ptid, &vc->conferring_threads); in kvmppc_rm_h_confer()
122 while ((get_tb() < stop) && !VCORE_IS_EXITING(vc)) { in kvmppc_rm_h_confer()
123 threads_running = VCORE_ENTRY_MAP(vc); in kvmppc_rm_h_confer()
124 threads_ceded = vc->napping_threads; in kvmppc_rm_h_confer()
125 threads_conferring = vc->conferring_threads; in kvmppc_rm_h_confer()
131 clear_bit(ptid, &vc->conferring_threads); in kvmppc_rm_h_confer()
227 static void kvmhv_interrupt_vcore(struct kvmppc_vcore *vc, int active) in kvmhv_interrupt_vcore() argument
229 int cpu = vc->pcpu; in kvmhv_interrupt_vcore()
240 struct kvmppc_vcore *vc = local_paca->kvm_hstate.kvm_vcore; in kvmhv_commence_exit() local
249 ee = vc->entry_exit_map; in kvmhv_commence_exit()
250 } while (cmpxchg(&vc->entry_exit_map, ee, ee | me) != ee); in kvmhv_commence_exit()
262 kvmhv_interrupt_vcore(vc, ee & ~(1 << ptid)); in kvmhv_commence_exit()
272 vc = sip->master_vcs[i]; in kvmhv_commence_exit()
273 if (!vc) in kvmhv_commence_exit()
276 ee = vc->entry_exit_map; in kvmhv_commence_exit()
280 } while (cmpxchg(&vc->entry_exit_map, ee, in kvmhv_commence_exit()
283 kvmhv_interrupt_vcore(vc, ee); in kvmhv_commence_exit()