Home
last modified time | relevance | path

Searched refs:pteg_addr (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/arch/powerpc/kvm/
Dbook3s_pr_papr.c26 unsigned long pteg_addr; in get_pteg_addr() local
30 pteg_addr = vcpu_book3s->sdr1 & 0xfffffffffffc0000ULL; in get_pteg_addr()
31 pteg_addr |= pte_index; in get_pteg_addr()
33 return pteg_addr; in get_pteg_addr()
42 unsigned long pteg_addr, i; in kvmppc_h_pr_enter() local
47 pteg_addr = get_pteg_addr(vcpu, pte_index); in kvmppc_h_pr_enter()
51 if (copy_from_user(pteg, (void __user *)pteg_addr, sizeof(pteg))) in kvmppc_h_pr_enter()
72 pteg_addr += i * HPTE_SIZE; in kvmppc_h_pr_enter()
74 if (copy_to_user((void __user *)pteg_addr, hpte, HPTE_SIZE)) in kvmppc_h_pr_enter()