Searched refs:num_sectors_ (Results 1 – 6 of 6) sorted by relevance
29 num_sectors_ += target->size(); in AddTarget()51 return valid() ? num_sectors_ : 0; in num_sectors()
33 DmTable() : num_sectors_(0), readonly_(false) {} in DmTable()83 uint64_t num_sectors_; variable
53 explicit Extent(uint64_t num_sectors) : num_sectors_(num_sectors) {} in Extent()63 uint64_t num_sectors() const { return num_sectors_; } in num_sectors()64 void set_num_sectors(uint64_t num_sectors) { num_sectors_ = num_sectors; } in set_num_sectors()67 uint64_t num_sectors_;85 uint64_t end_sector() const { return physical_sector_ + num_sectors_; } in end_sector()
231 uint64_t GetNumSectors() { return num_sectors_; } in GetNumSectors()307 uint64_t num_sectors_; variable
615 num_sectors_ = ChunkToSector(data_chunk_id); in ReadMetadata()
56 LpMetadataExtent{num_sectors_, LP_TARGET_TYPE_LINEAR, physical_sector_, device_index_}); in AddTo()66 return num_sectors_ == other_ptr->num_sectors_ && in operator ==()90 out->extents.emplace_back(LpMetadataExtent{num_sectors_, LP_TARGET_TYPE_ZERO, 0, 0}); in AddTo()95 return other.GetExtentType() == ExtentType::kZero && num_sectors_ == other.num_sectors(); in operator ==()