Home
last modified time | relevance | path

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

/system/memory/libmemunreachable/
DAllocator.cpp85 LinkedList<Chunk*> free_chunks_[kNumBuckets]; member in android::HeapImpl
301 HeapImpl::HeapImpl() : free_chunks_(), full_chunks_(), map_allocation_list_(NULL) {} in HeapImpl()
305 for (LinkedList<Chunk*>* it = free_chunks_[i].next(); it->data() != NULL; it = it->next()) { in Empty()
322 while (!free_chunks_[i].empty()) { in ~HeapImpl()
323 Chunk* chunk = free_chunks_[i].next()->data(); in ~HeapImpl()
345 if (free_chunks_[bucket].empty()) { in AllocLocked()
347 free_chunks_[bucket].insert(chunk->node_); in AllocLocked()
349 return free_chunks_[bucket].next()->data()->Alloc(); in AllocLocked()
397 MoveToList(chunk, &free_chunks_[bucket]); in MoveToFreeList()