/bionic/libc/bionic/ |
D | mmap.cpp | 58 (flags & (MAP_PRIVATE | MAP_ANONYMOUS)) == (MAP_PRIVATE | MAP_ANONYMOUS); in mmap64()
|
D | pthread_create.cpp | 76 MAP_PRIVATE | MAP_ANONYMOUS, in __allocate_temp_bionic_tls() 91 …ck_base = mmap(nullptr, SIGNAL_STACK_SIZE, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in __init_alternate_signal_stack() 217 const int flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE; in __allocate_thread_mapping()
|
D | bionic_allocator.cpp | 196 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in alloc_page() 276 void* map_ptr = mmap(nullptr, allocated_size, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, in alloc_mmap()
|
D | atexit.cpp | 193 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in expand_capacity()
|
D | fdsan.cpp | 87 mmap(nullptr, aligned_size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in at()
|
/bionic/tests/ |
D | sys_mman_test.cpp | 202 void* map = mmap(nullptr, pagesize, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST() 227 ASSERT_EQ(MAP_FAILED, mmap(nullptr, kHuge, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0)); in TEST() 231 void* map = mmap(nullptr, PAGE_SIZE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST() 241 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0)); in TEST() 247 void* map = mmap(nullptr, PAGE_SIZE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST() 260 void* map = mmap(nullptr, PAGE_SIZE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST()
|
D | sys_prctl_test.cpp | 38 void* p = mmap(NULL, page_size * 3, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST()
|
D | dlext_test.cpp | 324 void* start = mmap(nullptr, kLibSize, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F() 343 void* new_start = mmap(start, PAGE_SIZE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F() 348 void* start = mmap(nullptr, PAGE_SIZE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F() 359 void* start = mmap(nullptr, kLibSize, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F() 392 void* start = mmap(nullptr, PAGE_SIZE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F() 403 void* start = mmap(nullptr, kLibSize, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F() 420 void* start = mmap(nullptr, PAGE_SIZE, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST_F() 440 void* start = mmap(nullptr, kLibSize, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in SetUp()
|
D | pthread_test.cpp | 167 void* stack = mmap(nullptr, stack_size, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in TEST() 1847 …oid* sig_stack = mmap(nullptr, sig_stack_size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, in TEST()
|
/bionic/libc/kernel/uapi/asm-generic/ |
D | mman-common.h | 30 #define MAP_ANONYMOUS 0x20 macro
|
/bionic/libc/include/sys/ |
D | mman.h | 40 #define MAP_ANON MAP_ANONYMOUS
|
/bionic/linker/ |
D | linker_cfi.cpp | 57 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0)); in ShadowWrite() 157 mmap(nullptr, kShadowSize, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE, -1, 0); in MapShadow()
|
D | linker_block_allocator.cpp | 124 mmap(nullptr, kAllocateSize, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)); in create_new_page()
|
D | linker_phdr.cpp | 563 int mmap_flags = MAP_PRIVATE | MAP_ANONYMOUS; in ReserveWithAlignmentPadding() 775 MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE, in LoadSegments()
|
/bionic/libc/system_properties/ |
D | contexts_serialized.cpp | 49 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in InitializeContextNodes()
|