Home
last modified time | relevance | path

Searched refs:total_bytes (Results 1 – 17 of 17) sorted by relevance

/system/utest/memfs/
A Dfidl-tests.cpp135 ASSERT_EQ(info.total_bytes, UINT64_MAX); in TestFidlQueryFilesystem()
156 ASSERT_EQ(info.total_bytes % info.block_size, 0); in TestFidlQueryFilesystem()
159 ASSERT_EQ(info.total_bytes, 3 * info.block_size); in TestFidlQueryFilesystem()
/system/ulib/memfs/
A Ddirectory.cpp60 size_t total_bytes = 0; in QueryFilesystem() local
61 if (mul_overflow(vfs()->PagesLimit(), kMemfsBlksize, &total_bytes)) { in QueryFilesystem()
62 info->total_bytes = UINT64_MAX; in QueryFilesystem()
64 info->total_bytes = total_bytes; in QueryFilesystem()
/system/ulib/blobfs/
A Dallocator.cpp445 const uint64_t total_bytes = info.data_block_count * info.block_size; in LogAllocationFailure() local
449 ZX_ASSERT_MSG(used_bytes <= total_bytes, in LogAllocationFailure()
451 used_bytes, total_bytes); in LogAllocationFailure()
452 const uint64_t free_bytes = total_bytes - used_bytes; in LogAllocationFailure()
460 FS_TRACE_ERROR(" Total data bytes : %" PRIu64 "\n", total_bytes); in LogAllocationFailure()
A Dvnode.cpp987 info->total_bytes = blobfs_->Info().data_block_count * blobfs_->Info().block_size; in QueryFilesystem()
/system/utest/fs/
A Dtest-minfs.cpp51 ASSERT_EQ(info->total_bytes % info->block_size, 0); in QueryInfo()
57 size_t total_bytes; member
69 ASSERT_EQ(info.total_bytes, expected.total_bytes); in VerifyQueryInfo()
90 expected_info.total_bytes = kSliceSize; in TestQueryInfo()
193 *used_blocks = static_cast<uint32_t>((info.total_bytes - info.used_bytes) / info.block_size); in GetUsedBlocks()
/system/uapp/df/
A Dmain.cpp123 size_t bytes_total = info ? info->total_bytes: 0; in print_fs_type()
135 size_t blocks_total = info ? info->total_bytes >> 10 : 0; in print_fs_type()
/system/utest/blobfs/
A Dblobfs-test.h116 bool CheckInfo(uint64_t* total_bytes = nullptr, uint64_t* used_bytes = nullptr);
A Dblobfs.cpp480 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
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()
[all …]
/system/ulib/cobalt-client/
A DREADME.md35 options.load_config = [] (zx::vmo* vmo, size_t* total_bytes) -> bool {
38 *total_bytes = read(.....);
40 return vmo->write(buffer,0, total_bytes) == ZX_OK;
/system/public/zircon/syscalls/
A Dobject.h354 uint64_t total_bytes; member
/system/uapp/psutils/
A Dkstats.c130 stats.total_bytes, in memstats()
A Dmemgraph.cpp439 print_kernel_json("physmem", "", stats.total_bytes); in dump_kernel_memory()
/system/utest/fs-management/
A Dfs-management.cpp69 ASSERT_LE(info.used_bytes, info.total_bytes, "Used bytes greater than free bytes"); in CheckMountedFs()
/system/fidl/fuchsia-io/
A Dio.fidl345 uint64 total_bytes;
/system/utest/fvm/
A Dfvm.cpp2281 ASSERT_LE(info.total_bytes, slice_size * request.slice_count); in TestMounting()
2365 ASSERT_LE(info.total_bytes, slice_size * request.slice_count); in TestMkfs()
/system/ulib/fdio/
A Dunistd.c2391 stats.f_blocks = info.total_bytes / stats.f_bsize; in fstatfs()
/system/ulib/minfs/
A Dvnode.cpp1703 info->total_bytes = fs_->Info().block_count * fs_->Info().block_size; in QueryFilesystem()

Completed in 973 milliseconds