/Linux-v6.1/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() 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()
|
D | madv_populate.c | 44 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()
|
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 | ksm_tests.c | 467 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()
|
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 | 311 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 …]
|
D | migration.c | 123 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); 149 MAP_SHARED | MAP_ANONYMOUS, -1, 0); 178 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
|
D | hugepage-vmemmap.c | 40 #define MAP_FLAGS (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB | MAP_FIXED) 43 #define MAP_FLAGS (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB)
|
D | hugepage-mremap.c | 30 #define FLAGS (MAP_SHARED | MAP_ANONYMOUS) 86 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in register_region_with_uffd()
|
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()
|
D | hugetlb-madvise.c | 142 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/ |
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()
|
/Linux-v6.1/drivers/misc/lkdtm/ |
D | usercopy.c | 83 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()
|
D | perms.c | 206 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/ |
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()
|
/Linux-v6.1/tools/testing/selftests/mincore/ |
D | mincore_selftest.c | 51 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/ |
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()
|
/Linux-v6.1/tools/testing/selftests/sigaltstack/ |
D | sas.c | 131 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/ |
D | mman.h | 11 #define MAP_RENAME MAP_ANONYMOUS /* In SunOS terminology */
|
/Linux-v6.1/arch/powerpc/include/uapi/asm/ |
D | mman.h | 16 #define MAP_RENAME MAP_ANONYMOUS /* In SunOS terminology */
|
/Linux-v6.1/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()
|
/Linux-v6.1/tools/arch/parisc/include/uapi/asm/ |
D | mman.h | 19 #define MAP_ANONYMOUS 0x10 macro
|