Home
last modified time | relevance | path

Searched refs:chunk_t (Results 1 – 4 of 4) sorted by relevance

/system/core/fs_mgr/libsnapshot/
Dsnapuserd.h177 bool ReadDiskExceptions(chunk_t chunk, size_t size);
197 bool ProcessMergeComplete(chunk_t chunk, void* buffer);
204 sector_t ChunkToSector(chunk_t chunk) { return chunk << CHUNK_SHIFT; } in ChunkToSector()
205 chunk_t SectorToChunk(sector_t sector) { return sector >> CHUNK_SHIFT; } in SectorToChunk()
289 bool IsChunkIdMetadata(chunk_t chunk);
290 chunk_t GetNextAllocatableChunkId(chunk_t chunk_id);
294 sector_t ChunkToSector(chunk_t chunk) { return chunk << CHUNK_SHIFT; } in ChunkToSector()
295 chunk_t SectorToChunk(sector_t sector) { return sector >> CHUNK_SHIFT; } in SectorToChunk()
Dsnapuserd.cpp249 bool Snapuserd::IsChunkIdMetadata(chunk_t chunk) { in IsChunkIdMetadata()
258 chunk_t Snapuserd::GetNextAllocatableChunkId(chunk_t chunk) { in GetNextAllocatableChunkId()
259 chunk_t next_chunk = chunk + 1; in GetNextAllocatableChunkId()
370 chunk_t data_chunk_id = NUM_SNAPSHOT_HDR_CHUNKS + 1; in ReadMetadata()
444 std::optional<chunk_t> prev_id = {}; in ReadMetadata()
Dsnapuserd_worker.cpp402 bool WorkerThread::ReadDiskExceptions(chunk_t chunk, size_t read_size) { in ReadDiskExceptions()
557 bool WorkerThread::ProcessMergeComplete(chunk_t chunk, void* buffer) { in ProcessMergeComplete()
686 chunk_t chunk = SectorToChunk(header->sector); in DmuserWriteRequest()
737 chunk_t chunk = SectorToChunk(header->sector); in DmuserReadRequest()
766 chunk_t num_sectors_read = (offset >> SECTOR_SHIFT); in DmuserReadRequest()
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapuserd_kernel.h45 typedef sector_t chunk_t; typedef