/kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
D | va_128TBswitch.c | 50 .flags = MAP_PRIVATE | MAP_ANONYMOUS, 62 .flags = MAP_PRIVATE | MAP_ANONYMOUS, 73 .flags = MAP_PRIVATE | MAP_ANONYMOUS, 80 .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, 86 .flags = MAP_PRIVATE | MAP_ANONYMOUS, 93 .flags = MAP_PRIVATE | MAP_ANONYMOUS, 100 .flags = MAP_PRIVATE | MAP_ANONYMOUS, 107 .flags = MAP_PRIVATE | MAP_ANONYMOUS, 114 .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, 120 .flags = MAP_PRIVATE | MAP_ANONYMOUS, [all …]
|
D | mremap_dontunmap.c | 50 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in kernel_support_for_mremap_dontunmap() 104 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in mremap_dontunmap_simple() 141 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in mremap_dontunmap_simple_fixed() 147 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in mremap_dontunmap_simple_fixed() 197 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in mremap_dontunmap_partial_mapping() 249 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in mremap_dontunmap_partial_mapping_overwrite() 255 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in mremap_dontunmap_partial_mapping_overwrite() 299 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in main()
|
D | virtual_address_range.c | 89 PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in validate_lower_address_hint() 106 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in main() 122 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in main()
|
D | mlock2-tests.c | 198 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in test_mlock_lock() 261 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in test_mlock_onfault() 303 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in test_lock_onfault_of_present() 339 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in test_munlockall() 365 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in test_munlockall() 420 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in test_vma_management()
|
D | map_hugetlb.c | 37 #define FLAGS (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB | MAP_FIXED) 40 #define FLAGS (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB)
|
D | hmm-tests.c | 244 MAP_PRIVATE | MAP_ANONYMOUS, in TEST_F() 307 MAP_PRIVATE | MAP_ANONYMOUS, in TEST_F() 366 MAP_PRIVATE | MAP_ANONYMOUS, in TEST_F() 414 MAP_PRIVATE | MAP_ANONYMOUS, in TEST_F() 482 MAP_PRIVATE | MAP_ANONYMOUS, in TEST_F() 560 MAP_SHARED | MAP_ANONYMOUS, in TEST_F() 635 MAP_PRIVATE | MAP_ANONYMOUS, in TEST_F() 863 MAP_PRIVATE | MAP_ANONYMOUS, in TEST_F() 911 MAP_PRIVATE | MAP_ANONYMOUS, in TEST_F() 968 MAP_SHARED | MAP_ANONYMOUS, in TEST_F() [all …]
|
D | transhuge-stress.c | 36 MAP_FIXED | MAP_ANONYMOUS | in allocate_transhuge() 90 MAP_ANONYMOUS | MAP_NORESERVE | MAP_PRIVATE, -1, 0); in main()
|
D | map_fixed_noreplace.c | 33 flags = MAP_PRIVATE | MAP_ANONYMOUS; in find_base_addr() 63 flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED_NOREPLACE; in main()
|
/kernel/liteos_a/testsuites/unittest/basic/mem/vm/smoke/ |
D | mmap_test_002.cpp | 86 ret = CheckedMmap(PROT_READ | PROT_WRITE, MAP_ANONYMOUS, -1); in Testcase() 98 ret = CheckedMmap(PROT_READ | PROT_WRITE | 0x100000, MAP_ANONYMOUS, -1); in Testcase() 106 ret = CheckedMmap(PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_RESERVED0080, -1); in Testcase() 110 ret = CheckedMmap(PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE | MAP_SHARED, -1); in Testcase() 122 ret = CheckedMmap(PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_SHARED, -1); in Testcase() 125 ret = CheckedMmap(PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, -1); in Testcase() 128 ret = CheckedMmap(PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, 0); in Testcase()
|
/kernel/liteos_a/kernel/base/include/ |
D | los_vm_syscall.h | 51 return ((flags & MAP_ANONYMOUS) == 0); in LOS_IsNamedMapping() 56 return ((flags & MAP_ANONYMOUS) == MAP_ANONYMOUS); in LOS_IsAnonymousMapping()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/mm/ |
D | hugetlb_vs_thp_test.c | 19 MAP_HUGETLB | MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in test_body() 35 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in test_body()
|
D | prot_sao.c | 36 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in test_prot_sao()
|
/kernel/linux/linux-5.10/drivers/misc/lkdtm/ |
D | usercopy.c | 82 MAP_ANONYMOUS | MAP_PRIVATE, 0); in do_usercopy_stack() 150 MAP_ANONYMOUS | MAP_PRIVATE, 0); in do_usercopy_heap_size() 224 MAP_ANONYMOUS | MAP_PRIVATE, 0); in do_usercopy_heap_whitelist() 312 MAP_ANONYMOUS | MAP_PRIVATE, 0); in lkdtm_USERCOPY_KERNEL()
|
D | perms.c | 163 MAP_ANONYMOUS | MAP_PRIVATE, 0); in lkdtm_EXEC_USERSPACE() 184 MAP_ANONYMOUS | MAP_PRIVATE, 0); in lkdtm_ACCESS_USERSPACE()
|
/kernel/liteos_a/testsuites/unittest/container/smoke/ |
D | It_container_chroot_002.cpp | 59 MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0); in TestFunc() 105 MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0); in ItContainerChroot002()
|
D | It_ipc_container_005.cpp | 98 …k = (char *)mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, in testChild() 169 …k = (char *)mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, in ItIpcContainer005()
|
D | It_ipc_container_006.cpp | 82 …k = (char *)mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, in childFunc() 167 …k = (char *)mmap(NULL, STACK_SIZE, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, in ItIpcContainer006()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/tm/ |
D | tm-signal-context-force-tm.c | 62 MAP_PRIVATE | MAP_ANONYMOUS, 0, 0); in usr_signal_handler() 128 MAP_PRIVATE | MAP_ANONYMOUS, 0, 0); in tm_trap_test()
|
/kernel/linux/linux-5.10/tools/testing/selftests/mincore/ |
D | mincore_selftest.c | 52 MAP_SHARED | MAP_ANONYMOUS, -1, 0); in TEST() 96 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST() 151 MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB, in TEST()
|
/kernel/linux/linux-5.10/tools/testing/selftests/x86/ |
D | fsgsbase_restore.c | 54 MAP_PRIVATE | MAP_ANONYMOUS | MAP_32BIT, -1, 0); in init_seg() 82 MAP_PRIVATE | MAP_ANONYMOUS | MAP_32BIT, -1, 0); in init_seg()
|
/kernel/linux/linux-5.10/tools/testing/selftests/sigaltstack/ |
D | sas.c | 116 MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0); in main() 160 MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0); in main()
|
/kernel/linux/linux-5.10/arch/sparc/include/uapi/asm/ |
D | mman.h | 11 #define MAP_RENAME MAP_ANONYMOUS /* In SunOS terminology */
|
/kernel/linux/linux-5.10/arch/powerpc/include/uapi/asm/ |
D | mman.h | 16 #define MAP_RENAME MAP_ANONYMOUS /* In SunOS terminology */
|
/kernel/linux/linux-5.10/tools/testing/selftests/ptrace/ |
D | peeksiginfo.c | 55 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in check_error_paths() 62 MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, -1, 0); in check_error_paths()
|
/kernel/linux/linux-5.10/tools/arch/mips/include/uapi/asm/ |
D | mman.h | 20 #define MAP_ANONYMOUS 0x0800 macro
|