/linux-6.12.1/tools/testing/selftests/mm/ |
D | mremap_dontunmap.c | 53 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() 150 mremap(source_mapping, num_pages * page_size, num_pages * page_size, in mremap_dontunmap_simple_shmem() 202 mremap(source_mapping, num_pages * page_size, num_pages * page_size, in mremap_dontunmap_simple_fixed() 254 mremap(source_mapping + (5 * page_size), 5 * page_size, in mremap_dontunmap_partial_mapping() 313 mremap(source_mapping, 5 * page_size, in mremap_dontunmap_partial_mapping_overwrite()
|
D | hugepage-mremap.c | 148 void *addr = mremap(haddr, length, length, in main() 160 addr = mremap(addr, length, length, 0); in main()
|
D | mremap_test.c | 254 remap = mremap(start, page_size, 2 * page_size, 0); in mremap_expand_merge() 295 remap = mremap(start + page_size, page_size, 2 * page_size, 0); in mremap_expand_merge_offset() 351 void *new_ptr = mremap(src + SIZE_MB(1), SIZE_MB(1), SIZE_MB(1), in mremap_move_within_range() 450 dest_addr = mremap(src_addr, c.region_size, c.region_size, in remap_region() 602 void *new_ptr = mremap(src + SIZE_MB(1), SIZE_MB(1), SIZE_MB(1), in mremap_move_1mb_from_start()
|
D | .gitignore | 4 hugepage-mremap
|
D | run_vmtests.sh | 40 - mremap 41 tests for mremap(2) 265 CATEGORY="hugetlb" run_test ./hugepage-mremap
|
D | split_huge_page_test.c | 228 pte_mapped = mremap(one_page, pagesize, pagesize, MREMAP_MAYMOVE); in split_pte_mapped_thp() 232 pte_mapped2 = mremap(one_page + pmd_pagesize * i + pagesize * i, in split_pte_mapped_thp()
|
D | Makefile | 48 TEST_GEN_FILES += hugepage-mremap
|
/linux-6.12.1/Documentation/translations/zh_CN/mm/ |
D | overcommit-accounting.rst | 44 C语言的堆栈增长是一个隐含的mremap。如果你想得到绝对的保证,并在接近边缘的地方运行, 75 * 我们核算mremap的大小变化
|
/linux-6.12.1/arch/parisc/kernel/ |
D | vdso.c | 39 .mremap = vdso_mremap, 45 .mremap = vdso_mremap,
|
/linux-6.12.1/arch/arm64/kernel/ |
D | vdso.c | 255 .mremap = aarch32_sigpage_mremap, 263 .mremap = vdso_mremap, 417 .mremap = vdso_mremap,
|
/linux-6.12.1/arch/riscv/kernel/ |
D | vdso.c | 165 .mremap = vdso_mremap, 185 .mremap = vdso_mremap,
|
/linux-6.12.1/Documentation/mm/ |
D | transhuge.rst | 72 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
|
D | overcommit-accounting.rst | 43 The C language stack growth does an implicit mremap. If you want absolute 74 * We account mremap changes in size
|
/linux-6.12.1/arch/s390/kernel/ |
D | vdso.c | 122 .mremap = vdso_mremap, 127 .mremap = vdso_mremap,
|
/linux-6.12.1/tools/testing/selftests/x86/ |
D | test_mremap_vdso.c | 42 new_addr = mremap(vdso_addr, size, size, in try_to_remap()
|
D | sysret_rip.c | 126 ret = mremap((void *)current_test_page_addr, 4096, 4096, in test_syscall_fallthrough_to()
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | ringbuf.c | 167 tmp_ptr = mremap(mmap_ptr, page_size, 2 * page_size, MREMAP_MAYMOVE); in ringbuf_subtest() 196 ASSERT_ERR_PTR(mremap(mmap_ptr, 0, 4 * page_size, MREMAP_MAYMOVE), "ro_remap"); in ringbuf_subtest() 206 ASSERT_ERR_PTR(mremap(mmap_ptr, 0, 3 * page_size, MREMAP_MAYMOVE), "ro_remap"); in ringbuf_subtest()
|
/linux-6.12.1/Documentation/arch/arm64/ |
D | tagged-address-abi.rst | 51 ``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).
|
/linux-6.12.1/arch/powerpc/kernel/ |
D | vdso.c | 109 .mremap = vdso32_mremap, 115 .mremap = vdso64_mremap,
|
/linux-6.12.1/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-6.12.1/Documentation/userspace-api/ |
D | mseal.rst | 92 - mremap 97 The first set of syscalls to block is munmap, mremap, mmap. They can 123 - mmap and mremap: undefined behavior.
|
/linux-6.12.1/arch/loongarch/kernel/ |
D | vdso.c | 89 .mremap = vdso_mremap,
|
/linux-6.12.1/arch/arm/kernel/ |
D | vdso.c | 56 .mremap = vdso_mremap,
|
/linux-6.12.1/mm/ |
D | mremap.c | 726 } else if (vma->vm_ops && vma->vm_ops->mremap) { in move_vma() 727 err = vma->vm_ops->mremap(new_vma); in move_vma() 987 SYSCALL_DEFINE5(mremap, unsigned long, addr, unsigned long, old_len, in SYSCALL_DEFINE5() argument
|
/linux-6.12.1/arch/x86/entry/vdso/ |
D | vma.c | 214 .mremap = vdso_mremap,
|