Home
last modified time | relevance | path

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

/system/core/fs_mgr/libsnapshot/
Dcow_snapuserd_test.cpp827 ASSERT_EQ(de->old_chunk, i); in ValidatePartialFilledArea()
833 ASSERT_EQ(de->old_chunk, 0); in ValidatePartialFilledArea()
922 size_t old_chunk; in ValidateMetadata() local
929 old_chunk = 256; in ValidateMetadata()
932 old_chunk = 512; in ValidateMetadata()
940 ASSERT_EQ(de->old_chunk, old_chunk); in ValidateMetadata()
942 old_chunk += 1; in ValidateMetadata()
955 ASSERT_EQ(de->old_chunk, 30); in ValidateMetadata()
960 ASSERT_EQ(de->old_chunk, 25); in ValidateMetadata()
965 ASSERT_EQ(de->old_chunk, 100); in ValidateMetadata()
[all …]
Dsnapuserd_worker.cpp445 if (merged_de->old_chunk != 0 || merged_de->new_chunk != 0) { in GetMergeStartOffset()
446 if (!(merged_de->old_chunk == cow_de->old_chunk)) { in GetMergeStartOffset()
448 << merged_de->old_chunk in GetMergeStartOffset()
449 << "cow_de->old_chunk: " << cow_de->old_chunk; in GetMergeStartOffset()
491 if (!(merged_de->old_chunk == 0)) { in GetNumberOfMergedOps()
492 SNAP_LOG(ERROR) << "GetNumberOfMergedOps: Invalid old-chunk: " << merged_de->old_chunk; in GetNumberOfMergedOps()
533 cow_de->old_chunk = 0; in GetNumberOfMergedOps()
535 } else if (cow_de->old_chunk == 0) { in GetNumberOfMergedOps()
544 << " merged_de-old-chunk: " << merged_de->old_chunk in GetNumberOfMergedOps()
546 << " cow_de-old-chunk: " << cow_de->old_chunk in GetNumberOfMergedOps()
Dsnapuserd.cpp410 de->old_chunk = cow_op->new_block; in ReadMetadata()
421 << " Old-chunk: " << de->old_chunk << " New-chunk: " << de->new_chunk; in ReadMetadata()
533 de->old_chunk = cow_op->new_block; in ReadMetadata()
547 << " Old-chunk: " << de->old_chunk << " New-chunk: " << de->new_chunk; in ReadMetadata()
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapuserd_kernel.h77 uint64_t old_chunk; member