Searched refs:total_bytes (Results 1 – 17 of 17) sorted by relevance
| /system/utest/memfs/ |
| A D | fidl-tests.cpp | 135 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 D | directory.cpp | 60 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 D | allocator.cpp | 445 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 D | vnode.cpp | 987 info->total_bytes = blobfs_->Info().data_block_count * blobfs_->Info().block_size; in QueryFilesystem()
|
| /system/utest/fs/ |
| A D | test-minfs.cpp | 51 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 D | main.cpp | 123 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 D | blobfs-test.h | 116 bool CheckInfo(uint64_t* total_bytes = nullptr, uint64_t* used_bytes = nullptr);
|
| A D | blobfs.cpp | 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 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 D | README.md | 35 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 D | object.h | 354 uint64_t total_bytes; member
|
| /system/uapp/psutils/ |
| A D | kstats.c | 130 stats.total_bytes, in memstats()
|
| A D | memgraph.cpp | 439 print_kernel_json("physmem", "", stats.total_bytes); in dump_kernel_memory()
|
| /system/utest/fs-management/ |
| A D | fs-management.cpp | 69 ASSERT_LE(info.used_bytes, info.total_bytes, "Used bytes greater than free bytes"); in CheckMountedFs()
|
| /system/fidl/fuchsia-io/ |
| A D | io.fidl | 345 uint64 total_bytes;
|
| /system/utest/fvm/ |
| A D | fvm.cpp | 2281 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 D | unistd.c | 2391 stats.f_blocks = info.total_bytes / stats.f_bsize; in fstatfs()
|
| /system/ulib/minfs/ |
| A D | vnode.cpp | 1703 info->total_bytes = fs_->Info().block_count * fs_->Info().block_size; in QueryFilesystem()
|
Completed in 973 milliseconds