Home
last modified time | relevance | path

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

/system/core/libmemunreachable/
DAllocator.cpp191 unsigned int allocation_size_; // size of allocations in chunk, min 8 bytes member in android::Chunk
207 return offset / allocation_size_; in ptr_to_n()
209 void* n_to_ptr(unsigned int n) { return data_ + n * allocation_size_; } in n_to_ptr()
234 allocation_size_(bucket_to_size(bucket)), in Chunk()
235 max_allocations_(kUsableChunkSize / allocation_size_), in Chunk()
259 unsigned int page = n * allocation_size_ / kPageSize; in Alloc()
294 if (frees_since_purge_++ * allocation_size_ > 16 * kPageSize) { in Free()