Lines Matching full:mapping
62 "unable to unmap destination mapping"); in kernel_support_for_mremap_dontunmap()
66 "unable to unmap source mapping"); in kernel_support_for_mremap_dontunmap()
70 // This helper will just validate that an entire mapping contains the expected
97 // the source mapping mapped.
109 // Try to just move the whole mapping anywhere (not fixed). in mremap_dontunmap_simple()
125 "unable to unmap destination mapping"); in mremap_dontunmap_simple()
127 "unable to unmap source mapping"); in mremap_dontunmap_simple()
130 // This test validates that MREMAP_DONTUNMAP on a shared mapping works as expected.
150 // Try to just move the whole mapping anywhere (not fixed). in mremap_dontunmap_simple_shmem()
157 "unable to unmap source mapping"); in mremap_dontunmap_simple_shmem()
176 "unable to unmap destination mapping"); in mremap_dontunmap_simple_shmem()
178 "unable to unmap source mapping"); in mremap_dontunmap_simple_shmem()
189 // create a mapping up front. in mremap_dontunmap_simple_fixed()
208 "mremap should have placed the remapped mapping at dest_mapping"); in mremap_dontunmap_simple_fixed()
210 // The dest mapping will have been unmap by mremap so we expect the Xs in mremap_dontunmap_simple_fixed()
216 // And the source mapping will have had its ptes dropped. in mremap_dontunmap_simple_fixed()
222 "unable to unmap destination mapping"); in mremap_dontunmap_simple_fixed()
224 "unable to unmap source mapping"); in mremap_dontunmap_simple_fixed()
228 // existing mapping.
232 * source mapping: in mremap_dontunmap_partial_mapping()
240 * With the destination mapping containing 5 pages of As. in mremap_dontunmap_partial_mapping()
269 0, "dest mapping should contain ptes from the source"); in mremap_dontunmap_partial_mapping()
272 "unable to unmap destination mapping"); in mremap_dontunmap_partial_mapping()
274 "unable to unmap source mapping"); in mremap_dontunmap_partial_mapping()
277 // This test validates that we can remap over only a portion of a mapping.
281 * source mapping: in mremap_dontunmap_partial_mapping_overwrite()
285 * dest mapping initially: in mremap_dontunmap_partial_mapping_overwrite()
293 * With the destination mapping containing 5 pages of As. in mremap_dontunmap_partial_mapping_overwrite()
323 "dest mapping should contain ptes from the source"); in mremap_dontunmap_partial_mapping_overwrite()
328 "dest mapping should have retained the last 5 pages"); in mremap_dontunmap_partial_mapping_overwrite()
331 "unable to unmap destination mapping"); in mremap_dontunmap_partial_mapping_overwrite()
333 "unable to unmap source mapping"); in mremap_dontunmap_partial_mapping_overwrite()