Lines Matching refs:rtte
718 union region3_table_entry rtte;
722 if (deref_table(vcpu->kvm, ptr, &rtte.val))
724 if (rtte.i)
726 if (rtte.tt != TABLE_TYPE_REGION3)
728 if (rtte.cr && asce.p && edat2)
730 if (rtte.fc && edat2) {
731 dat_protection |= rtte.fc1.p;
732 iep_protection = rtte.fc1.iep;
733 raddr.rfaa = rtte.fc1.rfaa;
736 if (vaddr.sx01 < rtte.fc0.tf)
738 if (vaddr.sx01 > rtte.fc0.tl)
741 dat_protection |= rtte.fc0.p;
742 ptr = rtte.fc0.sto * PAGE_SIZE + vaddr.sx * 8;
1488 union region3_table_entry rtte;
1492 rtte.val = ptr;
1496 rc = gmap_read_table(parent, ptr + vaddr.rtx * 8, &rtte.val);
1499 if (rtte.i)
1501 if (rtte.tt != TABLE_TYPE_REGION3)
1503 if (rtte.cr && asce.p && sg->edat_level >= 2)
1505 if (rtte.fc && sg->edat_level >= 2) {
1506 *dat_protection |= rtte.fc0.p;
1508 ptr = rtte.fc1.rfaa * _REGION3_SIZE;
1509 rtte.val = ptr;
1512 if (vaddr.sx01 < rtte.fc0.tf || vaddr.sx01 > rtte.fc0.tl)
1515 *dat_protection |= rtte.fc0.p;
1516 ptr = rtte.fc0.sto * PAGE_SIZE;
1518 rtte.fc0.p |= *dat_protection;
1519 rc = gmap_shadow_sgt(sg, saddr, rtte.val, *fake);