/external/linux-kselftest/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()
|
/external/ltp/testcases/kernel/syscalls/pkeys/ |
D | pkey01.c | 87 {PROT_READ, MAP_ANONYMOUS | MAP_PRIVATE, -1}, 89 {PROT_READ, MAP_ANONYMOUS | MAP_PRIVATE | MAP_HUGETLB, -1}, 91 {PROT_READ, MAP_PRIVATE, 0}, 94 {PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, -1}, 96 {PROT_WRITE, MAP_PRIVATE, 0}, 98 {PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE | MAP_HUGETLB, -1}, 101 {PROT_EXEC, MAP_ANONYMOUS | MAP_PRIVATE, -1}, 103 {PROT_EXEC, MAP_ANONYMOUS | MAP_PRIVATE | MAP_HUGETLB, -1}, 105 {PROT_EXEC, MAP_PRIVATE, 0}, 108 {PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, -1}, [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
D | 5-1.c | 50 {.flags = MAP_PRIVATE,.prot = PROT_NONE}, 51 {.flags = MAP_PRIVATE,.prot = PROT_READ}, 52 {.flags = MAP_PRIVATE,.prot = PROT_WRITE}, 53 {.flags = MAP_PRIVATE,.prot = PROT_EXEC}, 54 {.flags = MAP_PRIVATE,.prot = PROT_READ | PROT_WRITE}, 55 {.flags = MAP_PRIVATE,.prot = PROT_READ | PROT_EXEC}, 56 {.flags = MAP_PRIVATE,.prot = PROT_EXEC | PROT_WRITE}, 57 {.flags = MAP_PRIVATE,.prot = PROT_READ | PROT_WRITE | PROT_EXEC}, 80 case MAP_PRIVATE: in print_error()
|
D | 7-2.c | 63 pa = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0); in main() 80 pa = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0); in main()
|
/external/ltp/testcases/kernel/syscalls/memfd_create/ |
D | memfd_create03.c | 48 mem = SAFE_MMAP(NULL, size, PROT_WRITE, MAP_PRIVATE, fd, 0); in check_huge_mmapable() 54 NULL, size, PROT_WRITE, MAP_PRIVATE, fd, 0); in check_huge_mmapable() 142 new_mem = mmap(NULL, hps, 0, MAP_PRIVATE, new_fd, 0); in test_max_hugepages() 147 NULL, hps, 0, MAP_PRIVATE, new_fd, 0); in test_max_hugepages() 151 NULL, hps, 0, MAP_PRIVATE, new_fd, 0); in test_max_hugepages() 155 NULL, hps, 0, MAP_PRIVATE, new_fd, 0); in test_max_hugepages()
|
/external/ltp/testcases/kernel/syscalls/memmap/ |
D | mem03.c | 92 mm1 = mmap(0, 64, PROT_READ, MAP_PRIVATE, f1, 0); in main() 93 mm2 = mmap(0, 64, PROT_READ, MAP_PRIVATE, f2, 0); in main() 110 mm1 = mmap(save_mm2, 64, PROT_READ, MAP_PRIVATE, f1, 0); in main() 111 mm2 = mmap(save_mm1, 64, PROT_READ, MAP_PRIVATE, f2, 0); in main()
|
/external/igt-gpu-tools/tests/i915/ |
D | gem_ctx_sseu.c | 261 page[0] = mmap(0, 4096, PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0); in test_invalid_args() 269 page[0] = mmap(0, 8192, PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0); in test_invalid_args() 273 PROT_WRITE, MAP_PRIVATE | MAP_ANON | MAP_FIXED, -1, 0); in test_invalid_args() 277 PROT_WRITE, MAP_PRIVATE | MAP_ANON | MAP_FIXED, -1, 0); in test_invalid_args() 287 page[0] = mmap(0, 8192, PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0); in test_invalid_args() 291 PROT_WRITE, MAP_PRIVATE | MAP_ANON | MAP_FIXED, -1, 0); in test_invalid_args() 295 PROT_WRITE, MAP_PRIVATE | MAP_ANON | MAP_FIXED, -1, 0); in test_invalid_args() 336 page[0] = mmap(0, 4096, PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0); in test_invalid_args() 344 page[0] = mmap(0, 8192, PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0); in test_invalid_args() 348 PROT_WRITE, MAP_PRIVATE | MAP_ANON | MAP_FIXED, -1, 0); in test_invalid_args() [all …]
|
/external/elfutils/lib/ |
D | crc32_file.c | 53 void *mapped = mmap (NULL, mapsize, PROT_READ, MAP_PRIVATE, fd, 0); in crc32_file() 59 && (mapped = mmap (NULL, mapsize, PROT_READ, MAP_PRIVATE, in crc32_file() 76 } while (mmap (mapped, mapsize, PROT_READ, MAP_FIXED|MAP_PRIVATE, in crc32_file()
|
/external/strace/tests-m32/ |
D | old_mmap.c | 75 MAP_PRIVATE|MAP_ANONYMOUS, in main() 104 args2_c[1], PROT_READ|PROT_WRITE, MAP_PRIVATE, MAP_ANONYMOUS, in main() 110 args2_c[1], PROT_READ|PROT_WRITE, MAP_PRIVATE, MAP_ANONYMOUS, in main()
|
D | mmap.c | 75 MAP_PRIVATE | MAP_ANONYMOUS, fd, offset); in main() 81 name, addr, length1, PROT_READ | PROT_WRITE, MAP_PRIVATE, in main() 87 name, addr, length1, PROT_READ | PROT_WRITE, MAP_PRIVATE, in main()
|
/external/strace/tests/ |
D | old_mmap.c | 75 MAP_PRIVATE|MAP_ANONYMOUS, in main() 104 args2_c[1], PROT_READ|PROT_WRITE, MAP_PRIVATE, MAP_ANONYMOUS, in main() 110 args2_c[1], PROT_READ|PROT_WRITE, MAP_PRIVATE, MAP_ANONYMOUS, in main()
|
D | mmap.c | 75 MAP_PRIVATE | MAP_ANONYMOUS, fd, offset); in main() 81 name, addr, length1, PROT_READ | PROT_WRITE, MAP_PRIVATE, in main() 87 name, addr, length1, PROT_READ | PROT_WRITE, MAP_PRIVATE, in main()
|
/external/strace/tests-mx32/ |
D | old_mmap.c | 75 MAP_PRIVATE|MAP_ANONYMOUS, in main() 104 args2_c[1], PROT_READ|PROT_WRITE, MAP_PRIVATE, MAP_ANONYMOUS, in main() 110 args2_c[1], PROT_READ|PROT_WRITE, MAP_PRIVATE, MAP_ANONYMOUS, in main()
|
D | mmap.c | 75 MAP_PRIVATE | MAP_ANONYMOUS, fd, offset); in main() 81 name, addr, length1, PROT_READ | PROT_WRITE, MAP_PRIVATE, in main() 87 name, addr, length1, PROT_READ | PROT_WRITE, MAP_PRIVATE, in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/mman_h/ |
D | 3-2-buildonly.c | 18 #ifndef MAP_PRIVATE 19 #error MAP_PRIVATE not defined
|
/external/compiler-rt/test/esan/TestCases/ |
D | mmap-shadow-conflict.c | 10 MAP_ANON|MAP_PRIVATE|MAP_FIXED, -1, 0); in main() 16 MAP_ANON|MAP_PRIVATE, -1, 0); in main()
|
/external/autotest/client/tests/aio_dio_bugs/src/ |
D | aio-free-ring-with-bogus-nr-pages.c | 46 map = mmap(NULL, 100, PROT_READ, MAP_ANONYMOUS|MAP_PRIVATE, in main() 50 map = mmap(NULL, 100, PROT_WRITE, MAP_ANONYMOUS|MAP_PRIVATE, in main()
|
/external/compiler-rt/test/tsan/ |
D | java_heap_init.cc | 12 MAP_ANON | MAP_PRIVATE, -1, 0); in main() 18 MAP_ANON | MAP_PRIVATE, -1, 0); in main()
|
D | ignored-interceptors-mmap.cc | 22 MAP_PRIVATE|MAP_ANON, -1, 0); in mmap_and_ignore_reads_and_writes() 28 MAP_PRIVATE|MAP_ANON, -1, 0); in mmap_and_ignore_reads_and_writes()
|
/external/linux-kselftest/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()
|
/external/ltp/testcases/kernel/syscalls/mlock/ |
D | mlock02.c | 120 MAP_PRIVATE | MAP_ANONYMOUS, 0, 0); in test_enomem1() 144 MAP_PRIVATE | MAP_ANONYMOUS, 0, 0); in test_enomem2() 173 MAP_PRIVATE | MAP_ANONYMOUS, 0, 0); in test_eperm()
|
/external/ltp/testcases/kernel/mem/vma/ |
D | vma01.c | 96 t = mmap(p, 3 * ps, PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in check_vma() 107 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in check_vma() 153 t = mmap(NULL, 9 * ps, PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in create_bighole()
|
/external/ltp/testcases/kernel/mem/mmapstress/ |
D | mmapstress05.c | 180 MAP_FILE | MAP_PRIVATE | MAP_FIXED, fd, in main() 187 MAP_FILE | MAP_PRIVATE | MAP_FIXED, fd, in main() 194 MAP_FILE | MAP_PRIVATE | MAP_FIXED, fd, 0) == (caddr_t) - 1) { in main()
|
/external/autotest/client/tests/memory_api/ |
D | mremaps.c | 37 MAP_PRIVATE | MAP_ANONYMOUS, in main() 65 MAP_PRIVATE | MAP_ANONYMOUS, in main()
|