Lines Matching refs:gpte
1239 struct kvmppc_pte gpte, in kvmhv_handle_nested_set_rc() argument
1251 if (pgflags & ~gpte.rc) in kvmhv_handle_nested_set_rc()
1257 gpte.raddr, kvm->arch.lpid); in kvmhv_handle_nested_set_rc()
1307 struct kvmppc_pte gpte; in __kvmhv_nested_page_fault() local
1330 ret = kvmhv_translate_addr_nested(vcpu, gp, n_gpa, dsisr, &gpte); in __kvmhv_nested_page_fault()
1346 ret = kvmhv_handle_nested_set_rc(vcpu, gp, n_gpa, gpte, dsisr); in __kvmhv_nested_page_fault()
1363 l1_shift = gpte.page_shift; in __kvmhv_nested_page_fault()
1370 gpa = gpte.raddr; in __kvmhv_nested_page_fault()
1428 perm |= gpte.may_read ? 0UL : _PAGE_READ; in __kvmhv_nested_page_fault()
1429 perm |= gpte.may_write ? 0UL : _PAGE_WRITE; in __kvmhv_nested_page_fault()
1430 perm |= gpte.may_execute ? 0UL : _PAGE_EXEC; in __kvmhv_nested_page_fault()
1432 perm |= (gpte.rc & _PAGE_ACCESSED) ? 0UL : _PAGE_ACCESSED; in __kvmhv_nested_page_fault()
1433 perm |= ((gpte.rc & _PAGE_DIRTY) && writing) ? 0UL : _PAGE_DIRTY; in __kvmhv_nested_page_fault()