Searched refs:map_ptr (Results 1 – 1 of 1) sorted by relevance
/bionic/libc/bionic/ |
D | bionic_allocator.cpp | 192 void* const map_ptr = in alloc_page() local 194 if (map_ptr == MAP_FAILED) { in alloc_page() 198 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, map_ptr, page_size(), "bionic_alloc_small_objects"); in alloc_page() 201 reinterpret_cast<small_object_page_info*>(map_ptr); in alloc_page() 272 void* map_ptr = mmap(nullptr, allocated_size, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, in alloc_mmap() local 275 if (map_ptr == MAP_FAILED) { in alloc_mmap() 279 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, map_ptr, allocated_size, "bionic_alloc_lob"); in alloc_mmap() 281 void* result = static_cast<char*>(map_ptr) + header_size; in alloc_mmap()
|