Lines Matching refs:vaddr

618 	union vaddress vaddr = {.addr = gva};  in guest_translate()  local
636 if (vaddr.rfx01 > asce.tl) in guest_translate()
638 ptr += vaddr.rfx * 8; in guest_translate()
641 if (vaddr.rfx) in guest_translate()
643 if (vaddr.rsx01 > asce.tl) in guest_translate()
645 ptr += vaddr.rsx * 8; in guest_translate()
648 if (vaddr.rfx || vaddr.rsx) in guest_translate()
650 if (vaddr.rtx01 > asce.tl) in guest_translate()
652 ptr += vaddr.rtx * 8; in guest_translate()
655 if (vaddr.rfx || vaddr.rsx || vaddr.rtx) in guest_translate()
657 if (vaddr.sx01 > asce.tl) in guest_translate()
659 ptr += vaddr.sx * 8; in guest_translate()
674 if (vaddr.rsx01 < rfte.tf || vaddr.rsx01 > rfte.tl) in guest_translate()
678 ptr = rfte.rto * PAGE_SIZE + vaddr.rsx * 8; in guest_translate()
692 if (vaddr.rtx01 < rste.tf || vaddr.rtx01 > rste.tl) in guest_translate()
696 ptr = rste.rto * PAGE_SIZE + vaddr.rtx * 8; in guest_translate()
718 if (vaddr.sx01 < rtte.fc0.tf) in guest_translate()
720 if (vaddr.sx01 > rtte.fc0.tl) in guest_translate()
724 ptr = rtte.fc0.sto * PAGE_SIZE + vaddr.sx * 8; in guest_translate()
747 ptr = ste.fc0.pto * (PAGE_SIZE / 2) + vaddr.px * 8; in guest_translate()
1002 union vaddress vaddr; in kvm_s390_shadow_tables() local
1009 vaddr.addr = saddr; in kvm_s390_shadow_tables()
1019 if (vaddr.rfx01 > asce.tl && !*fake) in kvm_s390_shadow_tables()
1023 if (vaddr.rfx) in kvm_s390_shadow_tables()
1025 if (vaddr.rsx01 > asce.tl) in kvm_s390_shadow_tables()
1029 if (vaddr.rfx || vaddr.rsx) in kvm_s390_shadow_tables()
1031 if (vaddr.rtx01 > asce.tl) in kvm_s390_shadow_tables()
1035 if (vaddr.rfx || vaddr.rsx || vaddr.rtx) in kvm_s390_shadow_tables()
1037 if (vaddr.sx01 > asce.tl) in kvm_s390_shadow_tables()
1047 ptr += vaddr.rfx * _REGION1_SIZE; in kvm_s390_shadow_tables()
1051 *pgt = ptr + vaddr.rfx * 8; in kvm_s390_shadow_tables()
1052 rc = gmap_read_table(parent, ptr + vaddr.rfx * 8, &rfte.val); in kvm_s390_shadow_tables()
1059 if (vaddr.rsx01 < rfte.tf || vaddr.rsx01 > rfte.tl) in kvm_s390_shadow_tables()
1074 ptr += vaddr.rsx * _REGION2_SIZE; in kvm_s390_shadow_tables()
1078 *pgt = ptr + vaddr.rsx * 8; in kvm_s390_shadow_tables()
1079 rc = gmap_read_table(parent, ptr + vaddr.rsx * 8, &rste.val); in kvm_s390_shadow_tables()
1086 if (vaddr.rtx01 < rste.tf || vaddr.rtx01 > rste.tl) in kvm_s390_shadow_tables()
1102 ptr += vaddr.rtx * _REGION3_SIZE; in kvm_s390_shadow_tables()
1106 *pgt = ptr + vaddr.rtx * 8; in kvm_s390_shadow_tables()
1107 rc = gmap_read_table(parent, ptr + vaddr.rtx * 8, &rtte.val); in kvm_s390_shadow_tables()
1123 if (vaddr.sx01 < rtte.fc0.tf || vaddr.sx01 > rtte.fc0.tl) in kvm_s390_shadow_tables()
1139 ptr += vaddr.sx * _SEGMENT_SIZE; in kvm_s390_shadow_tables()
1143 *pgt = ptr + vaddr.sx * 8; in kvm_s390_shadow_tables()
1144 rc = gmap_read_table(parent, ptr + vaddr.sx * 8, &ste.val); in kvm_s390_shadow_tables()
1190 union vaddress vaddr; in kvm_s390_shadow_fault() local
1209 vaddr.addr = saddr; in kvm_s390_shadow_fault()
1211 pte.val = pgt + vaddr.px * PAGE_SIZE; in kvm_s390_shadow_fault()
1223 pgt += vaddr.px * 8; in kvm_s390_shadow_fault()