Searched refs:MREMAP_MAYMOVE (Results 1 – 14 of 14) sorted by relevance
/linux/tools/testing/selftests/vm/ |
A 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_DONTUNMAP | MREMAP_MAYMOVE, NULL); in mremap_dontunmap_simple_shmem() 204 MREMAP_FIXED | MREMAP_DONTUNMAP | MREMAP_MAYMOVE, in mremap_dontunmap_simple_fixed() 256 MREMAP_DONTUNMAP | MREMAP_MAYMOVE, NULL); in mremap_dontunmap_partial_mapping() 314 MREMAP_DONTUNMAP | MREMAP_MAYMOVE | MREMAP_FIXED, dest_mapping); in mremap_dontunmap_partial_mapping_overwrite()
|
A D | split_huge_page_test.c | 259 pte_mapped = mremap(one_page, pagesize, pagesize, MREMAP_MAYMOVE); in split_pte_mapped_thp() 265 MREMAP_MAYMOVE|MREMAP_FIXED, in split_pte_mapped_thp()
|
A D | hugepage-mremap.c | 145 MREMAP_MAYMOVE | MREMAP_FIXED, vaddr); in main()
|
A D | mremap_test.c | 146 MREMAP_MAYMOVE|MREMAP_FIXED, (char *) addr); in remap_region()
|
A D | khugepaged.c | 776 MREMAP_MAYMOVE | MREMAP_FIXED, in collapse_compound_extreme() 786 MREMAP_MAYMOVE | MREMAP_FIXED, in collapse_compound_extreme()
|
A D | userfaultfd.c | 989 MREMAP_MAYMOVE | MREMAP_FIXED, area_src); in faulting_process()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | ringbuf.c | 107 tmp_ptr = mremap(mmap_ptr, page_size, 2 * page_size, MREMAP_MAYMOVE); in test_ringbuf() 136 ASSERT_ERR_PTR(mremap(mmap_ptr, 0, 4 * page_size, MREMAP_MAYMOVE), "ro_remap"); in test_ringbuf() 146 ASSERT_ERR_PTR(mremap(mmap_ptr, 0, 3 * page_size, MREMAP_MAYMOVE), "ro_remap"); in test_ringbuf()
|
/linux/tools/include/uapi/linux/ |
A D | mman.h | 8 #define MREMAP_MAYMOVE 1 macro
|
/linux/include/uapi/linux/ |
A D | mman.h | 8 #define MREMAP_MAYMOVE 1 macro
|
/linux/tools/testing/selftests/x86/ |
A D | test_mremap_vdso.c | 42 MREMAP_FIXED|MREMAP_MAYMOVE, dest_addr); in try_to_remap()
|
A D | sysret_rip.c | 135 MREMAP_MAYMOVE | MREMAP_FIXED, new_address); in test_syscall_fallthrough_to()
|
/linux/mm/ |
A D | mremap.c | 914 if (flags & ~(MREMAP_FIXED | MREMAP_MAYMOVE | MREMAP_DONTUNMAP)) in SYSCALL_DEFINE5() 917 if (flags & MREMAP_FIXED && !(flags & MREMAP_MAYMOVE)) in SYSCALL_DEFINE5() 925 (!(flags & MREMAP_MAYMOVE) || old_len != new_len)) in SYSCALL_DEFINE5() 1045 if (flags & MREMAP_MAYMOVE) { in SYSCALL_DEFINE5()
|
/linux/tools/testing/selftests/powerpc/signal/ |
A D | sigreturn_vdso.c | 96 assert(mremap((void *)low, size, size, MREMAP_MAYMOVE|MREMAP_FIXED, p) != MAP_FAILED); in test_sigreturn_vdso()
|
/linux/Documentation/admin-guide/mm/ |
A D | nommu-mmap.rst | 184 mapping, and may move it [#]_ if MREMAP_MAYMOVE is specified and if the new size
|
Completed in 19 milliseconds