Lines Matching refs:r2t
1489 * @r2t: pointer to the start of a shadow region-2 table
1494 unsigned long *r2t)
1502 if (!(r2t[i] & _REGION_ENTRY_ORIGIN))
1504 r3t = r2t[i] & _REGION_ENTRY_ORIGIN;
1505 r2t[i] = _REGION2_ENTRY_EMPTY;
1525 phys_addr_t r2t;
1534 r2t = *r1e & _REGION_ENTRY_ORIGIN;
1536 __gmap_unshadow_r2t(sg, raddr, __va(r2t));
1538 page = phys_to_page(r2t);
1556 phys_addr_t r2t;
1564 r2t = r1t[i] & _REGION_ENTRY_ORIGIN;
1565 __gmap_unshadow_r2t(sg, raddr, __va(r2t));
1566 /* Clear entry and flush translation r1t -> r2t */
1570 page = phys_to_page(r2t);
1750 * @r2t: parent gmap address of the region 2 table to get shadowed
1751 * @fake: r2t references contiguous guest memory block, not a r2t
1753 * The r2t parameter specifies the address of the source table. The
1755 * address space. A write to the source table area @r2t will automatically
1764 int gmap_shadow_r2t(struct gmap *sg, unsigned long saddr, unsigned long r2t,
1778 page->index = r2t & _REGION_ENTRY_ORIGIN;
1801 *table |= (r2t & _REGION_ENTRY_PROTECT);
1810 /* Make r2t read-only in parent gmap page table */
1812 origin = r2t & _REGION_ENTRY_ORIGIN;
1813 offset = ((r2t & _REGION_ENTRY_OFFSET) >> 6) * PAGE_SIZE;
1814 len = ((r2t & _REGION_ENTRY_LENGTH) + 1) * PAGE_SIZE - offset;