Home
last modified time | relevance | path

Searched refs:SIZE_MB (Results 1 – 1 of 1) sorted by relevance

/linux-6.15/tools/testing/selftests/mm/
H A Dmremap_test.c333 size_t size = SIZE_MB(20); in mremap_move_within_range()
343 src = ptr + SIZE_MB(6); in mremap_move_within_range()
347 memcpy(src, rand_addr, SIZE_MB(2)); in mremap_move_within_range()
349 dest = src - SIZE_MB(2); in mremap_move_within_range()
351 void *new_ptr = mremap(src + SIZE_MB(1), SIZE_MB(1), SIZE_MB(1), in mremap_move_within_range()
361 for (i = 0; i < SIZE_MB(1); i++) { in mremap_move_within_range()
577 .region_size = SIZE_MB(6) in mremap_move_1mb_from_start()
594 memcpy(src, rand_addr, SIZE_MB(2)); in mremap_move_1mb_from_start()
600 munmap(dest, SIZE_MB(1)); in mremap_move_1mb_from_start()
602 void *new_ptr = mremap(src + SIZE_MB(1), SIZE_MB(1), SIZE_MB(1), in mremap_move_1mb_from_start()
[all …]