Lines Matching full:remap
97 * Returns false if the requested remap region overlaps with an
243 char *remap, *start; in mremap_expand_merge() local
254 remap = mremap(start, page_size, 2 * page_size, 0); in mremap_expand_merge()
255 if (remap == MAP_FAILED) { in mremap_expand_merge()
275 * we remove the last then attempt to remap offset from the second page. This
283 char *remap, *start; in mremap_expand_merge_offset() local
295 remap = mremap(start + page_size, page_size, 2 * page_size, 0); in mremap_expand_merge_offset()
296 if (remap == MAP_FAILED) { in mremap_expand_merge_offset()
383 /* Returns the time taken for the remap on success else returns -1. */
415 /* Remap after the destination block preamble. */ in remap_region()
426 ksft_print_msg("Couldn't find a valid region to remap to\n"); in remap_region()
477 ksft_print_msg("Data after remap doesn't match at offset %llu\n", in remap_region()
493 ksft_print_msg("Data after remap doesn't match at offset %llu\n", in remap_region()
519 ksft_print_msg("Preamble data after remap doesn't match at offset %llu\n", in remap_region()
531 ksft_print_msg("Preamble data after remap doesn't match at offset %llu\n", in remap_region()
548 * dest_addr and region_size. This significantly affects the remap time of in remap_region()