Home
last modified time | relevance | path

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

/aosp12/frameworks/native/libs/binder/
H A DMemoryDealer.cpp158 static const int kMemoryAlign; member in android::SimpleBestFitAllocator
276 const int SimpleBestFitAllocator::kMemoryAlign = 32; member in android::SimpleBestFitAllocator
283 chunk_t* node = new chunk_t(0, mHeapSize / kMemoryAlign); in SimpleBestFitAllocator()
329 size = (size + kMemoryAlign-1) / kMemoryAlign; in alloc()
376 return (free_chunk->start)*kMemoryAlign; in alloc()
383 start = start / kMemoryAlign; in dealloc()
389 cur->start*kMemoryAlign, cur->size*kMemoryAlign); in dealloc()
413 freed->start * kMemoryAlign, freed->size * kMemoryAlign); in dealloc()
463 i, cur, int(cur->start*kMemoryAlign), in dump_l()
464 int(cur->size*kMemoryAlign), in dump_l()
[all …]