/kernel/liteos_a/testsuites/unittest/basic/mem/vm/smoke/ |
D | mremap_test_001.cpp | 48 newAddr = mremap(0, 0, 0, 0, 0); in Testcase() 52 newAddr = mremap(p, size, size, MREMAP_FIXED, 0); in Testcase() 57 newAddr = mremap(p, size, pageSize, MREMAP_MAYMOVE, 0); in Testcase() 61 newAddr = mremap(p, pageSize, pageSize, MREMAP_MAYMOVE, 0); in Testcase() 65 newAddr = mremap(p, pageSize, size, MREMAP_MAYMOVE, 0); in Testcase() 69 newAddr = mremap(p, size, pageSize, MREMAP_MAYMOVE | MREMAP_FIXED, p + pageSize); in Testcase() 73 newAddr = mremap(p, size, size, MREMAP_MAYMOVE | MREMAP_FIXED, p - pageSize); in Testcase() 77 newAddr = mremap(p, size, size + pageSize, MREMAP_MAYMOVE | MREMAP_FIXED, p - pageSize); in Testcase() 82 newAddr = mremap(p, size, size, MREMAP_MAYMOVE | MREMAP_FIXED, p + size); in Testcase() 85 newAddr = mremap(newAddr, size, size, MREMAP_MAYMOVE | MREMAP_FIXED, (char *)newAddr - size); in Testcase()
|
/kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
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_fixed() 203 mremap(source_mapping + (5 * page_size), 5 * page_size, in mremap_dontunmap_partial_mapping() 261 mremap(source_mapping, 5 * page_size, in mremap_dontunmap_partial_mapping_overwrite()
|
D | khugepaged.c | 777 p = mremap(BASE_ADDR - i * page_size, in collapse_compound_extreme() 787 p = mremap(BASE_ADDR + 2 * hpage_pmd_size, in collapse_compound_extreme()
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
D | vdso.c | 311 .mremap = vvar_mremap, 315 .mremap = aarch32_vdso_mremap, 471 .mremap = vvar_mremap, 475 .mremap = vdso_mremap,
|
/kernel/linux/linux-5.10/Documentation/vm/ |
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
|
D | transhuge.rst | 79 Example to make mremap.c transparent hugepage aware with a one liner 82 diff --git a/mm/mremap.c b/mm/mremap.c 83 --- a/mm/mremap.c 84 +++ b/mm/mremap.c
|
/kernel/linux/linux-5.10/tools/testing/selftests/x86/ |
D | test_mremap_vdso.c | 41 new_addr = mremap(vdso_addr, size, size, in try_to_remap()
|
D | sysret_rip.c | 134 ret = mremap((void *)current_test_page_addr, 4096, 4096, in test_syscall_fallthrough_to()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/arch/x86/entry/vdso/ |
D | vma.c | 250 .mremap = vdso_mremap, 255 .mremap = vvar_mremap,
|
/kernel/linux/linux-5.10/mm/ |
D | mremap.c | 379 } else if (vma->vm_ops && vma->vm_ops->mremap) { in move_vma() 380 err = vma->vm_ops->mremap(new_vma); in move_vma() 659 SYSCALL_DEFINE5(mremap, unsigned long, addr, unsigned long, old_len, in SYSCALL_DEFINE5() argument
|
D | Makefile | 39 mlock.o mmap.o mmu_gather.o mprotect.o mremap.o \
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
D | vdso.c | 81 .mremap = vdso_mremap,
|
/kernel/linux/linux-5.10/Documentation/arm64/ |
D | tagged-address-abi.rst | 51 ``mremap()`` as these have the potential to alias with existing 56 ``mmap()`` and ``mremap()`` system calls.
|
/kernel/linux/linux-5.10/arch/arm/kernel/ |
D | vdso.c | 69 .mremap = vdso_mremap,
|
D | process.c | 398 .mremap = sigpage_mremap,
|
/kernel/linux/linux-5.10/kernel/ |
D | sys_ni.c | 259 COND_SYSCALL(mremap);
|
/kernel/linux/linux-5.10/include/linux/ |
D | mm_types.h | 820 int (*mremap)(const struct vm_special_mapping *sm, member
|
/kernel/linux/linux-5.10/Documentation/admin-guide/mm/ |
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
|
D | userfaultfd.rst | 34 management of mremap/mprotect is that the userfaults in all their 244 enable notifications about mremap() calls. When the 269 implicitly (e.g. during mremap()), the area is removed and in turn the
|
/kernel/linux/linux-5.10/arch/sparc/kernel/syscalls/ |
D | syscall.tbl | 301 250 32 mremap sys_mremap 302 250 64 mremap sys_64_mremap
|
/kernel/linux/linux-5.10/arch/mips/kernel/syscalls/ |
D | syscall_n64.tbl | 34 24 n64 mremap sys_mremap
|
D | syscall_n32.tbl | 34 24 n32 mremap sys_mremap
|
/kernel/linux/linux-5.10/arch/ia64/kernel/syscalls/ |
D | syscall.tbl | 144 132 common mremap ia64_mremap
|
/kernel/linux/linux-5.10/arch/xtensa/kernel/syscalls/ |
D | syscall.tbl | 100 88 common mremap sys_mremap
|