Home
last modified time | relevance | path

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

/system/core/fs_mgr/libsnapshot/
Dcow_snapuserd_test.cpp820 size_t new_chunk = 263; in ValidatePartialFilledArea() local
829 new_chunk += 1; in ValidatePartialFilledArea()
834 ASSERT_EQ(de->new_chunk, 0); in ValidatePartialFilledArea()
923 size_t new_chunk; in ValidateMetadata() local
930 new_chunk = 2; in ValidateMetadata()
933 new_chunk = 259; in ValidateMetadata()
941 ASSERT_EQ(de->new_chunk, new_chunk); in ValidateMetadata()
943 new_chunk += 1; in ValidateMetadata()
956 ASSERT_EQ(de->new_chunk, 518); in ValidateMetadata()
961 ASSERT_EQ(de->new_chunk, 520); in ValidateMetadata()
[all …]
Dsnapuserd_worker.cpp445 if (merged_de->old_chunk != 0 || merged_de->new_chunk != 0) { in GetMergeStartOffset()
453 if (!(merged_de->new_chunk == cow_de->new_chunk)) { in GetMergeStartOffset()
455 << merged_de->new_chunk in GetMergeStartOffset()
456 << "cow_de->new_chunk: " << cow_de->new_chunk; in GetMergeStartOffset()
486 if (!(merged_de->new_chunk == 0)) { in GetNumberOfMergedOps()
487 SNAP_LOG(ERROR) << "GetNumberOfMergedOps: Invalid new-chunk: " << merged_de->new_chunk; in GetNumberOfMergedOps()
496 if (cow_de->new_chunk != 0) { in GetNumberOfMergedOps()
500 std::make_pair(ChunkToSector(cow_de->new_chunk), nullptr), in GetNumberOfMergedOps()
504 SNAP_LOG(ERROR) << "Sector not found: " << ChunkToSector(cow_de->new_chunk); in GetNumberOfMergedOps()
508 if (!(it->first == ChunkToSector(cow_de->new_chunk))) { in GetNumberOfMergedOps()
[all …]
Dsnapuserd.cpp411 de->new_chunk = data_chunk_id; in ReadMetadata()
421 << " Old-chunk: " << de->old_chunk << " New-chunk: " << de->new_chunk; in ReadMetadata()
534 de->new_chunk = data_chunk_id; in ReadMetadata()
547 << " Old-chunk: " << de->old_chunk << " New-chunk: " << de->new_chunk; in ReadMetadata()
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapuserd_kernel.h78 uint64_t new_chunk; member