Lines Matching defs:pid
35 unsigned long __kvmhv_copy_tofrom_guest_radix(int lpid, int pid,
48 return plpar_hcall_norets(H_COPY_TOFROM_GUEST, lpid, pid, eaddr,
56 if (!pid)
67 /* switch the lpid first to avoid running host with unallocated pid */
73 if (old_pid != pid)
74 mtspr(SPRN_PID, pid);
87 /* switch the pid first to avoid running host with unallocated pid */
88 if (quadrant == 1 && pid != old_pid)
103 int pid;
113 /* If accessing quadrant 3 then pid is expected to be 0 */
115 pid = 0;
117 pid = kvmppc_get_pid(vcpu);
121 return __kvmhv_copy_tofrom_guest_radix(lpid, pid, eaddr, to, from, n);
272 u32 pid;
279 pid = kvmppc_get_pid(vcpu);
282 pid = 0;
289 vcpu->kvm->arch.process_table, pid, &pte);