Searched refs:block_size_ (Results 1 – 4 of 4) sorted by relevance
/bionic/linker/ |
D | linker_block_allocator.cpp | 53 : block_size_( in LinkerBlockAllocator() 67 reinterpret_cast<char*>(free_block_list_) + block_size_); in alloc() 75 memset(block_info, 0, block_size_); in alloc() 93 if (offset % block_size_ != 0) { in free() 97 memset(block, 0, block_size_); in free() 130 first_block->num_free_blocks = (PAGE_SIZE - sizeof(LinkerBlockAllocatorPage*))/block_size_; in create_new_page()
|
D | linker_allocator.cpp | 86 : type_(type), block_size_(block_size), free_pages_cnt_(0), free_blocks_list_(nullptr) {} in LinkerSmallObjectAllocator() 89 CHECK(block_size_ != 0); in alloc() 98 reinterpret_cast<uint8_t*>(block_record) + block_size_); in alloc() 116 memset(block_record, 0, block_size_); in alloc() 151 if (offset % block_size_ != 0) { in free() 152 __libc_fatal("invalid pointer: %p (block_size=%zd)", ptr, block_size_); in free() 155 memset(ptr, 0, block_size_); in free() 183 __libc_fatal("page record for %p was not found (block_size=%zd)", ptr, block_size_); in find_page_record() 216 size_t free_blocks_cnt = (PAGE_SIZE - sizeof(page_info))/block_size_; in alloc_page()
|
D | linker_block_allocator.h | 57 size_t block_size_; variable
|
D | linker_allocator.h | 119 size_t get_block_size() const { return block_size_; } in get_block_size() 127 size_t block_size_; variable
|