Searched refs:map_ptr (Results 1 – 1 of 1) sorted by relevance
/bionic/libc/bionic/ |
D | bionic_allocator.cpp | 195 void* const map_ptr = mmap(nullptr, PAGE_SIZE, PROT_READ | PROT_WRITE, in alloc_page() local 197 if (map_ptr == MAP_FAILED) { in alloc_page() 201 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, map_ptr, PAGE_SIZE, in alloc_page() 205 reinterpret_cast<small_object_page_info*>(map_ptr); in alloc_page() 276 void* map_ptr = mmap(nullptr, allocated_size, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, in alloc_mmap() local 279 if (map_ptr == MAP_FAILED) { in alloc_mmap() 283 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, map_ptr, allocated_size, "bionic_alloc_lob"); in alloc_mmap() 285 void* result = static_cast<char*>(map_ptr) + header_size; in alloc_mmap()
|