Home
last modified time | relevance | path

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

123

/linux/tools/testing/selftests/vm/
A 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()
A D.gitignore3 hugepage-mremap
A Dsplit_huge_page_test.c259 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 Dhugepage-mremap.c144 void *addr = mremap(haddr, LENGTH, LENGTH, in main()
A Drun_vmtests.sh114 ./hugepage-mremap
A DMakefile32 TEST_GEN_FILES += hugepage-mremap
A Dmremap_test.c145 dest_addr = mremap(src_addr, c.region_size, c.region_size, in remap_region()
/linux/tools/testing/selftests/bpf/prog_tests/
A 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/arch/arm64/kernel/
A Dvdso.c290 .mremap = aarch32_sigpage_mremap,
298 .mremap = vdso_mremap,
452 .mremap = vdso_mremap,
/linux/arch/s390/kernel/
A Dvdso.c148 .mremap = vdso_mremap,
153 .mremap = vdso_mremap,
/linux/Documentation/vm/
A 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
A Dovercommit-accounting.rst45 The C language stack growth does an implicit mremap. If you want absolute
76 * We account mremap changes in size
/linux/Documentation/arm64/
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).
/linux/tools/testing/selftests/x86/
A Dtest_mremap_vdso.c41 new_addr = mremap(vdso_addr, size, size, in try_to_remap()
A Dsysret_rip.c134 ret = mremap((void *)current_test_page_addr, 4096, 4096, in test_syscall_fallthrough_to()
/linux/arch/powerpc/kernel/
A Dvdso.c93 .mremap = vdso32_mremap,
98 .mremap = vdso64_mremap,
/linux/tools/testing/selftests/powerpc/signal/
A Dsigreturn_vdso.c96 assert(mremap((void *)low, size, size, MREMAP_MAYMOVE|MREMAP_FIXED, p) != MAP_FAILED); in test_sigreturn_vdso()
/linux/mm/
A Dbuilt-in.a37 mremap.o/
A D.mremap.o.cmd1mremap.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.cmd1 …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 Dmremap.c633 } 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 DMakefile39 mlock.o mmap.o mmu_gather.o mprotect.o mremap.o \
/linux/arch/arm/kernel/
A Dvdso.c60 .mremap = vdso_mremap,
/linux/arch/riscv/kernel/
A Dvdso.c202 .mremap = vdso_mremap,
/linux/Documentation/admin-guide/mm/
A 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

Completed in 25 milliseconds

123