/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 | map_hugetlb.c | 37 #define FLAGS (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB | MAP_FIXED) 40 #define FLAGS (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB)
|
D | gup_benchmark.c | 36 int cmd = GUP_FAST_BENCHMARK, flags = MAP_PRIVATE; in main() 70 flags &= ~MAP_PRIVATE; in main()
|
D | on-fault-limit.c | 30 MAP_PRIVATE | MAP_ANONYMOUS | MAP_POPULATE, -1, 0); in test_limit()
|
D | mlock2-tests.c | 299 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in test_mlock_lock() 408 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in test_mlock_onfault() 451 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in test_lock_onfault_of_present() 498 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in test_munlockall() 524 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in test_munlockall() 579 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in test_vma_management()
|
D | transhuge-stress.c | 37 MAP_NORESERVE | MAP_PRIVATE, -1, 0) != ptr) in allocate_transhuge() 90 MAP_ANONYMOUS | MAP_NORESERVE | MAP_PRIVATE, -1, 0); 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/include/uapi/asm-generic/ |
D | mman-common-tools.h | 20 #define MAP_PRIVATE 0x02 /* Changes are private */ macro
|
/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()
|
D | tm-vmxcopy.c | 60 a = mmap(NULL, size, PROT_READ|PROT_WRITE, MAP_PRIVATE, fd, 0); in test_vmxcopy()
|
/tools/include/uapi/linux/ |
D | mman.h | 16 #define MAP_PRIVATE 0x02 /* Changes are private */ 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/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()
|
D | proc-self-map-files-001.c | 58 p = mmap(NULL, PAGE_SIZE, PROT_NONE, MAP_PRIVATE|MAP_FILE, fd, 0); in main()
|
D | proc-self-map-files-002.c | 65 p = mmap((void *)va, PAGE_SIZE, PROT_NONE, MAP_PRIVATE|MAP_FILE|MAP_FIXED, fd, 0); in main()
|
/tools/testing/selftests/sigaltstack/ |
D | sas.c | 121 MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0); in main() 165 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/power/acpi/os_specific/service_layers/ |
D | osunixmap.c | 26 #define MMAP_FLAGS MAP_PRIVATE
|
/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()
|