Home
last modified time | relevance | path

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

/system/core/libmemunreachable/
DAllocator.cpp87 LinkedList<Chunk*> free_chunks_[kNumBuckets]; member in android::HeapImpl
321 HeapImpl::HeapImpl() : free_chunks_(), full_chunks_(), map_allocation_list_(NULL) {} in HeapImpl()
325 for (LinkedList<Chunk*>* it = free_chunks_[i].next(); it->data() != NULL; it = it->next()) { in Empty()
342 while (!free_chunks_[i].empty()) { in ~HeapImpl()
343 Chunk* chunk = free_chunks_[i].next()->data(); in ~HeapImpl()
365 if (free_chunks_[bucket].empty()) { in AllocLocked()
367 free_chunks_[bucket].insert(chunk->node_); in AllocLocked()
369 return free_chunks_[bucket].next()->data()->Alloc(); in AllocLocked()
417 MoveToList(chunk, &free_chunks_[bucket]); in MoveToFreeList()