/openbmc/linux/tools/testing/selftests/mm/ |
H A D | mremap_dontunmap.c | 54 MREMAP_DONTUNMAP | MREMAP_MAYMOVE, 0); in kernel_support_for_mremap_dontunmap() 109 MREMAP_DONTUNMAP | MREMAP_MAYMOVE, NULL); in mremap_dontunmap_simple() 150 MREMAP_DONTUNMAP | MREMAP_MAYMOVE, NULL); in mremap_dontunmap_simple_shmem() 201 MREMAP_FIXED | MREMAP_DONTUNMAP | MREMAP_MAYMOVE, in mremap_dontunmap_simple_fixed() 253 MREMAP_DONTUNMAP | MREMAP_MAYMOVE, NULL); in mremap_dontunmap_partial_mapping() 311 MREMAP_DONTUNMAP | MREMAP_MAYMOVE | MREMAP_FIXED, dest_mapping); in mremap_dontunmap_partial_mapping_overwrite()
|
H A D | split_huge_page_test.c | 178 pte_mapped = mremap(one_page, pagesize, pagesize, MREMAP_MAYMOVE); in split_pte_mapped_thp() 184 MREMAP_MAYMOVE|MREMAP_FIXED, in split_pte_mapped_thp()
|
H A D | hugepage-mremap.c | 163 MREMAP_MAYMOVE | MREMAP_FIXED, vaddr); in main()
|
H A D | mremap_test.c | 326 MREMAP_MAYMOVE|MREMAP_FIXED, (char *) addr); in remap_region()
|
H A D | khugepaged.c | 1144 MREMAP_MAYMOVE | MREMAP_FIXED, in collapse_compound_extreme() 1154 MREMAP_MAYMOVE | MREMAP_FIXED, in collapse_compound_extreme()
|
H A D | uffd-unit-tests.c | 742 MREMAP_MAYMOVE | MREMAP_FIXED, area_src); in faulting_process()
|
H A D | cow.c | 820 MREMAP_MAYMOVE | MREMAP_FIXED, mremap_mem); in do_run_with_thp()
|
/openbmc/qemu/linux-headers/linux/ |
H A D | mman.h | 9 #define MREMAP_MAYMOVE 1 macro
|
/openbmc/linux/include/uapi/linux/ |
H A D | mman.h | 9 #define MREMAP_MAYMOVE 1 macro
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | mman.h | 9 #define MREMAP_MAYMOVE 1 macro
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | ringbuf.c | 109 tmp_ptr = mremap(mmap_ptr, page_size, 2 * page_size, MREMAP_MAYMOVE); in ringbuf_subtest() 138 ASSERT_ERR_PTR(mremap(mmap_ptr, 0, 4 * page_size, MREMAP_MAYMOVE), "ro_remap"); in ringbuf_subtest() 148 ASSERT_ERR_PTR(mremap(mmap_ptr, 0, 3 * page_size, MREMAP_MAYMOVE), "ro_remap"); in ringbuf_subtest()
|
H A D | user_ringbuf.c | 116 ASSERT_ERR_PTR(mremap(mmap_ptr, 0, 4 * page_size, MREMAP_MAYMOVE), "wr_prod_pos"); in test_user_ringbuf_mappings()
|
/openbmc/linux/tools/testing/selftests/x86/ |
H A D | test_mremap_vdso.c | 42 MREMAP_FIXED|MREMAP_MAYMOVE, dest_addr); in try_to_remap()
|
H A D | sysret_rip.c | 135 MREMAP_MAYMOVE | MREMAP_FIXED, new_address); in test_syscall_fallthrough_to()
|
/openbmc/linux/tools/testing/selftests/powerpc/signal/ |
H A D | sigreturn_vdso.c | 96 assert(mremap((void *)low, size, size, MREMAP_MAYMOVE|MREMAP_FIXED, p) != MAP_FAILED); in test_sigreturn_vdso()
|
/openbmc/openbmc/poky/meta/recipes-devtools/qemu/qemu/ |
H A D | 0006-qemu-Add-some-user-space-mmap-tweaks-to-address-musl.patch | 43 ((flags & MREMAP_MAYMOVE) == 0 &&
|
/openbmc/linux/mm/ |
H A D | mremap.c | 940 if (flags & ~(MREMAP_FIXED | MREMAP_MAYMOVE | MREMAP_DONTUNMAP)) in SYSCALL_DEFINE5() 943 if (flags & MREMAP_FIXED && !(flags & MREMAP_MAYMOVE)) in SYSCALL_DEFINE5() 951 (!(flags & MREMAP_MAYMOVE) || old_len != new_len)) in SYSCALL_DEFINE5() 1089 if (flags & MREMAP_MAYMOVE) { in SYSCALL_DEFINE5()
|
/openbmc/qemu/linux-user/ |
H A D | mmap.c | 1111 ((flags & MREMAP_MAYMOVE) == 0 && in target_mremap() 1130 } else if (flags & MREMAP_MAYMOVE) { in target_mremap()
|
/openbmc/linux/Documentation/admin-guide/mm/ |
H A D | nommu-mmap.rst | 184 mapping, and may move it [#]_ if MREMAP_MAYMOVE is specified and if the new size
|