Searched refs:map_ptr (Results 1 – 1 of 1) sorted by relevance
/bionic/linker/ |
D | linker_allocator.cpp | 193 void* map_ptr = mmap(nullptr, PAGE_SIZE, in alloc_page() local 195 if (map_ptr == MAP_FAILED) { in alloc_page() 199 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, map_ptr, PAGE_SIZE, "linker_alloc_small_objects"); in alloc_page() 201 memset(map_ptr, 0, PAGE_SIZE); in alloc_page() 203 page_info* info = reinterpret_cast<page_info*>(map_ptr); in alloc_page() 210 create_page_record(map_ptr, free_blocks_cnt); in alloc_page() 230 void* map_ptr = mmap(nullptr, allocated_size, in alloc_mmap() local 233 if (map_ptr == MAP_FAILED) { in alloc_mmap() 237 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, map_ptr, allocated_size, "linker_alloc_lob"); in alloc_mmap() 239 memset(map_ptr, 0, allocated_size); in alloc_mmap() [all …]
|