Lines Matching refs:allocator
30 // LinkerMemeoryAllocator is general purpose allocator
35 // If size is >= 1k allocator proxies malloc call directly to mmap
36 // If size < 1k allocator uses SmallObjectAllocator for the size
41 // For a pointer allocated using proxy-to-mmap allocator unmaps
294 LinkerSmallObjectAllocator* allocator = get_small_object_allocator(info->type);
295 if (allocator != info->allocator_addr) {
299 old_size = allocator->get_block_size();
322 LinkerSmallObjectAllocator* allocator = get_small_object_allocator(info->type);
323 if (allocator != info->allocator_addr) {
324 __libc_fatal("invalid pointer %p (invalid allocator address for the page)", ptr);
327 allocator->free(ptr);