Searched refs:sector_t (Results 1 – 6 of 6) sorted by relevance
/system/core/fs_mgr/libsnapshot/snapuserd/user-space-merge/ |
D | read_worker.h | 53 bool ReadAlignedSector(sector_t sector, size_t sz); 54 bool ReadUnalignedSector(sector_t sector, size_t size); 55 int ReadUnalignedSector(sector_t sector, size_t size, 56 std::vector<std::pair<sector_t, const CowOperation*>>::iterator& it); 58 bool ReadDataFromBaseDevice(sector_t sector, void* buffer, size_t read_size); 61 constexpr sector_t ChunkToSector(chunk_t chunk) { return chunk << CHUNK_SHIFT; } in ChunkToSector() 62 constexpr chunk_t SectorToChunk(sector_t sector) { return sector >> CHUNK_SHIFT; } in SectorToChunk()
|
D | snapuserd_core.h | 127 std::vector<std::pair<sector_t, const CowOperation*>>& GetChunkVec() { return chunk_vec_; } in GetChunkVec() 129 static bool compare(std::pair<sector_t, const CowOperation*> p1, in compare() argument 130 std::pair<sector_t, const CowOperation*> p2) { in compare() 191 sector_t ChunkToSector(chunk_t chunk) { return chunk << CHUNK_SHIFT; } in ChunkToSector() 192 chunk_t SectorToChunk(sector_t sector) { return sector >> CHUNK_SHIFT; } in SectorToChunk() 213 std::vector<std::pair<sector_t, const CowOperation*>> chunk_vec_;
|
D | read_worker.cpp | 280 bool ReadWorker::ReadDataFromBaseDevice(sector_t sector, void* buffer, size_t read_size) { in ReadDataFromBaseDevice() 307 bool ReadWorker::ReadAlignedSector(sector_t sector, size_t sz) { in ReadAlignedSector() 309 std::vector<std::pair<sector_t, const CowOperation*>>& chunk_vec = snapuserd_->GetChunkVec(); in ReadAlignedSector() 459 sector_t sector, size_t size, in ReadUnalignedSector() 460 std::vector<std::pair<sector_t, const CowOperation*>>::iterator& it) { in ReadUnalignedSector() argument 516 bool ReadWorker::ReadUnalignedSector(sector_t sector, size_t size) { in ReadUnalignedSector() 517 std::vector<std::pair<sector_t, const CowOperation*>>& chunk_vec = snapuserd_->GetChunkVec(); in ReadUnalignedSector()
|
D | snapuserd_test.cpp | 1211 AssertionResult ReadSectors(sector_t sector, uint64_t size, void* buffer); 1260 AssertionResult HandlerTest::ReadSectors(sector_t sector, uint64_t size, void* buffer) { in ReadSectors()
|
/system/vold/ |
D | Checkpoint.cpp | 416 typedef uint64_t sector_t; typedef 419 sector_t source; // in sectors of size kSectorSize 420 sector_t dest; // in sectors of size kSectorSize 500 typedef std::map<sector_t, sector_t> Relocations; 502 void relocate(Relocations& relocations, sector_t dest, sector_t source, int count) { in relocate() 534 typedef std::map<sector_t, bool> Used_Sectors; 536 bool checkCollision(Used_Sectors& used_sectors, sector_t start, sector_t end) { in checkCollision() 548 void markUsed(Used_Sectors& used_sectors, sector_t start, sector_t end) { in markUsed() 603 sector_t sector, uint32_t size, uint32_t block_size) { in relocatedRead()
|
/system/core/fs_mgr/libsnapshot/snapuserd/include/snapuserd/ |
D | snapuserd_kernel.h | 50 typedef __u64 sector_t; typedef 51 typedef sector_t chunk_t;
|