Lines Matching full:shadow

207 	/* Free additional data for a shadow gmap */  in gmap_free()
255 /* Remove all shadow gmaps linked to this gmap */ in gmap_remove()
482 * Note: Can also be called for shadow gmaps.
490 /* Note: guest_to_host is empty for a shadow gmap */ in __gmap_translate()
516 * gmap_unlink - disconnect a page table from the gmap shadow tables
540 * __gmap_link - set up shadow page tables to connect a host to a guest address
802 * Note: Can also be called for shadow gmaps.
1001 /* Shadow GMAP protection needs split PMDs */ in gmap_protect_pmd()
1142 * shadow.
1188 * @sg: pointer to the shadow guest address space structure
1221 * @sg: pointer to the shadow guest address space structure
1222 * @raddr: rmap address in the shadow gmap
1304 * gmap_unshadow_page - remove a page from a shadow page table
1305 * @sg: pointer to the shadow guest address space structure
1306 * @raddr: rmap address in the shadow guest address space
1323 * __gmap_unshadow_pgt - remove all entries from a shadow page table
1324 * @sg: pointer to the shadow guest address space structure
1325 * @raddr: rmap address in the shadow guest address space
1326 * @pgt: pointer to the start of a shadow page table
1341 * gmap_unshadow_pgt - remove a shadow page table from a segment entry
1342 * @sg: pointer to the shadow guest address space structure
1343 * @raddr: address in the shadow guest address space
1370 * __gmap_unshadow_sgt - remove all entries from a shadow segment table
1371 * @sg: pointer to the shadow guest address space structure
1372 * @raddr: rmap address in the shadow guest address space
1373 * @sgt: pointer to the start of a shadow segment table
1399 * gmap_unshadow_sgt - remove a shadow segment table from a region-3 entry
1400 * @sg: pointer to the shadow guest address space structure
1401 * @raddr: rmap address in the shadow guest address space
1403 * Called with the shadow->guest_table_lock
1428 * __gmap_unshadow_r3t - remove all entries from a shadow region-3 table
1429 * @sg: pointer to the shadow guest address space structure
1430 * @raddr: address in the shadow guest address space
1431 * @r3t: pointer to the start of a shadow region-3 table
1457 * gmap_unshadow_r3t - remove a shadow region-3 table from a region-2 entry
1458 * @sg: pointer to the shadow guest address space structure
1459 * @raddr: rmap address in the shadow guest address space
1486 * __gmap_unshadow_r2t - remove all entries from a shadow region-2 table
1487 * @sg: pointer to the shadow guest address space structure
1488 * @raddr: rmap address in the shadow guest address space
1489 * @r2t: pointer to the start of a shadow region-2 table
1515 * gmap_unshadow_r2t - remove a shadow region-2 table from a region-1 entry
1516 * @sg: pointer to the shadow guest address space structure
1517 * @raddr: rmap address in the shadow guest address space
1544 * __gmap_unshadow_r1t - remove all entries from a shadow region-1 table
1545 * @sg: pointer to the shadow guest address space structure
1546 * @raddr: rmap address in the shadow guest address space
1547 * @r1t: pointer to the start of a shadow region-1 table
1549 * Called with the shadow->guest_table_lock
1577 * gmap_unshadow - remove a shadow page table completely
1578 * @sg: pointer to the shadow guest address space structure
1610 * gmap_find_shadow - find a specific asce in the list of shadow tables
1612 * @asce: ASCE for which the shadow table is created
1613 * @edat_level: edat level to be used for the shadow translation
1615 * Returns the pointer to a gmap if a shadow table with the given asce is
1637 * gmap_shadow_valid - check if a shadow guest address space matches the
1639 * @sg: pointer to the shadow guest address space structure
1640 * @asce: ASCE for which the shadow table is requested
1641 * @edat_level: edat level to be used for the shadow translation
1643 * Returns 1 if the gmap shadow is still valid and matches the given
1645 * caller has to request a new shadow gmap in this case.
1657 * gmap_shadow - create/find a shadow guest address space
1659 * @asce: ASCE for which the shadow table is created
1660 * @edat_level: edat level to be used for the shadow translation
1664 * The shadow table will be removed automatically on any change to the
1685 /* Create a new shadow gmap */ in gmap_shadow()
1699 /* Recheck if another CPU created the same shadow */ in gmap_shadow()
1707 /* only allow one real-space gmap shadow */ in gmap_shadow()
1747 * gmap_shadow_r2t - create an empty shadow region 2 table
1748 * @sg: pointer to the shadow guest address space structure
1749 * @saddr: faulting address in the shadow gmap
1756 * remove the shadow r2 table and all of its descendants.
1759 * shadow table structure is incomplete, -ENOMEM if out of memory and
1774 /* Allocate a shadow region second table */ in gmap_shadow_r2t()
1782 /* Install shadow region second table */ in gmap_shadow_r2t()
1793 rc = -EAGAIN; /* Race with shadow */ in gmap_shadow_r2t()
1836 * gmap_shadow_r3t - create a shadow region 3 table
1837 * @sg: pointer to the shadow guest address space structure
1838 * @saddr: faulting address in the shadow gmap
1843 * shadow table structure is incomplete, -ENOMEM if out of memory and
1858 /* Allocate a shadow region second table */ in gmap_shadow_r3t()
1866 /* Install shadow region second table */ in gmap_shadow_r3t()
1877 rc = -EAGAIN; /* Race with shadow */ in gmap_shadow_r3t()
1920 * gmap_shadow_sgt - create a shadow segment table
1921 * @sg: pointer to the shadow guest address space structure
1922 * @saddr: faulting address in the shadow gmap
1927 * shadow table structure is incomplete, -ENOMEM if out of memory and
1942 /* Allocate a shadow segment table */ in gmap_shadow_sgt()
1950 /* Install shadow region second table */ in gmap_shadow_sgt()
1961 rc = -EAGAIN; /* Race with shadow */ in gmap_shadow_sgt()
2004 * gmap_shadow_pgt_lookup - find a shadow page table
2005 * @sg: pointer to the shadow guest address space structure
2006 * @saddr: the address in the shadow aguest address space
2011 * Returns 0 if the shadow page table was found and -EAGAIN if the page
2028 /* Shadow page tables are full pages (pte+pgste) */ in gmap_shadow_pgt_lookup()
2044 * gmap_shadow_pgt - instantiate a shadow page table
2045 * @sg: pointer to the shadow guest address space structure
2046 * @saddr: faulting address in the shadow gmap
2051 * shadow table structure is incomplete, -ENOMEM if out of memory,
2066 /* Allocate a shadow page table */ in gmap_shadow_pgt()
2074 /* Install shadow page table */ in gmap_shadow_pgt()
2085 rc = -EAGAIN; /* Race with shadow */ in gmap_shadow_pgt()
2124 * gmap_shadow_page - create a shadow page mapping
2125 * @sg: pointer to the shadow guest address space structure
2126 * @saddr: faulting address in the shadow gmap
2130 * shadow table structure is incomplete, -ENOMEM if out of memory and
2199 * gmap_shadow_notify - handle notifications for shadow gmap
2221 /* The complete shadow table has to go */ in gmap_shadow_notify()