Home
last modified time | relevance | path

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

/bionic/linker/
Dlinker_block_allocator.cpp52 FreeBlockInfo* block_info = reinterpret_cast<FreeBlockInfo*>(free_block_list_); in alloc() local
53 if (block_info->num_free_blocks > 1) { in alloc()
56 next_block_info->next_block = block_info->next_block; in alloc()
57 next_block_info->num_free_blocks = block_info->num_free_blocks - 1; in alloc()
60 free_block_list_ = block_info->next_block; in alloc()
63 memset(block_info, 0, block_size_); in alloc()
65 return block_info; in alloc()
87 FreeBlockInfo* block_info = reinterpret_cast<FreeBlockInfo*>(block); in free() local
89 block_info->next_block = free_block_list_; in free()
90 block_info->num_free_blocks = 1; in free()
[all …]