Home
last modified time | relevance | path

Searched refs:mremap (Results 1 – 25 of 90) sorted by relevance

1234

/openbmc/linux/tools/testing/selftests/mm/
H A Dmremap_dontunmap.c53 mremap(source_mapping, num_pages * page_size, num_pages * page_size, in kernel_support_for_mremap_dontunmap()
108 mremap(source_mapping, num_pages * page_size, num_pages * page_size, in mremap_dontunmap_simple()
149 mremap(source_mapping, num_pages * page_size, num_pages * page_size, in mremap_dontunmap_simple_shmem()
200 mremap(source_mapping, num_pages * page_size, num_pages * page_size, in mremap_dontunmap_simple_fixed()
251 mremap(source_mapping + (5 * page_size), 5 * page_size, in mremap_dontunmap_partial_mapping()
309 mremap(source_mapping, 5 * page_size, in mremap_dontunmap_partial_mapping_overwrite()
H A Dhugepage-mremap.c162 void *addr = mremap(haddr, length, length, in main()
176 addr = mremap(addr, length, length, 0); in main()
H A Drun_vmtests.sh39 - mremap
40 tests for mremap(2)
246 CATEGORY="hugetlb" run_test ./hugepage-mremap
H A Dsplit_huge_page_test.c178 pte_mapped = mremap(one_page, pagesize, pagesize, MREMAP_MAYMOVE); in split_pte_mapped_thp()
182 pte_mapped2 = mremap(one_page + pmd_pagesize * i + pagesize * i, in split_pte_mapped_thp()
H A D.gitignore4 hugepage-mremap
H A Dmremap_test.c170 remap = mremap(start, page_size, 2 * page_size, 0); in mremap_expand_merge()
210 remap = mremap(start + page_size, page_size, 2 * page_size, 0); in mremap_expand_merge_offset()
325 dest_addr = mremap(src_addr, c.region_size, c.region_size, in remap_region()
/openbmc/linux/Documentation/translations/zh_CN/mm/
H A Dovercommit-accounting.rst44 C语言的堆栈增长是一个隐含的mremap。如果你想得到绝对的保证,并在接近边缘的地方运行,
75 * 我们核算mremap的大小变化
/openbmc/linux/arch/parisc/kernel/
H A Dvdso.c39 .mremap = vdso_mremap,
45 .mremap = vdso_mremap,
/openbmc/openbmc/poky/meta/recipes-devtools/qemu/qemu/
H A D0005-qemu-Add-some-user-space-mmap-tweaks-to-address-musl.patch7 infinite loop of mremap calls of ever decreasing/increasing addresses.
12 According to the docs, trying to mremap outside the address space
/openbmc/linux/arch/arm64/kernel/
H A Dvdso.c264 .mremap = aarch32_sigpage_mremap,
272 .mremap = vdso_mremap,
426 .mremap = vdso_mremap,
/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()
/openbmc/linux/Documentation/mm/
H A Dtranshuge.rst72 Example to make mremap.c transparent hugepage aware with a one liner
75 diff --git a/mm/mremap.c b/mm/mremap.c
76 --- a/mm/mremap.c
77 +++ b/mm/mremap.c
H A Dovercommit-accounting.rst44 The C language stack growth does an implicit mremap. If you want absolute
75 * We account mremap changes in size
/openbmc/linux/arch/s390/kernel/
H A Dvdso.c128 .mremap = vdso_mremap,
133 .mremap = vdso_mremap,
/openbmc/linux/arch/riscv/kernel/
H A Dvdso.c171 .mremap = vdso_mremap,
191 .mremap = vdso_mremap,
/openbmc/linux/tools/testing/selftests/x86/
H A Dtest_mremap_vdso.c41 new_addr = mremap(vdso_addr, size, size, in try_to_remap()
H A Dsysret_rip.c134 ret = mremap((void *)current_test_page_addr, 4096, 4096, in test_syscall_fallthrough_to()
/openbmc/linux/Documentation/arch/arm64/
H A Dtagged-address-abi.rst51 ``mremap()`` as these have the potential to alias with existing
56 ``mmap()`` and ``mremap()`` system calls.
130 - ``mremap()``, the ``new_address`` argument (since kernel v5.6).
/openbmc/linux/arch/powerpc/kernel/
H A Dvdso.c94 .mremap = vdso32_mremap,
99 .mremap = vdso64_mremap,
/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-graphics/wayland/wayland/
H A D0001-build-Fix-strndup-detection-on-MinGW.patch29 'mremap',
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/chrony/chrony/
H A Darm_eabi.patch57 SCMP_SYS(mremap),
/openbmc/linux/arch/loongarch/kernel/
H A Dvdso.c93 .mremap = vdso_mremap,
/openbmc/linux/arch/arm/kernel/
H A Dvdso.c60 .mremap = vdso_mremap,
/openbmc/qemu/linux-user/
H A Dmmap.c1120 host_addr = mremap(g2h_untagged(old_addr), old_size, new_size, in target_mremap()
1139 host_addr = mremap(g2h_untagged(old_addr), old_size, new_size, in target_mremap()
1157 host_addr = mremap(g2h_untagged(old_addr), in target_mremap()
1164 host_addr = mremap(g2h_untagged(old_addr), in target_mremap()

1234