/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
D | 5-1.c | 51 {.flags = MAP_PRIVATE,.prot = PROT_NONE}, 52 {.flags = MAP_PRIVATE,.prot = PROT_READ}, 53 {.flags = MAP_PRIVATE,.prot = PROT_WRITE}, 54 {.flags = MAP_PRIVATE,.prot = PROT_EXEC}, 55 {.flags = MAP_PRIVATE,.prot = PROT_READ | PROT_WRITE}, 56 {.flags = MAP_PRIVATE,.prot = PROT_READ | PROT_EXEC}, 57 {.flags = MAP_PRIVATE,.prot = PROT_EXEC | PROT_WRITE}, 58 {.flags = MAP_PRIVATE,.prot = PROT_READ | PROT_WRITE | PROT_EXEC}, 81 case MAP_PRIVATE: in print_error()
|
/external/valgrind/memcheck/tests/ |
D | pointer-trace.c | 54 map = mmap(0, stepsize * 2, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANONYMOUS, -1, 0); in main() 59 map = mmap(0, stepsize * 2, PROT_WRITE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANONYMOUS, -1, 0); in main() 66 map = mmap(0, stepsize * 2, PROT_WRITE|PROT_READ, MAP_PRIVATE, fd, 0); in main() 72 map = mmap(0, 256*1024, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANONYMOUS, -1, 0); in main()
|
D | mempool.c | 38 MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in make_pool() 41 MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in make_pool() 60 MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in push()
|
/external/valgrind/none/tests/amd64/ |
D | nibz_bennee_mmap.c | 36 MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0)) == (void *)-1) in main() 47 MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)) == (void *)-1) in main() 53 MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)) == (void *)-1) in main()
|
/external/valgrind/memcheck/tests/x86-linux/ |
D | bug133694.c | 9 …if ((a1 = mmap((void *)0x200000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, … in main() 21 …if (mmap((void *)0x100000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0)… in main() 27 …if (mmap((void *)0x100000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) == MAP_FA… in main()
|
/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/v8/src/base/platform/ |
D | platform-solaris.cc | 59 void* mbase = mmap(NULL, msize, prot, MAP_PRIVATE | MAP_ANON, -1, 0); in Allocate() 96 MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE, in VirtualMemory() 168 MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE, in ReserveRegion() 183 MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, in CommitRegion() 196 MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE | MAP_FIXED, in UncommitRegion()
|
D | platform-openbsd.cc | 63 void* mbase = mmap(addr, msize, prot, MAP_PRIVATE | MAP_ANON, -1, 0); in Allocate() 146 void* addr = mmap(NULL, size, PROT_READ | PROT_EXEC, MAP_PRIVATE, in SignalCodeMovingGC() 175 MAP_PRIVATE | MAP_ANON | MAP_NORESERVE, in VirtualMemory() 247 MAP_PRIVATE | MAP_ANON | MAP_NORESERVE, in ReserveRegion() 262 MAP_PRIVATE | MAP_ANON | MAP_FIXED, in CommitRegion() 275 MAP_PRIVATE | MAP_ANON | MAP_NORESERVE | MAP_FIXED, in UncommitRegion()
|
D | platform-macos.cc | 62 MAP_PRIVATE | MAP_ANON, in Allocate() 137 MAP_PRIVATE | MAP_ANON | MAP_NORESERVE, in VirtualMemory() 209 MAP_PRIVATE | MAP_ANON | MAP_NORESERVE, in ReserveRegion() 226 MAP_PRIVATE | MAP_ANON | MAP_FIXED, in CommitRegion() 239 MAP_PRIVATE | MAP_ANON | MAP_NORESERVE | MAP_FIXED, in UncommitRegion()
|
D | platform-linux.cc | 122 void* mbase = mmap(addr, msize, prot, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in Allocate() 208 MAP_PRIVATE, fileno(f), 0); in SignalCodeMovingGC() 235 MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE, in VirtualMemory() 313 MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE, in ReserveRegion() 331 MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, in CommitRegion() 345 MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE | MAP_FIXED, in UncommitRegion()
|
D | platform-freebsd.cc | 64 void* mbase = mmap(NULL, msize, prot, MAP_PRIVATE | MAP_ANON, -1, 0); in Allocate() 144 MAP_PRIVATE | MAP_ANON, in VirtualMemory() 216 MAP_PRIVATE | MAP_ANON, in ReserveRegion() 231 MAP_PRIVATE | MAP_ANON | MAP_FIXED, in CommitRegion() 244 MAP_PRIVATE | MAP_ANON | MAP_FIXED, in UncommitRegion()
|
D | platform-qnx.cc | 114 void* mbase = mmap(addr, msize, prot, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in Allocate() 201 MAP_PRIVATE | MAP_ANONYMOUS | MAP_LAZY, in VirtualMemory() 273 MAP_PRIVATE | MAP_ANONYMOUS | MAP_LAZY, in ReserveRegion() 288 MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, in CommitRegion() 302 MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED | MAP_LAZY, in UncommitRegion()
|
/external/elfutils/lib/ |
D | crc32_file.c | 52 void *mapped = mmap (NULL, mapsize, PROT_READ, MAP_PRIVATE, fd, 0); in crc32_file() 58 && (mapped = mmap (NULL, mapsize, PROT_READ, MAP_PRIVATE, in crc32_file() 75 } while (mmap (mapped, mapsize, PROT_READ, MAP_FIXED|MAP_PRIVATE, in crc32_file()
|
/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/libchrome/sandbox/linux/seccomp-bpf/ |
D | syscall_unittest.cc | 185 MAP_PRIVATE | MAP_ANONYMOUS, in TEST() 197 MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, in TEST() 214 kMMapNr, (void*)NULL, 8192L, PROT_READ, MAP_PRIVATE, fd, 0L))); in TEST() 220 MAP_PRIVATE, in TEST()
|
/external/valgrind/none/tests/ |
D | map_unaligned.c | 10 if ( ( p1 = mmap( 0, 4096, PROT_READ, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0 ) ) == MAP_FAILED ) in main() 25 …if ( ( p2 = mmap( p1 + 1, 4096, PROT_READ, MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, -1, 0 ) ) == M… 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/valgrind/none/tests/amd64-linux/ |
D | map_32bits.c | 15 PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_32BIT, in main() 34 PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 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()
|
/external/valgrind/none/tests/linux/ |
D | mremap3.c | 12 MAP_ANONYMOUS|MAP_PRIVATE,0,0); in main() 22 MAP_ANONYMOUS|MAP_PRIVATE,0,0); in main()
|
/external/linux-kselftest/tools/testing/selftests/powerpc/mm/ |
D | hugetlb_vs_thp_test.c | 18 MAP_HUGETLB | MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in test_body() 34 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 | 95 t = mmap(p, 3 * ps, PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in check_vma() 106 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()
|