Lines Matching refs:r2t
1491 * @r2t: pointer to the start of a shadow region-2 table
1496 unsigned long *r2t)
1504 if (!(r2t[i] & _REGION_ENTRY_ORIGIN))
1506 r3t = r2t[i] & _REGION_ENTRY_ORIGIN;
1507 r2t[i] = _REGION2_ENTRY_EMPTY;
1527 phys_addr_t r2t;
1536 r2t = *r1e & _REGION_ENTRY_ORIGIN;
1538 __gmap_unshadow_r2t(sg, raddr, __va(r2t));
1540 page = phys_to_page(r2t);
1558 phys_addr_t r2t;
1566 r2t = r1t[i] & _REGION_ENTRY_ORIGIN;
1567 __gmap_unshadow_r2t(sg, raddr, __va(r2t));
1568 /* Clear entry and flush translation r1t -> r2t */
1572 page = phys_to_page(r2t);
1752 * @r2t: parent gmap address of the region 2 table to get shadowed
1753 * @fake: r2t references contiguous guest memory block, not a r2t
1755 * The r2t parameter specifies the address of the source table. The
1757 * address space. A write to the source table area @r2t will automatically
1766 int gmap_shadow_r2t(struct gmap *sg, unsigned long saddr, unsigned long r2t,
1780 page->index = r2t & _REGION_ENTRY_ORIGIN;
1803 *table |= (r2t & _REGION_ENTRY_PROTECT);
1812 /* Make r2t read-only in parent gmap page table */
1814 origin = r2t & _REGION_ENTRY_ORIGIN;
1815 offset = ((r2t & _REGION_ENTRY_OFFSET) >> 6) * PAGE_SIZE;
1816 len = ((r2t & _REGION_ENTRY_LENGTH) + 1) * PAGE_SIZE - offset;