Lines Matching refs:r2t
1463 * @r2t: pointer to the start of a shadow region-2 table
1468 unsigned long *r2t)
1476 if (!(r2t[i] & _REGION_ENTRY_ORIGIN))
1478 r3t = (unsigned long *)(r2t[i] & _REGION_ENTRY_ORIGIN);
1479 r2t[i] = _REGION2_ENTRY_EMPTY;
1497 unsigned long r1o, *r1e, *r2t;
1507 r2t = (unsigned long *)(*r1e & _REGION_ENTRY_ORIGIN);
1509 __gmap_unshadow_r2t(sg, raddr, r2t);
1511 page = pfn_to_page(__pa(r2t) >> PAGE_SHIFT);
1527 unsigned long asce, *r2t;
1536 r2t = (unsigned long *)(r1t[i] & _REGION_ENTRY_ORIGIN);
1537 __gmap_unshadow_r2t(sg, raddr, r2t);
1538 /* Clear entry and flush translation r1t -> r2t */
1542 page = pfn_to_page(__pa(r2t) >> PAGE_SHIFT);
1721 * @r2t: parent gmap address of the region 2 table to get shadowed
1722 * @fake: r2t references contiguous guest memory block, not a r2t
1724 * The r2t parameter specifies the address of the source table. The
1726 * address space. A write to the source table area @r2t will automatically
1735 int gmap_shadow_r2t(struct gmap *sg, unsigned long saddr, unsigned long r2t,
1748 page->index = r2t & _REGION_ENTRY_ORIGIN;
1771 *table |= (r2t & _REGION_ENTRY_PROTECT);
1780 /* Make r2t read-only in parent gmap page table */
1782 origin = r2t & _REGION_ENTRY_ORIGIN;
1783 offset = ((r2t & _REGION_ENTRY_OFFSET) >> 6) * PAGE_SIZE;
1784 len = ((r2t & _REGION_ENTRY_LENGTH) + 1) * PAGE_SIZE - offset;