/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 | 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 | 38 #define FLAGS (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB | MAP_FIXED) 41 #define FLAGS (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB)
|
D | on-fault-limit.c | 30 MAP_PRIVATE | MAP_ANONYMOUS | MAP_POPULATE, -1, 0); in test_limit()
|
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()
|
/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 | 30 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in test_prot_sao()
|
D | segv_errors.c | 43 p = mmap(NULL, getpagesize(), 0, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in test_segv_errors()
|
D | large_vm_fork_separation.c | 35 MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED_NOREPLACE, -1, 0); in test()
|
/tools/testing/selftests/powerpc/tm/ |
D | tm-signal-context-force-tm.c | 61 MAP_PRIVATE | MAP_ANONYMOUS, 0, 0); in usr_signal_handler() 131 MAP_PRIVATE | MAP_ANONYMOUS, 0, 0); in tm_trap_test()
|
/tools/arch/mips/include/uapi/asm/ |
D | mman.h | 20 #define MAP_ANONYMOUS 0x0800 macro
|
/tools/arch/alpha/include/uapi/asm/ |
D | mman.h | 19 #define MAP_ANONYMOUS 0x10 macro
|
/tools/arch/parisc/include/uapi/asm/ |
D | mman.h | 19 #define MAP_ANONYMOUS 0x10 macro
|
/tools/arch/xtensa/include/uapi/asm/ |
D | mman.h | 19 #define MAP_ANONYMOUS 0x0800 macro
|
/tools/testing/selftests/x86/ |
D | sysret_ss_attrs.c | 67 MAP_32BIT | MAP_ANONYMOUS | MAP_PRIVATE, in main()
|
D | test_mremap_vdso.c | 30 dest_addr = mmap(0, size, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in try_to_remap()
|
/tools/include/uapi/asm-generic/ |
D | mman-common.h | 21 #define MAP_ANONYMOUS 0x20 /* don't use a file */ macro
|
/tools/testing/selftests/proc/ |
D | thread-self.c | 56 stack = mmap(NULL, 2 * PAGE_SIZE, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in main()
|
/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()
|
/tools/testing/selftests/powerpc/benchmarks/ |
D | mmap_bench.c | 43 MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in test_mmap()
|
/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()
|
/tools/testing/selftests/futex/functional/ |
D | futex_wait_uninitialized_heap.c | 92 MAP_PRIVATE|MAP_ANONYMOUS, 0, 0); in main()
|
/tools/testing/selftests/powerpc/primitives/ |
D | load_unaligned_zeropad.c | 127 MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in test_body()
|