Home
last modified time | relevance | path

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

12345

/Linux-v6.1/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()
192 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in mremap_dontunmap_simple_fixed()
198 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in mremap_dontunmap_simple_fixed()
248 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in mremap_dontunmap_partial_mapping()
300 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in mremap_dontunmap_partial_mapping_overwrite()
306 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in mremap_dontunmap_partial_mapping_overwrite()
350 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in main()
Dmadv_populate.c44 MAP_ANONYMOUS | MAP_PRIVATE, 0, 0); in sense_support()
66 addr = mmap(0, SIZE, PROT_READ, MAP_ANONYMOUS | MAP_PRIVATE, 0, 0); in test_prot_read()
87 addr = mmap(0, SIZE, PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, 0, 0); in test_prot_write()
109 MAP_ANONYMOUS | MAP_PRIVATE, 0, 0); in test_holes()
179 MAP_ANONYMOUS | MAP_PRIVATE, 0, 0); in test_populate_read()
201 MAP_ANONYMOUS | MAP_PRIVATE, 0, 0); in test_populate_write()
251 MAP_ANONYMOUS | MAP_PRIVATE, 0, 0); in test_softdirty()
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()
Dksm_tests.c467 MAP_ANONYMOUS | MAP_NORESERVE | MAP_PRIVATE, -1, 0); in ksm_merge_hugepages_time()
734 ret = check_ksm_merge(MAP_PRIVATE | MAP_ANONYMOUS, prot, page_count, in main()
738 ret = check_ksm_unmerge(MAP_PRIVATE | MAP_ANONYMOUS, prot, ksm_scan_limit_sec, in main()
742 ret = check_ksm_zero_page_merge(MAP_PRIVATE | MAP_ANONYMOUS, prot, page_count, in main()
746 ret = check_ksm_numa_merge(MAP_PRIVATE | MAP_ANONYMOUS, prot, ksm_scan_limit_sec, in main()
754 ret = ksm_merge_time(MAP_PRIVATE | MAP_ANONYMOUS, prot, ksm_scan_limit_sec, in main()
762 ret = ksm_merge_hugepages_time(MAP_PRIVATE | MAP_ANONYMOUS, prot, in main()
766 ret = ksm_cow_time(MAP_PRIVATE | MAP_ANONYMOUS, prot, ksm_scan_limit_sec, in main()
Dmap_hugetlb.c37 #define FLAGS (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB | MAP_FIXED)
40 #define FLAGS (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB)
Dhmm-tests.c311 MAP_PRIVATE | MAP_ANONYMOUS, in TEST_F()
374 MAP_PRIVATE | MAP_ANONYMOUS, in TEST_F()
433 MAP_PRIVATE | MAP_ANONYMOUS, in TEST_F()
481 MAP_PRIVATE | MAP_ANONYMOUS, in TEST_F()
549 MAP_PRIVATE | MAP_ANONYMOUS, in TEST_F()
627 MAP_SHARED | MAP_ANONYMOUS, in TEST_F()
702 MAP_PRIVATE | MAP_ANONYMOUS, in TEST_F()
806 MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB, in TEST_F()
976 MAP_PRIVATE | MAP_ANONYMOUS, in TEST_F()
1024 MAP_PRIVATE | MAP_ANONYMOUS, in TEST_F()
[all …]
Dmigration.c123 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
149 MAP_SHARED | MAP_ANONYMOUS, -1, 0);
178 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
Dhugepage-vmemmap.c40 #define MAP_FLAGS (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB | MAP_FIXED)
43 #define MAP_FLAGS (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB)
Dhugepage-mremap.c30 #define FLAGS (MAP_SHARED | MAP_ANONYMOUS)
86 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in register_region_with_uffd()
Dmap_fixed_noreplace.c33 flags = MAP_PRIVATE | MAP_ANONYMOUS; in find_base_addr()
63 flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED_NOREPLACE; in main()
Dhugetlb-madvise.c142 MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB, in main()
184 MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB, in main()
221 MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB, in main()
/Linux-v6.1/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()
/Linux-v6.1/drivers/misc/lkdtm/
Dusercopy.c83 MAP_ANONYMOUS | MAP_PRIVATE, 0); in do_usercopy_stack()
151 MAP_ANONYMOUS | MAP_PRIVATE, 0); in do_usercopy_slab_size()
227 MAP_ANONYMOUS | MAP_PRIVATE, 0); in do_usercopy_slab_whitelist()
317 MAP_ANONYMOUS | MAP_PRIVATE, 0); in lkdtm_USERCOPY_KERNEL()
356 MAP_ANONYMOUS | MAP_PRIVATE, 0); in do_usercopy_page_span()
Dperms.c206 MAP_ANONYMOUS | MAP_PRIVATE, 0); in lkdtm_EXEC_USERSPACE()
227 MAP_ANONYMOUS | MAP_PRIVATE, 0); in lkdtm_ACCESS_USERSPACE()
/Linux-v6.1/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()
/Linux-v6.1/tools/testing/selftests/mincore/
Dmincore_selftest.c51 MAP_SHARED | MAP_ANONYMOUS, -1, 0); in TEST()
95 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST()
150 MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB, in TEST()
/Linux-v6.1/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()
/Linux-v6.1/tools/testing/selftests/sigaltstack/
Dsas.c131 MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0); in main()
175 MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0); in main()
/Linux-v6.1/arch/sparc/include/uapi/asm/
Dmman.h11 #define MAP_RENAME MAP_ANONYMOUS /* In SunOS terminology */
/Linux-v6.1/arch/powerpc/include/uapi/asm/
Dmman.h16 #define MAP_RENAME MAP_ANONYMOUS /* In SunOS terminology */
/Linux-v6.1/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()
/Linux-v6.1/tools/arch/parisc/include/uapi/asm/
Dmman.h19 #define MAP_ANONYMOUS 0x10 macro

12345