Home
last modified time | relevance | path

Searched refs:new_pages (Results 1 – 1 of 1) sorted by relevance

/bionic/libc/bionic/
Datexit.cpp190 void* new_pages; in expand_capacity() local
192 new_pages = mmap(nullptr, new_capacity_bytes, PROT_READ | PROT_WRITE, in expand_capacity()
197 new_pages = mremap(array_, page_end_of_index(capacity_), new_capacity_bytes, MREMAP_MAYMOVE); in expand_capacity()
199 if (new_pages == MAP_FAILED) { in expand_capacity()
205 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, new_pages, new_capacity_bytes, "atexit handlers"); in expand_capacity()
206 array_ = static_cast<AtexitEntry*>(new_pages); in expand_capacity()