Lines Matching refs:pteg
40 __be64 pteg[2 * 8]; in kvmppc_h_pr_enter() local
51 if (copy_from_user(pteg, (void __user *)pteg_addr, sizeof(pteg))) in kvmppc_h_pr_enter()
53 hpte = pteg; in kvmppc_h_pr_enter()
91 unsigned long v = 0, pteg, rb; in kvmppc_h_pr_remove() local
95 pteg = get_pteg_addr(vcpu, pte_index); in kvmppc_h_pr_remove()
98 if (copy_from_user(pte, (void __user *)pteg, sizeof(pte))) in kvmppc_h_pr_remove()
110 if (copy_to_user((void __user *)pteg, &v, sizeof(v))) in kvmppc_h_pr_remove()
155 unsigned long pteg, rb, flags; in kvmppc_h_pr_bulk_remove() local
178 pteg = get_pteg_addr(vcpu, tsh & H_BULK_REMOVE_PTEX); in kvmppc_h_pr_bulk_remove()
179 if (copy_from_user(pte, (void __user *)pteg, sizeof(pte))) { in kvmppc_h_pr_bulk_remove()
195 if (copy_to_user((void __user *)pteg, &v, sizeof(v))) { in kvmppc_h_pr_bulk_remove()
219 unsigned long rb, pteg, r, v; in kvmppc_h_pr_protect() local
223 pteg = get_pteg_addr(vcpu, pte_index); in kvmppc_h_pr_protect()
226 if (copy_from_user(pte, (void __user *)pteg, sizeof(pte))) in kvmppc_h_pr_protect()
251 if (copy_to_user((void __user *)pteg, pte, sizeof(pte))) in kvmppc_h_pr_protect()