Lines Matching full:shadow

195 	/* Free additional data for a shadow gmap */  in gmap_free()
243 /* Remove all shadow gmaps linked to this gmap */ in gmap_remove()
471 * Note: Can also be called for shadow gmaps.
479 /* Note: guest_to_host is empty for a shadow gmap */ in __gmap_translate()
505 * gmap_unlink - disconnect a page table from the gmap shadow tables
529 * __gmap_link - set up shadow page tables to connect a host to a guest address
784 * Note: Can also be called for shadow gmaps.
983 /* Shadow GMAP protection needs split PMDs */ in gmap_protect_pmd()
1124 * shadow.
1170 * @sg: pointer to the shadow guest address space structure
1196 * @sg: pointer to the shadow guest address space structure
1197 * @raddr: rmap address in the shadow gmap
1279 * gmap_unshadow_page - remove a page from a shadow page table
1280 * @sg: pointer to the shadow guest address space structure
1281 * @raddr: rmap address in the shadow guest address space
1298 * __gmap_unshadow_pgt - remove all entries from a shadow page table
1299 * @sg: pointer to the shadow guest address space structure
1300 * @raddr: rmap address in the shadow guest address space
1301 * @pgt: pointer to the start of a shadow page table
1316 * gmap_unshadow_pgt - remove a shadow page table from a segment entry
1317 * @sg: pointer to the shadow guest address space structure
1318 * @raddr: address in the shadow guest address space
1344 * __gmap_unshadow_sgt - remove all entries from a shadow segment table
1345 * @sg: pointer to the shadow guest address space structure
1346 * @raddr: rmap address in the shadow guest address space
1347 * @sgt: pointer to the start of a shadow segment table
1373 * gmap_unshadow_sgt - remove a shadow segment table from a region-3 entry
1374 * @sg: pointer to the shadow guest address space structure
1375 * @raddr: rmap address in the shadow guest address space
1377 * Called with the shadow->guest_table_lock
1401 * __gmap_unshadow_r3t - remove all entries from a shadow region-3 table
1402 * @sg: pointer to the shadow guest address space structure
1403 * @raddr: address in the shadow guest address space
1404 * @r3t: pointer to the start of a shadow region-3 table
1430 * gmap_unshadow_r3t - remove a shadow region-3 table from a region-2 entry
1431 * @sg: pointer to the shadow guest address space structure
1432 * @raddr: rmap address in the shadow guest address space
1458 * __gmap_unshadow_r2t - remove all entries from a shadow region-2 table
1459 * @sg: pointer to the shadow guest address space structure
1460 * @raddr: rmap address in the shadow guest address space
1461 * @r2t: pointer to the start of a shadow region-2 table
1487 * gmap_unshadow_r2t - remove a shadow region-2 table from a region-1 entry
1488 * @sg: pointer to the shadow guest address space structure
1489 * @raddr: rmap address in the shadow guest address space
1515 * __gmap_unshadow_r1t - remove all entries from a shadow region-1 table
1516 * @sg: pointer to the shadow guest address space structure
1517 * @raddr: rmap address in the shadow guest address space
1518 * @r1t: pointer to the start of a shadow region-1 table
1520 * Called with the shadow->guest_table_lock
1547 * gmap_unshadow - remove a shadow page table completely
1548 * @sg: pointer to the shadow guest address space structure
1580 * gmap_find_shadow - find a specific asce in the list of shadow tables
1582 * @asce: ASCE for which the shadow table is created
1583 * @edat_level: edat level to be used for the shadow translation
1585 * Returns the pointer to a gmap if a shadow table with the given asce is
1607 * gmap_shadow_valid - check if a shadow guest address space matches the
1609 * @sg: pointer to the shadow guest address space structure
1610 * @asce: ASCE for which the shadow table is requested
1611 * @edat_level: edat level to be used for the shadow translation
1613 * Returns 1 if the gmap shadow is still valid and matches the given
1615 * caller has to request a new shadow gmap in this case.
1627 * gmap_shadow - create/find a shadow guest address space
1629 * @asce: ASCE for which the shadow table is created
1630 * @edat_level: edat level to be used for the shadow translation
1634 * The shadow table will be removed automatically on any change to the
1655 /* Create a new shadow gmap */ in gmap_shadow()
1668 /* Recheck if another CPU created the same shadow */ in gmap_shadow()
1676 /* only allow one real-space gmap shadow */ in gmap_shadow()
1716 * gmap_shadow_r2t - create an empty shadow region 2 table
1717 * @sg: pointer to the shadow guest address space structure
1718 * @saddr: faulting address in the shadow gmap
1725 * remove the shadow r2 table and all of its decendents.
1728 * shadow table structure is incomplete, -ENOMEM if out of memory and
1742 /* Allocate a shadow region second table */ in gmap_shadow_r2t()
1750 /* Install shadow region second table */ in gmap_shadow_r2t()
1761 rc = -EAGAIN; /* Race with shadow */ in gmap_shadow_r2t()
1805 * gmap_shadow_r3t - create a shadow region 3 table
1806 * @sg: pointer to the shadow guest address space structure
1807 * @saddr: faulting address in the shadow gmap
1812 * shadow table structure is incomplete, -ENOMEM if out of memory and
1826 /* Allocate a shadow region second table */ in gmap_shadow_r3t()
1834 /* Install shadow region second table */ in gmap_shadow_r3t()
1845 rc = -EAGAIN; /* Race with shadow */ in gmap_shadow_r3t()
1889 * gmap_shadow_sgt - create a shadow segment table
1890 * @sg: pointer to the shadow guest address space structure
1891 * @saddr: faulting address in the shadow gmap
1896 * shadow table structure is incomplete, -ENOMEM if out of memory and
1910 /* Allocate a shadow segment table */ in gmap_shadow_sgt()
1918 /* Install shadow region second table */ in gmap_shadow_sgt()
1929 rc = -EAGAIN; /* Race with shadow */ in gmap_shadow_sgt()
1973 * gmap_shadow_pgt_lookup - find a shadow page table
1974 * @sg: pointer to the shadow guest address space structure
1975 * @saddr: the address in the shadow aguest address space
1980 * Returns 0 if the shadow page table was found and -EAGAIN if the page
1997 /* Shadow page tables are full pages (pte+pgste) */ in gmap_shadow_pgt_lookup()
2013 * gmap_shadow_pgt - instantiate a shadow page table
2014 * @sg: pointer to the shadow guest address space structure
2015 * @saddr: faulting address in the shadow gmap
2020 * shadow table structure is incomplete, -ENOMEM if out of memory,
2034 /* Allocate a shadow page table */ in gmap_shadow_pgt()
2042 /* Install shadow page table */ in gmap_shadow_pgt()
2053 rc = -EAGAIN; /* Race with shadow */ in gmap_shadow_pgt()
2093 * gmap_shadow_page - create a shadow page mapping
2094 * @sg: pointer to the shadow guest address space structure
2095 * @saddr: faulting address in the shadow gmap
2099 * shadow table structure is incomplete, -ENOMEM if out of memory and
2168 * gmap_shadow_notify - handle notifications for shadow gmap
2190 /* The complete shadow table has to go */ in gmap_shadow_notify()