Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/mm/
H A Dmremap_dontunmap.c54 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 Dsplit_huge_page_test.c178 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 Dhugepage-mremap.c163 MREMAP_MAYMOVE | MREMAP_FIXED, vaddr); in main()
H A Dmremap_test.c326 MREMAP_MAYMOVE|MREMAP_FIXED, (char *) addr); in remap_region()
H A Dkhugepaged.c1144 MREMAP_MAYMOVE | MREMAP_FIXED, in collapse_compound_extreme()
1154 MREMAP_MAYMOVE | MREMAP_FIXED, in collapse_compound_extreme()
H A Duffd-unit-tests.c742 MREMAP_MAYMOVE | MREMAP_FIXED, area_src); in faulting_process()
H A Dcow.c820 MREMAP_MAYMOVE | MREMAP_FIXED, mremap_mem); in do_run_with_thp()
/openbmc/qemu/linux-headers/linux/
H A Dmman.h9 #define MREMAP_MAYMOVE 1 macro
/openbmc/linux/include/uapi/linux/
H A Dmman.h9 #define MREMAP_MAYMOVE 1 macro
/openbmc/linux/tools/include/uapi/linux/
H A Dmman.h9 #define MREMAP_MAYMOVE 1 macro
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dringbuf.c109 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 Duser_ringbuf.c116 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 Dtest_mremap_vdso.c42 MREMAP_FIXED|MREMAP_MAYMOVE, dest_addr); in try_to_remap()
H A Dsysret_rip.c135 MREMAP_MAYMOVE | MREMAP_FIXED, new_address); in test_syscall_fallthrough_to()
/openbmc/linux/tools/testing/selftests/powerpc/signal/
H A Dsigreturn_vdso.c96 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 D0006-qemu-Add-some-user-space-mmap-tweaks-to-address-musl.patch43 ((flags & MREMAP_MAYMOVE) == 0 &&
/openbmc/linux/mm/
H A Dmremap.c940 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 Dmmap.c1111 ((flags & MREMAP_MAYMOVE) == 0 && in target_mremap()
1130 } else if (flags & MREMAP_MAYMOVE) { in target_mremap()
/openbmc/linux/Documentation/admin-guide/mm/
H A Dnommu-mmap.rst184 mapping, and may move it [#]_ if MREMAP_MAYMOVE is specified and if the new size