Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/vm/
A Dmremap_dontunmap.c57 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 Dsplit_huge_page_test.c259 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 Dhugepage-mremap.c145 MREMAP_MAYMOVE | MREMAP_FIXED, vaddr); in main()
A Dmremap_test.c146 MREMAP_MAYMOVE|MREMAP_FIXED, (char *) addr); in remap_region()
A Dkhugepaged.c776 MREMAP_MAYMOVE | MREMAP_FIXED, in collapse_compound_extreme()
786 MREMAP_MAYMOVE | MREMAP_FIXED, in collapse_compound_extreme()
A Duserfaultfd.c989 MREMAP_MAYMOVE | MREMAP_FIXED, area_src); in faulting_process()
/linux/tools/testing/selftests/bpf/prog_tests/
A Dringbuf.c107 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 Dmman.h8 #define MREMAP_MAYMOVE 1 macro
/linux/include/uapi/linux/
A Dmman.h8 #define MREMAP_MAYMOVE 1 macro
/linux/tools/testing/selftests/x86/
A Dtest_mremap_vdso.c42 MREMAP_FIXED|MREMAP_MAYMOVE, dest_addr); in try_to_remap()
A Dsysret_rip.c135 MREMAP_MAYMOVE | MREMAP_FIXED, new_address); in test_syscall_fallthrough_to()
/linux/mm/
A Dmremap.c914 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 Dsigreturn_vdso.c96 assert(mremap((void *)low, size, size, MREMAP_MAYMOVE|MREMAP_FIXED, p) != MAP_FAILED); in test_sigreturn_vdso()
/linux/Documentation/admin-guide/mm/
A Dnommu-mmap.rst184 mapping, and may move it [#]_ if MREMAP_MAYMOVE is specified and if the new size

Completed in 19 milliseconds