Lines Matching defs:pcpu
740 unsigned int pcpu, u64 now,
752 dt->processor_id = cpu_to_be16(pcpu + vcpu->arch.ptid);
797 __kvmppc_create_dtl_entry(vcpu, vpa, vc->pcpu, now + vc->tb_offset, stolen);
820 __kvmppc_create_dtl_entry(vcpu, vpa, vc->pcpu, now, stolen_delta);
1446 int thr, cpu, pcpu, nthreads;
1462 pcpu = READ_ONCE(v->cpu);
1463 if (pcpu >= 0)
1464 smp_call_function_single(pcpu, do_nothing, NULL, 1);
3226 static void kvmppc_prepare_radix_vcpu(struct kvm_vcpu *vcpu, int pcpu)
3247 * a vcpu moves from one pcpu to another, we need to tell
3251 if (prev_cpu != pcpu) {
3254 cpu_first_tlb_thread_sibling(pcpu))
3261 nested->prev_cpu[vcpu->arch.nested_vcpu_id] = pcpu;
3263 vcpu->arch.prev_cpu = pcpu;
3272 cpu = vc->pcpu;
3279 vcpu->cpu = vc->pcpu;
3284 tpaca->kvm_hstate.ptid = cpu - vc->pcpu;
3384 vc->pcpu = smp_processor_id();
3403 lp = &per_cpu(preempted_vcores, vc->pcpu);
3722 int pcpu, thr;
3774 pcpu = smp_processor_id();
3802 kvmppc_release_hwthread(pcpu + i);
3806 kvmppc_clear_host_core(pcpu);
3844 struct paca_struct *paca = paca_ptrs[pcpu + thr];
3892 pvc->pcpu = pcpu + thr;
3932 kvmppc_ipi_thread(pcpu + thr);
3986 kvmppc_set_host_core(pcpu);
4006 kvmppc_release_hwthread(pcpu + i);
4008 kvmppc_ipi_thread(pcpu + i);
4599 int trap, r, pcpu;
4635 pcpu = smp_processor_id();
4637 kvmppc_prepare_radix_vcpu(vcpu, pcpu);
4649 vcpu->cpu = pcpu;
4650 vcpu->arch.thread_cpu = pcpu;
4651 vc->pcpu = pcpu;