Lines Matching refs:start
90 int extra = ( -cur->start & ((pagesize/kMemoryAlign)-1) ) ; in alloc()
109 int extra = ( -free_chunk->start & ((pagesize/kMemoryAlign)-1) ) ; in alloc()
111 chunk_t* split = new chunk_t(free_chunk->start, extra); in alloc()
112 free_chunk->start += extra; in alloc()
116 LOGE_IF(((free_chunk->start*kMemoryAlign)&(pagesize-1)), in alloc()
122 free_chunk->start + free_chunk->size, tail_free); in alloc()
126 return (free_chunk->start)*kMemoryAlign; in alloc()
131 SimpleBestFitAllocator::chunk_t* SimpleBestFitAllocator::dealloc(size_t start) in dealloc() argument
133 start = start / kMemoryAlign; in dealloc()
136 if (cur->start == start) { in dealloc()
139 cur->start*kMemoryAlign, cur->size*kMemoryAlign); in dealloc()
158 freed->start * kMemoryAlign, freed->size * kMemoryAlign); in dealloc()