Home
last modified time | relevance | path

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

/bionic/libc/private/
Dbionic_allocator.h43 class BionicSmallObjectAllocator; variable
54 BionicSmallObjectAllocator* allocator_addr;
82 class BionicSmallObjectAllocator {
84 BionicSmallObjectAllocator(uint32_t type, size_t block_size);
118 BionicSmallObjectAllocator* get_small_object_allocator(uint32_t type);
121 BionicSmallObjectAllocator* allocators_;
122 uint8_t allocators_buf_[sizeof(BionicSmallObjectAllocator)*kSmallObjectAllocatorsCount];
/bionic/libc/bionic/
Dbionic_allocator.cpp98 BionicSmallObjectAllocator::BionicSmallObjectAllocator(uint32_t type, in BionicSmallObjectAllocator() function in BionicSmallObjectAllocator
107 void* BionicSmallObjectAllocator::alloc() { in alloc()
149 void BionicSmallObjectAllocator::free_page(small_object_page_info* page) { in free_page()
164 void BionicSmallObjectAllocator::free(void* ptr) { in free()
194 void BionicSmallObjectAllocator::alloc_page() { in alloc_page()
228 void BionicSmallObjectAllocator::add_to_page_list(small_object_page_info* page) { in add_to_page_list()
237 void BionicSmallObjectAllocator::remove_from_page_list( in remove_from_page_list()
257 BionicSmallObjectAllocator* allocators = in initialize_allocators()
258 reinterpret_cast<BionicSmallObjectAllocator*>(allocators_buf_); in initialize_allocators()
262 new (allocators + i) BionicSmallObjectAllocator(type, 1 << type); in initialize_allocators()
[all …]