Searched refs:block_size_ (Results 1 - 4 of 4) sorted by relevance

/bionic/linker/
H A Dlinker_block_allocator.cpp36 : block_size_(block_size < sizeof(FreeBlockInfo) ? sizeof(FreeBlockInfo) : block_size),
49 reinterpret_cast<char*>(free_block_list_) + block_size_);
57 memset(block_info, 0, block_size_);
75 if (offset % block_size_ != 0) {
79 memset(block, 0, block_size_);
111 first_block->num_free_blocks = (PAGE_SIZE - sizeof(LinkerBlockAllocatorPage*))/block_size_;
H A Dlinker_allocator.cpp73 : type_(0), name_(nullptr), block_size_(0), free_pages_cnt_(0), free_blocks_list_(nullptr) {}
83 reinterpret_cast<uint8_t*>(block_record) + block_size_);
101 memset(block_record, 0, block_size_);
136 if (offset % block_size_ != 0) {
137 __libc_fatal("invalid pointer: %p (block_size=%zd)", ptr, block_size_);
140 memset(ptr, 0, block_size_);
161 block_size_ = block_size;
174 __libc_fatal("page record for %p was not found (block_size=%zd)", ptr, block_size_);
207 size_t free_blocks_cnt = (PAGE_SIZE - sizeof(page_info))/block_size_;
H A Dlinker_block_allocator.h45 size_t block_size_; member in class:LinkerBlockAllocator
H A Dlinker_allocator.h108 size_t get_block_size() const { return block_size_; }
117 size_t block_size_; member in class:LinkerSmallObjectAllocator

Completed in 26 milliseconds