Lines Matching refs:chunk_t
140 struct chunk_t { struct in android::SimpleBestFitAllocator
141 chunk_t(size_t start, size_t size) in chunk_t() argument
147 mutable chunk_t* prev; argument
148 mutable chunk_t* next; argument
152 chunk_t* dealloc(size_t start);
158 LinkedList<chunk_t> mList;
273 chunk_t* node = new chunk_t(0, mHeapSize / kMemoryAlign); in SimpleBestFitAllocator()
299 chunk_t const * const freed = dealloc(offset); in deallocate()
312 chunk_t* free_chunk = 0; in alloc()
313 chunk_t* cur = mList.head(); in alloc()
342 chunk_t* split = new chunk_t(free_chunk->start, extra); in alloc()
353 chunk_t* split = new chunk_t( in alloc()
363 SimpleBestFitAllocator::chunk_t* SimpleBestFitAllocator::dealloc(size_t start) in dealloc()
366 chunk_t* cur = mList.head(); in dealloc()
374 chunk_t* freed = cur; in dealloc()
377 chunk_t* const p = cur->prev; in dealloc()
378 chunk_t* const n = cur->next; in dealloc()
429 chunk_t const* cur = mList.head(); in dump_l()