Home
last modified time | relevance | path

Searched refs:MAP_PRIVATE (Results 1 – 25 of 183) sorted by relevance

12345678

/external/valgrind/memcheck/tests/
Dpointer-trace.c54 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()
Dmempool.c38 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()
Dmempool2.c41 MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in make_pool()
44 MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in make_pool()
63 MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in push()
Ddw4.c66 MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 ); in main()
80 q = mmap(NULL, 100, PROT_READ|PROT_WRITE, MAP_PRIVATE, fd, 0); in main()
/external/valgrind/none/tests/amd64/
Dnibz_bennee_mmap.c36 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/
Dbug133694.c9 …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/v8/src/base/platform/
Dplatform-solaris.cc58 void* mbase = mmap(NULL, msize, prot, MAP_PRIVATE | MAP_ANON, -1, 0); in Allocate()
95 MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE, in VirtualMemory()
167 MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE, in ReserveRegion()
182 MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, in CommitRegion()
195 MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE | MAP_FIXED, in UncommitRegion()
Dplatform-openbsd.cc61 void* mbase = mmap(addr, msize, prot, MAP_PRIVATE | MAP_ANON, -1, 0); in Allocate()
144 void* addr = mmap(NULL, size, PROT_READ | PROT_EXEC, MAP_PRIVATE, in SignalCodeMovingGC()
173 MAP_PRIVATE | MAP_ANON | MAP_NORESERVE, in VirtualMemory()
245 MAP_PRIVATE | MAP_ANON | MAP_NORESERVE, in ReserveRegion()
260 MAP_PRIVATE | MAP_ANON | MAP_FIXED, in CommitRegion()
273 MAP_PRIVATE | MAP_ANON | MAP_NORESERVE | MAP_FIXED, in UncommitRegion()
Dplatform-macos.cc62 MAP_PRIVATE | MAP_ANON, in Allocate()
135 MAP_PRIVATE | MAP_ANON | MAP_NORESERVE, in VirtualMemory()
207 MAP_PRIVATE | MAP_ANON | MAP_NORESERVE, in ReserveRegion()
224 MAP_PRIVATE | MAP_ANON | MAP_FIXED, in CommitRegion()
237 MAP_PRIVATE | MAP_ANON | MAP_NORESERVE | MAP_FIXED, in UncommitRegion()
Dplatform-freebsd.cc62 void* mbase = mmap(NULL, msize, prot, MAP_PRIVATE | MAP_ANON, -1, 0); in Allocate()
142 MAP_PRIVATE | MAP_ANON, in VirtualMemory()
214 MAP_PRIVATE | MAP_ANON, in ReserveRegion()
229 MAP_PRIVATE | MAP_ANON | MAP_FIXED, in CommitRegion()
242 MAP_PRIVATE | MAP_ANON | MAP_FIXED, in UncommitRegion()
Dplatform-linux.cc138 void* mbase = mmap(addr, msize, prot, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in Allocate()
230 MAP_PRIVATE, fileno(f), 0); in SignalCodeMovingGC()
257 MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE, in VirtualMemory()
335 MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE, in ReserveRegion()
359 MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, in CommitRegion()
373 MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE | MAP_FIXED, in UncommitRegion()
Dplatform-qnx.cc112 void* mbase = mmap(addr, msize, prot, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in Allocate()
199 MAP_PRIVATE | MAP_ANONYMOUS | MAP_LAZY, in VirtualMemory()
271 MAP_PRIVATE | MAP_ANONYMOUS | MAP_LAZY, in ReserveRegion()
286 MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, in CommitRegion()
300 MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED | MAP_LAZY, in UncommitRegion()
/external/elfutils/lib/
Dcrc32_file.c52 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/libchrome/sandbox/linux/seccomp-bpf/
Dsyscall_unittest.cc185 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/
Dmap_unaligned.c10 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/
Daio-free-ring-with-bogus-nr-pages.c46 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/
Dmap_32bits.c15 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/
Djava_heap_init.cc12 MAP_ANON | MAP_PRIVATE, -1, 0); in main()
18 MAP_ANON | MAP_PRIVATE, -1, 0); in main()
/external/valgrind/none/tests/linux/
Dmremap3.c12 MAP_ANONYMOUS|MAP_PRIVATE,0,0); in main()
22 MAP_ANONYMOUS|MAP_PRIVATE,0,0); in main()
/external/autotest/client/tests/memory_api/
Dmremaps.c37 MAP_PRIVATE | MAP_ANONYMOUS, in main()
65 MAP_PRIVATE | MAP_ANONYMOUS, in main()
/external/valgrind/helgrind/tests/
Dstackteardown.c97 stack = mmap(NULL, sz, PROT_READ|PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, in main()
100 stack = mmap(NULL, sz, PROT_READ|PROT_WRITE, MAP_PRIVATE | MAP_ANON, in main()
/external/google-breakpad/src/common/linux/
Dmemory_mapped_file.cc92 void* data = sys_mmap(NULL, file_len, PROT_READ, MAP_PRIVATE, fd, offset); in Map()
100 NULL, file_len, PROT_READ, MAP_PRIVATE, fd, offset >> 12); in Map()
/external/libunwind/src/coredump/
D_UCD_elf_map_image.c41 … ei->image = mmap(NULL, phdr->p_memsz, PROT_READ, MAP_PRIVATE, ui->coredump_fd, phdr->p_offset); in CD_elf_map_image()
63 ei->image = mmap(NULL, phdr->backing_filesize, PROT_READ, MAP_PRIVATE, phdr->backing_fd, 0); in CD_elf_map_image()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_posix.cc119 MAP_PRIVATE | MAP_ANON, -1, 0); in MmapOrDie()
143 MAP_PRIVATE | MAP_ANON | MAP_NORESERVE, in MmapNoReserveOrDie()
157 MAP_PRIVATE | MAP_ANON | MAP_FIXED, in MmapFixedOrDie()
223 uptr map = internal_mmap(nullptr, *buff_size, PROT_READ, MAP_PRIVATE, fd, 0); in MapFileToMemory()
/external/strace/xlat/
Dmmap_flags.h18 #if defined(MAP_PRIVATE) || (defined(HAVE_DECL_MAP_PRIVATE) && HAVE_DECL_MAP_PRIVATE)
19 XLAT(MAP_PRIVATE),

12345678