/fuchsia/zircon/system/uapp/iochk/ |
H A D | iochk.cpp | 39 -c block_count - number of blocks to read (default=the whole device) 52 uint32_t block_count = 0; member in namespace:__anon854 62 ProgressBar(uint32_t block_count, size_t num_threads) argument 63 : total_work_(static_cast<uint32_t>(static_cast<int>(block_count * log(block_count)) * 222 uint64_t length = (info_.block_size * info_.block_count) - (block_idx * block_size); 248 uint64_t length = (info_.block_size * info_.block_count) - (block_idx * block_size); 329 .block_count = static_cast<uint32_t>(length / info_.block_size_bytes), 360 .block_count = static_cast<uint32_t>(length / info_.block_size_bytes), 402 if ((status = checker->Fill(start_block, block_count)) ! [all...] |
/fuchsia/zircon/system/host/fvm/format/ |
H A D | blobfs.cpp | 38 xprintf("fvm_info has block count %" PRIu64 "\n", fvm_info_.block_count); 65 fvm_info_.block_count = static_cast<uint32_t>(fvm_info_.dat_slices * fvm_info_.slice_size / 88 vslice_info->block_count = 1; 96 vslice_info->block_count = BlockMapBlocks(info_); 104 vslice_info->block_count = NodeMapBlocks(info_); 112 vslice_info->block_count = DataBlocks(info_);
|
H A D | minfs.cpp | 63 uint32_t dat_blocks = info_.block_count; 81 fvm_info_.block_count = static_cast<uint32_t>(fvm_info_.dat_slices * fvm_info_.slice_size / 109 vslice_info->block_count = 1; 117 vslice_info->block_count = info_.abm_block - info_.ibm_block; 125 vslice_info->block_count = info_.ino_block - info_.abm_block; 133 vslice_info->block_count = info_.dat_block - info_.ino_block; 141 vslice_info->block_count = info_.block_count;
|
/fuchsia/zircon/system/utest/blobfs/ |
H A D | blobfs-test.h | 76 bool SetBlockCount(uint64_t block_count) { argument 79 blk_count_ = block_count;
|
/fuchsia/zircon/system/ulib/blobfs/ |
H A D | common.cpp | 59 if (info->block_count + DataStartBlock(*info) > max) { 114 *out = (info.block_size * info.block_count) / kBlobfsBlockSize; 151 int blobfs_mkfs(int fd, uint64_t block_count) { argument 161 // Set block_count to max blocks so we can calculate block map blocks 162 info.block_count = block_count; 167 // The result of DataStartBlock(info) is based on the current value of info.block_count. As a 169 info.block_count -= DataStartBlock(info); // Set block_count to number of data blocks 216 info.block_count [all...] |
H A D | fsck.cpp | 48 for (uint64_t n = 0; n < blobfs_->info_.block_count; n++) {
|
/fuchsia/zircon/system/dev/block/ahci/ |
H A D | sata.c | 149 uint64_t block_count = 0; local 156 block_count = sata_devinfo_u64(devinfo, SATA_DEVINFO_LBA_CAPACITY_2); 159 block_count = sata_devinfo_u32(devinfo, SATA_DEVINFO_LBA_CAPACITY); 162 zxlogf(INFO, " %" PRIu64 " sectors, sector size=%u\n", block_count, block_size); 170 dev->info.block_count = block_count; 214 return device->info.block_count * device->info.block_size; 248 if ((bop->rw.offset_dev >= dev->info.block_count) || 249 ((dev->info.block_count - bop->rw.offset_dev) < bop->rw.length)) {
|
/fuchsia/zircon/system/public/zircon/device/ |
H A D | skip-block.h | 38 uint32_t block_count; member in struct:skip_block_rw_operation
|
H A D | ram-nand.h | 54 uint64_t block_count; member in struct:ram_nand_info::__anon701
|
/fuchsia/zircon/system/dev/nand/skip-block/ |
H A D | logical-to-physical-map.cpp | 11 LogicalToPhysicalMap::LogicalToPhysicalMap(uint32_t copies, uint32_t block_count, argument 13 : copies_(copies), block_count_(block_count), bad_blocks_(fbl::move(bad_blocks)) {
|
H A D | logical-to-physical-map.h | 24 LogicalToPhysicalMap(uint32_t copies, uint32_t block_count, fbl::Array<uint32_t> bad_blocks);
|
/fuchsia/zircon/system/ulib/minfs/ |
H A D | fsck.cpp | 283 if (bno >= fs_->Info().block_count) { 304 uint32_t block_count = 0; local 315 block_count++; 328 block_count++; 344 block_count++; 373 block_count++; 389 if (block_count != inode->block_count) { 391 ino, inode->block_count, block_count); [all...] |
H A D | minfs.cpp | 78 xprintf("minfs: data blocks: %10u (size %u)\n", info->block_count, info->block_size); 92 xprintf("inode[%u]: blocks: %10u\n", ino, inode->block_count); 114 if (info->dat_block + info->block_count > max) { 195 size_t abm_blocks_needed = (info->block_count + kMinfsBlockBits - 1) / kMinfsBlockBits; 214 size_t dat_blocks_needed = info->block_count; 253 dat_block_count_ = sb->Info().block_count; 323 uint32_t block_count = vn->inode_.block_count; local 331 block_count--; 359 block_count [all...] |
/fuchsia/zircon/system/uapp/blobfs/ |
H A D | main.cpp | 62 uint64_t block_count; local 63 if (blobfs::blobfs_get_blockcount(fd.get(), &block_count)) { 68 int r = blobfs::blobfs_mkfs(fd.get(), block_count);
|
/fuchsia/zircon/system/ulib/blobfs/include/blobfs/ |
H A D | format.h | 73 uint64_t block_count; // Number of data blocks in this area member in struct:blobfs::__anon892 95 return fbl::round_up(info.block_count, kBlobfsBlockBits) / kBlobfsBlockBits; 125 return info.block_count;
|
H A D | common.h | 44 int blobfs_mkfs(int fd, uint64_t block_count);
|
/fuchsia/zircon/system/utest/fs/ |
H A D | filesystems.h | 73 uint64_t block_count; member in struct:test_disk 87 uint64_t requested_size = requested_disk->block_count * requested_disk->block_size; 88 uint64_t real_size = test_disk_info.block_count * test_disk_info.block_size;
|
H A D | test-resize.cpp | 76 uint64_t disk_size = test_disk_info.block_count * test_disk_info.block_size; 108 .block_count = 1LLU << 17,
|
H A D | filesystems.cpp | 50 .block_count = TEST_BLOCK_COUNT_DEFAULT, 73 if (create_ramdisk(disk.block_size, disk.block_count, test_disk_path)) { 79 test_disk_info.block_count = disk.block_count;
|
H A D | test-minfs.cpp | 81 const size_t kTotalDeviceSize = test_disk_info.block_count * test_disk_info.block_size; 366 uint64_t block_count; local 367 ASSERT_TRUE(GetFileBlocks(dir_fd.get(), &block_count)); 368 ASSERT_EQ(block_count, minfs::kMinfsDirect);
|
/fuchsia/zircon/system/host/blobfs/ |
H A D | main.cpp | 200 info.block_count = data_blocks_; 206 uint64_t block_count; local 207 if (blobfs::blobfs_get_blockcount(fd_.get(), &block_count)) { 212 int r = blobfs::blobfs_mkfs(fd_.get(), block_count);
|
/fuchsia/zircon/system/ulib/minfs/include/minfs/ |
H A D | format.h | 89 uint32_t block_count; // total number of data blocks member in struct:minfs::__anon1163 123 uint32_t block_count; member in struct:minfs::__anon1164
|
/fuchsia/zircon/system/utest/zxcrypt/ |
H A D | zxcrypt.cpp | 80 EXPECT_GE(parent_blk.block_count, zxcrypt_blk.block_count + device.reserved_blocks()); 382 size_t n = device.block_count(); 396 size_t n = device.block_count(); 410 size_t n = device.block_count(); 435 size_t n = device.block_count(); 452 size_t n = device.block_count();
|
/fuchsia/zircon/system/dev/gpio/aml-gxl-gpio/ |
H A D | aml-gxl-gpio.c | 87 size_t block_count; member in struct:__anon365 112 if (block_index >= gpio->block_count) { 210 if (block_index >= gpio->block_count) { 528 gpio->block_count = countof(s912_gpio_blocks); 534 gpio->block_count = countof(s905x_gpio_blocks); 540 gpio->block_count = countof(s905_gpio_blocks);
|
/fuchsia/zircon/system/dev/block/usb-mass-storage/ |
H A D | block.c | 46 info->block_count = dev->total_blocks;
|