Lines Matching refs:gpte
1198 struct kvmppc_pte gpte, in kvmhv_handle_nested_set_rc() argument
1210 if (pgflags & ~gpte.rc) in kvmhv_handle_nested_set_rc()
1216 gpte.raddr, kvm->arch.lpid); in kvmhv_handle_nested_set_rc()
1267 struct kvmppc_pte gpte; in __kvmhv_nested_page_fault() local
1290 ret = kvmhv_translate_addr_nested(vcpu, gp, n_gpa, dsisr, &gpte); in __kvmhv_nested_page_fault()
1306 ret = kvmhv_handle_nested_set_rc(vcpu, gp, n_gpa, gpte, dsisr); in __kvmhv_nested_page_fault()
1323 l1_shift = gpte.page_shift; in __kvmhv_nested_page_fault()
1330 gpa = gpte.raddr; in __kvmhv_nested_page_fault()
1388 perm |= gpte.may_read ? 0UL : _PAGE_READ; in __kvmhv_nested_page_fault()
1389 perm |= gpte.may_write ? 0UL : _PAGE_WRITE; in __kvmhv_nested_page_fault()
1390 perm |= gpte.may_execute ? 0UL : _PAGE_EXEC; in __kvmhv_nested_page_fault()
1392 perm |= (gpte.rc & _PAGE_ACCESSED) ? 0UL : _PAGE_ACCESSED; in __kvmhv_nested_page_fault()
1393 perm |= ((gpte.rc & _PAGE_DIRTY) && writing) ? 0UL : _PAGE_DIRTY; in __kvmhv_nested_page_fault()