Lines Matching refs:total_bytes
463 bool BlobfsTest::CheckInfo(uint64_t* total_bytes, uint64_t* used_bytes) { in CheckInfo() argument
477 ASSERT_LE(info.used_bytes, info.total_bytes, "Used bytes greater than free bytes"); in CheckInfo()
480 if (total_bytes != nullptr) { in CheckInfo()
481 *total_bytes = info.total_bytes; in CheckInfo()
692 ASSERT_LE(info.used_bytes, info.total_bytes); in QueryInfo()
695 ASSERT_GE(info.total_bytes, kTestFvmSliceSize); in QueryInfo()
696 ASSERT_EQ(info.total_bytes % kTestFvmSliceSize, 0); in QueryInfo()
1028 size_t total_bytes = 0; in TestQueryInfo() local
1037 total_bytes += fbl::round_up(info->size_merkle + info->size_data, in TestQueryInfo()
1041 ASSERT_TRUE(QueryInfo(6, total_bytes)); in TestQueryInfo()
2179 uint64_t total_bytes, used_bytes; in TestFragmentation() local
2182 ASSERT_TRUE(blobfsTest->CheckInfo(&total_bytes, &used_bytes)); in TestFragmentation()
2183 ASSERT_LT(total_bytes - used_bytes, kLargeSize); in TestFragmentation()
2202 ASSERT_TRUE(blobfsTest->CheckInfo(&total_bytes, &used_bytes)); in TestFragmentation()
2203 ASSERT_GE(total_bytes - used_bytes, kLargeSize); in TestFragmentation()