Searched refs:aligned_capacity (Results 1 – 1 of 1) sorted by relevance
167 size_t aligned_capacity = roundup(bytes, footer_align) + footer_size; in __do_allocate() local169 void* result = upstream->allocate(aligned_capacity, align); in __do_allocate()171 __chunk_footer* h = (__chunk_footer*)((char*)result + aligned_capacity - footer_size); in __do_allocate()245 size_t aligned_capacity = roundup(chunk_size, footer_align) + footer_size; in __allocate_in_new_chunk() local247 void* result = upstream->allocate(aligned_capacity, __default_alignment); in __allocate_in_new_chunk()249 __chunk_footer* h = (__chunk_footer*)((char*)result + aligned_capacity - footer_size); in __allocate_in_new_chunk()478 size_t aligned_capacity = roundup(bytes, footer_align) + footer_size; in do_allocate() local481 if (aligned_capacity <= previous_capacity) { in do_allocate()483 aligned_capacity = roundup(newsize, footer_align) + footer_size; in do_allocate()486 char* start = (char*)__res_->allocate(aligned_capacity, align); in do_allocate()[all …]