Home
last modified time | relevance | path

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

123

/linux-6.1.9/tools/testing/selftests/vm/
Dmremap_dontunmap.c56 mremap(source_mapping, num_pages * page_size, num_pages * page_size, in kernel_support_for_mremap_dontunmap()
111 mremap(source_mapping, num_pages * page_size, num_pages * page_size, in mremap_dontunmap_simple()
152 mremap(source_mapping, num_pages * page_size, num_pages * page_size, in mremap_dontunmap_simple_shmem()
203 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()
312 mremap(source_mapping, 5 * page_size, in mremap_dontunmap_partial_mapping_overwrite()
Dhugepage-mremap.c167 void *addr = mremap(haddr, length, length, in main()
181 addr = mremap(addr, length, length, 0); in main()
D.gitignore3 hugepage-mremap
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()
Dmremap_test.c139 mremap(start, page_size, 2 * page_size, 0); in mremap_expand_merge()
263 dest_addr = mremap(src_addr, c.region_size, c.region_size, in remap_region()
Drun_vmtests.sh102 run_test ./hugepage-mremap "$mnt"/huge_mremap
DMakefile33 TEST_GEN_FILES += hugepage-mremap
/linux-6.1.9/Documentation/translations/zh_CN/mm/
Dovercommit-accounting.rst44 C语言的堆栈增长是一个隐含的mremap。如果你想得到绝对的保证,并在接近边缘的地方运行,
75 * 我们核算mremap的大小变化
/linux-6.1.9/arch/parisc/kernel/
Dvdso.c39 .mremap = vdso_mremap,
45 .mremap = vdso_mremap,
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
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-6.1.9/arch/arm64/kernel/
Dvdso.c288 .mremap = aarch32_sigpage_mremap,
296 .mremap = vdso_mremap,
450 .mremap = vdso_mremap,
/linux-6.1.9/arch/riscv/kernel/
Dvdso.c205 .mremap = vdso_mremap,
225 .mremap = vdso_mremap,
/linux-6.1.9/arch/s390/kernel/
Dvdso.c150 .mremap = vdso_mremap,
155 .mremap = vdso_mremap,
/linux-6.1.9/Documentation/mm/
Dovercommit-accounting.rst44 The C language stack growth does an implicit mremap. If you want absolute
75 * We account mremap changes in size
Dtranshuge.rst74 Example to make mremap.c transparent hugepage aware with a one liner
77 diff --git a/mm/mremap.c b/mm/mremap.c
78 --- a/mm/mremap.c
79 +++ b/mm/mremap.c
/linux-6.1.9/tools/testing/selftests/x86/
Dtest_mremap_vdso.c41 new_addr = mremap(vdso_addr, size, size, in try_to_remap()
Dsysret_rip.c134 ret = mremap((void *)current_test_page_addr, 4096, 4096, in test_syscall_fallthrough_to()
/linux-6.1.9/Documentation/arm64/
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).
/linux-6.1.9/tools/testing/selftests/powerpc/signal/
Dsigreturn_vdso.c96 assert(mremap((void *)low, size, size, MREMAP_MAYMOVE|MREMAP_FIXED, p) != MAP_FAILED); in test_sigreturn_vdso()
/linux-6.1.9/arch/powerpc/kernel/
Dvdso.c94 .mremap = vdso32_mremap,
99 .mremap = vdso64_mremap,
/linux-6.1.9/arch/loongarch/kernel/
Dvdso.c50 .mremap = vdso_mremap,
/linux-6.1.9/arch/arm/kernel/
Dvdso.c60 .mremap = vdso_mremap,
/linux-6.1.9/mm/
Dmremap.c638 } else if (vma->vm_ops && vma->vm_ops->mremap) { in move_vma()
639 err = vma->vm_ops->mremap(new_vma); in move_vma()
889 SYSCALL_DEFINE5(mremap, unsigned long, addr, unsigned long, old_len, in SYSCALL_DEFINE5() argument
DMakefile41 mlock.o mmap.o mmu_gather.o mprotect.o mremap.o \
/linux-6.1.9/Documentation/admin-guide/mm/
Dnommu-mmap.rst180 No-MMU mremap
183 The mremap() function is partially supported. It may change the size of a
194 The mremap() function must be given an exact match for base address and size of

123