Home
last modified time | relevance | path

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

/system/ulib/blobfs/test/
A Dextent-reserver-test.cpp18 BlockCountType block_count = 1; in ReserveTest()
36 BlockCountType block_count = 1; in ReserveResetTest()
58 BlockCountType block_count = 1; in ConstructorTest()
77 BlockCountType block_count = 1; in MoveConstructorTest()
101 BlockCountType block_count = 1; in MoveAssignmentTest()
126 BlockCountType block_count = 10; in SplitTest()
134 const BlockCountType split_point = 5; in SplitTest()
/system/ulib/blobfs/include/blobfs/
A Dformat.h210 typedef uint16_t BlockCountType; typedef
212 constexpr size_t kBlockCountMax = std::numeric_limits<BlockCountType>::max();
218 Extent(BlockOffsetType start, BlockCountType length) : data_(0) { in Extent()
232 BlockCountType Length() const { in Length()
233 return static_cast<BlockCountType>((data_ & kBlockCountMask) >> kBlockOffsetBits); in Length()
236 void SetLength(BlockCountType length) { in SetLength()
A Dextent-reserver.h75 ReservedExtent SplitAt(BlockCountType block_split);
/system/ulib/blobfs/
A Dextent-reserver.cpp64 ReservedExtent ReservedExtent::SplitAt(BlockCountType block_split) { in SplitAt()
68 static_cast<BlockCountType>(extent_.Length() - block_split)); in SplitAt()
A Dallocator.cpp330 Extent extent(start, static_cast<BlockCountType>(reserved_iterator->start() - in MunchUnreservedExtents()
408 Extent extent(start, static_cast<BlockCountType>(block_length)); in FindBlocks()
A Dhost.cpp166 inode->extents[0].SetLength(static_cast<BlockCountType>(inode->block_count)); in blobfs_add_mapped_blob_with_merkle()
A Dvnode.cpp475 extent.SplitAt(static_cast<BlockCountType>(remaining_blocks)); in WriteMetadata()

Completed in 18 milliseconds