Lines Matching refs:blockIndex

63 File::File(Volume* volume, uint64 blockIndex, const checksumfs_node& nodeData)
65 Node(volume, blockIndex, nodeData),
336 uint64 blockIndex = BlockIndex();
338 PRINT(" preparing iteration: firstBlock: %" B_PRIu64 ", blockIndex: %"
339 B_PRIu64 "\n", firstBlock, blockIndex);
343 if (!info.block.GetReadable(GetVolume(), blockIndex))
355 blockIndex = info.blockData[info.index];
358 ", firstBlock: %" B_PRIu64 ", blockIndex: %" B_PRIu64 "\n", i,
359 info.index, firstBlock, blockIndex);
379 blockIndex = info.blockData[info.index];
381 PRINT(" level: %" B_PRId32 ": index: %" B_PRId32 " -> blockIndex: %"
382 B_PRIu64 "\n", level, info.index, blockIndex);
388 if (!infos[level].block.GetReadable(GetVolume(), blockIndex))
399 uint64 blockOffset = blockIndex * B_PAGE_SIZE;
529 uint64 blockIndex = infos[level].blockData[infos[level].childCount - 1];
534 if (!info.block.GetWritable(GetVolume(), blockIndex, transaction))
544 PRINT(" freeing block: %" B_PRId64 "\n", blockIndex);
550 status_t error = GetVolume()->GetBlockAllocator()->Free(blockIndex, 1,
570 uint64 blockIndex = infos[0].blockData[0];
573 blockIndex, i);
576 if (!block.GetReadable(GetVolume(), blockIndex))
585 status_t error = GetVolume()->GetBlockAllocator()->Free(blockIndex, 1,
683 uint64 blockIndex = allocatedBlock.Index();
684 infos[level].blockData[infos[level].childCount++] = blockIndex;
686 PRINT(" allocated block: %" B_PRId64 "\n", blockIndex);
693 if (!infos[level].block.GetZero(GetVolume(), blockIndex,
702 block_cache_discard(GetVolume()->BlockCache(), blockIndex, 1);
776 tempData->indexAndCheckSum.blockIndex = blockIndices[i];
866 tempData->indexAndCheckSum.blockIndex = blockIndices[i];