/system/core/libion/tests/ |
D | map_test.cpp | 70 ptr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, map_fd, 0); in TEST_F() 92 … ptr = (unsigned char *)mmap(NULL, PAGE_SIZE * 2, PROT_READ | PROT_WRITE, MAP_SHARED, map_fd, 0); in TEST_F() 100 …ptr = (unsigned char *)mmap(NULL, PAGE_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, map_fd, PAGE_SIZE… in TEST_F() 126 ptr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, map_fd, 0); in TEST_F() 152 ptr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, map_fd, 0); in TEST_F()
|
D | exit_test.cpp | 102 ptr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, map_fd, 0); in TEST_F() 125 ptr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, map_fd, 0); in TEST_F() 149 ptr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, map_fd, 0); in TEST_F() 172 ptr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, map_fd, 0); in TEST_F() 196 ptr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, map_fd, 0); in TEST_F() 219 ptr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, map_fd, 0); in TEST_F()
|
D | device_test.cpp | 148 ptr = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_SHARED, map_fd, 0); in TEST_F() 185 ptr = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_SHARED, map_fd, 0); in TEST_F() 216 ptr = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_SHARED, map_fd, 0); in TEST_F() 251 ptr = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_SHARED, map_fd, 0); in TEST_F() 282 ptr = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_SHARED, map_fd, 0); in TEST_F() 319 ptr = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_SHARED, map_fd, 0); in TEST_F() 350 ptr = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_SHARED, map_fd, 0); in TEST_F() 387 ptr = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_SHARED, map_fd, 0); in TEST_F() 419 ptr = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_SHARED, map_fd, 0); in TEST_F() 456 ptr = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_SHARED, map_fd, 0); in TEST_F() [all …]
|
D | allocate_test.cpp | 105 ptr = mmap(NULL, 4096, PROT_WRITE, MAP_SHARED, map_fd, 0); in TEST_F() 125 ptr = mmap(NULL, 4096, PROT_READ, MAP_SHARED, map_fd, 0); in TEST_F()
|
/system/extras/verity/fec/ |
D | image.cpp | 86 if (ctx->mmap) { in image_free() 160 void *p = mmap(NULL, (size_t)ctx->inp_size, flags, MAP_SHARED, fd, 0); in mmap_image_load() 303 if (ctx->mmap) { in image_load() 314 if (ctx->inplace && ctx->mmap) { in image_save() 361 void *p = mmap(NULL, fec_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in mmap_image_ecc_new() 393 if (ctx->mmap) { in image_ecc_new() 465 if (!ctx->mmap && !android::base::ReadFully(fd, ctx->fec, ctx->fec_size)) { in image_ecc_load() 489 if (ctx->mmap) { in image_ecc_save() 509 if (!ctx->mmap) { in image_ecc_save()
|
D | image.h | 42 bool mmap; member
|
/system/extras/perfprofd/quipper/ |
D | perf_utils.cc | 122 offset = sizeof(event.mmap) - sizeof(event.mmap.filename) + in GetPerfSampleDataOffset() 123 GetUint64AlignedStringLength(event.mmap.filename); in GetPerfSampleDataOffset()
|
D | perf_parser.cc | 165 VLOG(1) << "MMAP: " << event.mmap.filename; in ProcessEvents() 168 CHECK(MapMmapEvent(&event.mmap, i)) << "Unable to map MMAP event!"; in ProcessEvents() 173 dso_info.name = event.mmap.filename; in ProcessEvents() 438 dso_info.name = raw_event->mmap.filename; in MapIPAndPidAndGetNameAndOffset()
|
/system/bt/osi/test/ |
D | AlarmTestHarness.cpp | 107 void *lock_file = mmap(nullptr, lock_stat.st_size, PROT_READ, in WakeLockHeld() 110 void *unlock_file = mmap(nullptr, unlock_stat.st_size, PROT_READ, in WakeLockHeld()
|
/system/extras/kexec_tools/ |
D | kexecload.c | 135 … atag_buffer = (char *) mmap(NULL, atag_size, PROT_READ, MAP_POPULATE | MAP_PRIVATE, atag_file, 0); in main() 136 …zimage_buffer = (char *) mmap(NULL, zimage_size, PROT_READ, MAP_POPULATE | MAP_PRIVATE, zimage_fil… in main()
|
/system/extras/tests/memtest/ |
D | memtest.cpp | 139 void* addr1 = mmap(0, size, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in madvise_test() 158 void* addr2 = mmap(0, size, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in madvise_test()
|
/system/extras/simpleperf/ |
D | event_attr.cpp | 83 attr.mmap = 1; in CreateDefaultPerfEventAttr() 132 attr.mmap, attr.comm, attr.freq); in DumpPerfEventAttr()
|
/system/connectivity/apmanager/init/ |
D | apmanager-seccomp-mips.policy | 19 mmap: 1
|
D | apmanager-seccomp-amd64.policy | 46 mmap: 1
|
/system/extras/tests/pagingtest/ |
D | mmap_test.c | 25 buf = mmap(NULL, alloc_size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in mmap_test()
|
D | thrashing_test.c | 43 bufs[i] = mmap(NULL, filesize, PROT_READ, MAP_PRIVATE, fds[i], 0); in thrashing_test()
|
D | pageinout_test.c | 36 buf = mmap(NULL, file_size, PROT_READ, MAP_PRIVATE, fd, 0); in pageinout_test()
|
/system/core/libion/ |
D | ion_test.c | 144 ptr = mmap(NULL, len, prot, map_flags, share_fd, 0); in ion_share_test() 201 ptr = mmap(NULL, len, prot, map_flags, recv_fd, 0); in ion_share_test()
|
/system/sepolicy/tools/sepolicy-analyze/ |
D | utils.c | 42 map = mmap(NULL, sb.st_size, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0); in load_policy()
|
/system/connectivity/shill/shims/ |
D | nfqueue-seccomp-amd64.policy | 18 mmap: 1
|
D | nfqueue-seccomp-mips.policy | 30 mmap: 1
|
/system/extras/memory_replay/ |
D | Pointers.cpp | 35 void* memory = mmap(nullptr, pointers_size_, PROT_READ | PROT_WRITE, in Pointers()
|
/system/tpm/trunks/ |
D | trunksd-seccomp-arm64.policy | 58 mmap: 1
|
D | trunksd-seccomp-x86_64.policy | 63 mmap: 1
|
/system/tpm/attestation/server/ |
D | attestationd-seccomp-amd64.policy | 72 mmap: 1
|