/linux/tools/testing/selftests/vm/ |
A D | mremap_dontunmap.c | 56 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()
|
A D | .gitignore | 3 hugepage-mremap
|
A D | split_huge_page_test.c | 259 pte_mapped = mremap(one_page, pagesize, pagesize, MREMAP_MAYMOVE); in split_pte_mapped_thp() 263 pte_mapped2 = mremap(one_page + pmd_pagesize * i + pagesize * i, in split_pte_mapped_thp()
|
A D | hugepage-mremap.c | 144 void *addr = mremap(haddr, LENGTH, LENGTH, in main()
|
A D | run_vmtests.sh | 114 ./hugepage-mremap
|
A D | Makefile | 32 TEST_GEN_FILES += hugepage-mremap
|
A D | mremap_test.c | 145 dest_addr = mremap(src_addr, c.region_size, c.region_size, in remap_region()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | ringbuf.c | 107 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/arch/arm64/kernel/ |
A D | vdso.c | 290 .mremap = aarch32_sigpage_mremap, 298 .mremap = vdso_mremap, 452 .mremap = vdso_mremap,
|
/linux/arch/s390/kernel/ |
A D | vdso.c | 148 .mremap = vdso_mremap, 153 .mremap = vdso_mremap,
|
/linux/Documentation/vm/ |
A D | transhuge.rst | 74 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
|
A D | overcommit-accounting.rst | 45 The C language stack growth does an implicit mremap. If you want absolute 76 * We account mremap changes in size
|
/linux/Documentation/arm64/ |
A 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/tools/testing/selftests/x86/ |
A D | test_mremap_vdso.c | 41 new_addr = mremap(vdso_addr, size, size, in try_to_remap()
|
A D | sysret_rip.c | 134 ret = mremap((void *)current_test_page_addr, 4096, 4096, in test_syscall_fallthrough_to()
|
/linux/arch/powerpc/kernel/ |
A D | vdso.c | 93 .mremap = vdso32_mremap, 98 .mremap = vdso64_mremap,
|
/linux/tools/testing/selftests/powerpc/signal/ |
A D | sigreturn_vdso.c | 96 assert(mremap((void *)low, size, size, MREMAP_MAYMOVE|MREMAP_FIXED, p) != MAP_FAILED); in test_sigreturn_vdso()
|
/linux/mm/ |
A D | built-in.a | 37 mremap.o/
|
A D | .mremap.o.cmd | 1 …mremap.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64/bin/a… 3 source_mm/mremap.o := mm/mremap.c 5 deps_mm/mremap.o := \ 1284 mm/mremap.o: $(deps_mm/mremap.o) 1286 $(deps_mm/mremap.o):
|
A D | .built-in.a.cmd | 1 …ory.o mm/mincore.o mm/mlock.o mm/mmap.o mm/mmu_gather.o mm/mprotect.o mm/mremap.o mm/msync.o mm/pa…
|
A D | mremap.c | 633 } else if (vma->vm_ops && vma->vm_ops->mremap) { in move_vma() 634 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
|
A D | Makefile | 39 mlock.o mmap.o mmu_gather.o mprotect.o mremap.o \
|
/linux/arch/arm/kernel/ |
A D | vdso.c | 60 .mremap = vdso_mremap,
|
/linux/arch/riscv/kernel/ |
A D | vdso.c | 202 .mremap = vdso_mremap,
|
/linux/Documentation/admin-guide/mm/ |
A D | nommu-mmap.rst | 180 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
|