Searched refs:blocks_ (Results 1 – 4 of 4) sorted by relevance
52 ExtentRanges() : blocks_(0) {} in ExtentRanges()78 uint64_t blocks() const { return blocks_; } in blocks()89 uint64_t blocks_; variable
101 blocks_ -= del_blocks; in AddExtent()102 blocks_ += extent.num_blocks(); in AddExtent()154 blocks_ -= del_blocks; in SubtractExtent()232 LOG(INFO) << "ExtentRanges Dump. blocks: " << blocks_; in Dump()261 CHECK(count <= blocks_); in GetExtentsForBlockCount()
39 size_t BlockCount() { return blocks_.size(); } in BlockCount()62 std::vector<XzBlock> blocks_; variable
588 if (blocks_.size() > 1) { in Init()589 size_t block_size_log2 = __builtin_ctz(blocks_.front().decompressed_size); in Init()591 if (std::all_of(blocks_.begin(), std::prev(blocks_.end()), correct_size) && in Init()592 blocks_.back().decompressed_size <= (1 << block_size_log2)) { in Init()598 for (XzBlock& block : blocks_) { in Init()605 blocks_.clear(); in Init()606 blocks_.push_back(XzBlock{ in Init()628 for (size_t i = addr >> block_size_log2_; i < blocks_.size(); i++) { in Read()629 XzBlock* block = &blocks_[i]; in Read()718 blocks_.reserve(Xzs_GetNumBlocks(&xzs)); in ReadBlocks()[all …]