Home
last modified time | relevance | path

Searched refs:MAP_ANONYMOUS (Results 1 – 25 of 138) sorted by relevance

123456

/kernel/linux/linux-5.10/tools/testing/selftests/vm/
Dva_128TBswitch.c50 .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 …]
Dmremap_dontunmap.c50 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()
Dvirtual_address_range.c89 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()
Dmlock2-tests.c198 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()
Dmap_hugetlb.c37 #define FLAGS (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB | MAP_FIXED)
40 #define FLAGS (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB)
Dhmm-tests.c244 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 …]
Dtranshuge-stress.c36 MAP_FIXED | MAP_ANONYMOUS | in allocate_transhuge()
90 MAP_ANONYMOUS | MAP_NORESERVE | MAP_PRIVATE, -1, 0); in main()
Dmap_fixed_noreplace.c33 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/
Dmmap_test_002.cpp86 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/
Dlos_vm_syscall.h51 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/
Dhugetlb_vs_thp_test.c19 MAP_HUGETLB | MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in test_body()
35 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in test_body()
Dprot_sao.c36 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in test_prot_sao()
/kernel/linux/linux-5.10/drivers/misc/lkdtm/
Dusercopy.c82 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()
Dperms.c163 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/
DIt_container_chroot_002.cpp59 MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0); in TestFunc()
105 MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0); in ItContainerChroot002()
DIt_ipc_container_005.cpp98 …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()
DIt_ipc_container_006.cpp82 …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/
Dtm-signal-context-force-tm.c62 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/
Dmincore_selftest.c52 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/
Dfsgsbase_restore.c54 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/
Dsas.c116 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/
Dmman.h11 #define MAP_RENAME MAP_ANONYMOUS /* In SunOS terminology */
/kernel/linux/linux-5.10/arch/powerpc/include/uapi/asm/
Dmman.h16 #define MAP_RENAME MAP_ANONYMOUS /* In SunOS terminology */
/kernel/linux/linux-5.10/tools/testing/selftests/ptrace/
Dpeeksiginfo.c55 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/
Dmman.h20 #define MAP_ANONYMOUS 0x0800 macro

123456