Searched refs:MREMAP_MAYMOVE (Results 1 – 10 of 10) sorted by relevance
/Linux-v5.10/tools/testing/selftests/vm/ |
D | mremap_dontunmap.c | 57 MREMAP_DONTUNMAP | MREMAP_MAYMOVE, 0); in kernel_support_for_mremap_dontunmap() 112 MREMAP_DONTUNMAP | MREMAP_MAYMOVE, NULL); in mremap_dontunmap_simple() 153 MREMAP_FIXED | MREMAP_DONTUNMAP | MREMAP_MAYMOVE, in mremap_dontunmap_simple_fixed() 205 MREMAP_DONTUNMAP | MREMAP_MAYMOVE, NULL); in mremap_dontunmap_partial_mapping() 263 MREMAP_DONTUNMAP | MREMAP_MAYMOVE | MREMAP_FIXED, dest_mapping); in mremap_dontunmap_partial_mapping_overwrite()
|
D | khugepaged.c | 780 MREMAP_MAYMOVE | MREMAP_FIXED, in collapse_compound_extreme() 790 MREMAP_MAYMOVE | MREMAP_FIXED, in collapse_compound_extreme()
|
D | userfaultfd.c | 917 MREMAP_MAYMOVE | MREMAP_FIXED, area_src); in faulting_process()
|
/Linux-v5.10/include/uapi/linux/ |
D | mman.h | 8 #define MREMAP_MAYMOVE 1 macro
|
/Linux-v5.10/tools/include/uapi/linux/ |
D | mman.h | 8 #define MREMAP_MAYMOVE 1 macro
|
/Linux-v5.10/tools/testing/selftests/x86/ |
D | test_mremap_vdso.c | 42 MREMAP_FIXED|MREMAP_MAYMOVE, dest_addr); in try_to_remap()
|
D | sysret_rip.c | 135 MREMAP_MAYMOVE | MREMAP_FIXED, new_address); in test_syscall_fallthrough_to()
|
/Linux-v5.10/mm/ |
D | mremap.c | 684 if (flags & ~(MREMAP_FIXED | MREMAP_MAYMOVE | MREMAP_DONTUNMAP)) in SYSCALL_DEFINE5() 687 if (flags & MREMAP_FIXED && !(flags & MREMAP_MAYMOVE)) in SYSCALL_DEFINE5() 695 (!(flags & MREMAP_MAYMOVE) || old_len != new_len)) in SYSCALL_DEFINE5() 782 if (flags & MREMAP_MAYMOVE) { in SYSCALL_DEFINE5()
|
/Linux-v5.10/tools/testing/selftests/powerpc/signal/ |
D | sigreturn_vdso.c | 96 assert(mremap((void *)low, size, size, MREMAP_MAYMOVE|MREMAP_FIXED, p) != MAP_FAILED); in test_sigreturn_vdso()
|
/Linux-v5.10/Documentation/admin-guide/mm/ |
D | nommu-mmap.rst | 184 mapping, and may move it [#]_ if MREMAP_MAYMOVE is specified and if the new size
|