/fuchsia/zircon/system/ulib/blobfs/ |
H A D | fsck.cpp | 20 if (inode->start_block >= kStartBlockMinimum) { 24 size_t start_block = inode->start_block; local 25 size_t end_block = inode->start_block + inode->num_blocks; 29 if (!blobfs_->block_map_.Get(start_block, end_block, &first_unset)) { 32 n, start_block, end_block, first_unset);
|
H A D | blobfs.cpp | 226 uint64_t start = inode_.start_block + DataStartBlock(blobfs_->info_); 289 uint64_t start = inode_.start_block + DataStartBlock(blobfs_->info_); 301 ZX_DEBUG_ASSERT(inode_.start_block < kStartBlockMinimum); 354 inode_.start_block = kStartBlockMinimum; 380 if ((status = blobfs_->ReserveBlocks(inode_.num_blocks, &inode_.start_block)) != ZX_OK) { 438 blobfs_->PersistBlocks(wb.get(), inode_.num_blocks, inode_.start_block); 497 uint64_t dev_offset = DataStartBlock(blobfs_->info_) + inode_.start_block + merkle_blocks; 509 inode_.start_block + blocks); 541 uint64_t dev_offset = DataStartBlock(blobfs_->info_) + inode_.start_block; 823 if (GetNode(i)->start_block 975 WriteBitmap(WritebackWork* wb, uint64_t nblocks, uint64_t start_block) argument 1033 uint64_t start_block = vn->GetNode().start_block; local [all...] |
H A D | host.cpp | 171 reinterpret_cast<size_t*>(&inode->start_block))) != ZX_OK) { 176 } else if ((status = bs->WriteBitmap(inode->num_blocks, inode->start_block)) != ZX_OK) { 410 if (observed_inode->start_block >= kStartBlockMinimum) { 460 zx_status_t Blobfs::WriteBitmap(size_t nblocks, size_t start_block) { argument 461 uint64_t bbm_start_block = start_block / kBlobfsBlockBits; 462 uint64_t bbm_end_block = fbl::round_up(start_block + nblocks, kBlobfsBlockBits) / kBlobfsBlockBits; 490 uint64_t bno = data_start_block_ + inode->start_block + n; 511 uint64_t bno = data_start_block_ + inode->start_block + merkle_blocks + n; 590 ReadBlock(data_start_block_ + inode.start_block + i); 607 ReadBlock(data_start_block_ + inode.start_block [all...] |
/fuchsia/zircon/system/ulib/minfs/include/minfs/ |
H A D | inode-manager.h | 33 blk_t start_block, size_t inodes, 62 InodeManager(Bcache* bc, blk_t start_block);
|
/fuchsia/zircon/system/ulib/minfs/ |
H A D | inode-manager.cpp | 12 InodeManager::InodeManager(Bcache* bc, blk_t start_block) : argument 13 bc_(bc), start_block_(start_block) {} 18 blk_t start_block, size_t inodes, 21 auto mgr = fbl::unique_ptr<InodeManager>(new InodeManager(bc, start_block)); 47 txn->Enqueue(vmoid, 0, start_block, inoblks); 16 Create(Bcache* bc, Superblock* sb, fs::ReadTxn* txn, AllocatorMetadata metadata, blk_t start_block, size_t inodes, fbl::unique_ptr<InodeManager>* out) argument
|
/fuchsia/zircon/system/uapp/iochk/ |
H A D | iochk.cpp | 50 uint32_t start_block = 0; member in namespace:__anon854 402 if ((status = checker->Fill(start_block, block_count)) != ZX_OK) { 410 if ((status = checker->Check(start_block, block_count)) != ZX_OK) { 447 status = checker->Check(start_block + work_offset, to_read); 449 status = checker->Fill(start_block + work_offset, to_read); 514 start_block = atoi(argv[1]); 588 if (dev_blocks_per_block * start_block >= info.partition_block_count) { 597 } else if (dev_blocks_per_block * (block_count + start_block) >= 623 if (dev_blocks_per_block * start_block >= info.block_count) { 631 } else if (dev_blocks_per_block * (block_count + start_block) > [all...] |
/fuchsia/zircon/system/ulib/blobfs/include/blobfs/ |
H A D | format.h | 142 uint64_t start_block; member in struct:blobfs::__anon893
|
H A D | host.h | 83 zx_status_t WriteBitmap(size_t nblocks, size_t start_block);
|
H A D | blobfs.h | 543 void WriteBitmap(WritebackWork* wb, uint64_t nblocks, uint64_t start_block);
|
/fuchsia/zircon/system/dev/nand/nandpart/test/ |
H A D | aml-bad-block-test.cpp | 251 auto check_expected = [&bad_block](uint32_t start_block, uint32_t end_block, 255 zx_status_t status = bad_block->GetBadBlockList(start_block, end_block, &bad_blocks);
|
/fuchsia/zircon/system/utest/fvm/ |
H A D | fvm.cpp | 1140 size_t start_block = start_erequest.offset * (slice_size / info.block_size); 1144 ASSERT_TRUE(CheckWriteReadBlock(vp_fd, start_block, 1)); 1146 ASSERT_TRUE(CheckNoAccessBlock(vp_fd, start_block, 1));
|