Lines Matching refs:startBlock
119 u_int32_t startBlock,
129 u_int32_t startBlock);
178 u_int32_t startBlock,
205 // startBlock Starting file allocation block number
220 u_int32_t startBlock,
248 extentKeyPtr->startBlock = startBlock;
280 foundKey->startBlock = extentKeyPtr->startBlock;
283 foundData[0].startBlock = extentData[0].startBlock;
285 foundData[1].startBlock = extentData[1].startBlock;
287 foundData[2].startBlock = extentData[2].startBlock;
292 foundData[i].startBlock = 0;
306 extentKeyPtr->startBlock = startBlock;
386 keyPtr->startBlock = key->startBlock;
418 u_int32_t startBlock)
435 keyPtr->startBlock = startBlock;
445 keyPtr->startBlock = startBlock;
485 u_int32_t startBlock; // volume allocation block corresponding to firstFABN
494 startBlock = foundData[foundIndex].startBlock;
520 temp += (daddr64_t)startBlock * (daddr64_t)sectorsPerBlock;
585 err = BlockDeallocate( vcb, extentRecord[extentIndex].startBlock, numAllocationBlocks );
607 // startBlock Starting file allocation block number for first extent
615 u_int32_t startBlock,
636 err = FindExtentRecord(vcb, forkType, fileID, startBlock, false, &key, extents, &hint);
646 err = DeleteExtentRecord(vcb, forkType, fileID, startBlock);
650 startBlock += numberExtentsReleased;
748 if (searchKey->startBlock == trialKey->startBlock) {
758 if (searchKey->startBlock > trialKey->startBlock)
812 if (searchKey->startBlock == trialKey->startBlock) {
822 if (searchKey->startBlock > trialKey->startBlock)
853 AddFileExtent(ExtendedVCB *vcb, FCB *fcb, u_int32_t startBlock, u_int32_t blockCount)
883 foundKey.startBlock = nextBlock;
885 foundData[0].startBlock = startBlock;
890 foundData[i].startBlock = 0;
903 foundData[foundIndex].startBlock = startBlock;
939 u_int32_t startBlock;
1096 startBlock = blockHint;
1098 startBlock = foundData[foundIndex].startBlock + foundData[foundIndex].blockCount;
1114 startBlock,
1149 if ((actualStartBlock == startBlock) && (blockHint == 0)) {
1176 foundKey.startBlock = nextBlock;
1178 foundData[0].startBlock = actualStartBlock;
1184 foundData[i].startBlock = 0;
1204 foundData[foundIndex].startBlock = actualStartBlock;
1287 u_int32_t startBlock; // Physical (volume) allocation block number of start of a range
1359 fcb->fcbExtents[i].startBlock = 0;
1385 startBlock = extentRecord[extentIndex].startBlock + extentRecord[extentIndex].blockCount - numBlocks;
1387 err = BlockDeallocate(vcb, startBlock, numBlocks);
1393 extentRecord[extentIndex].startBlock = 0;
1411 err = BlockDeallocate(vcb, extentRecord[extentIndex].startBlock, numBlocks);
1416 extentRecord[extentIndex].startBlock = 0;
1491 error = BlockDeallocate(vcb, fcb->fcbExtents[i].startBlock, blkcnt);
1508 fcb->fcbExtents[i].startBlock = 0;
1511 tailExtents[j].startBlock = fcb->fcbExtents[i].startBlock;
1549 error = BlockDeallocate(vcb, extents[i].startBlock, blkcnt);
1557 tailExtents[j].startBlock = extents[i].startBlock;
1794 err = SearchExtentRecord(vcb, filePositionBlock, foundExtentData, foundExtentKey->startBlock,
1868 key->startBlock = extentFileKey->startBlock;
1925 newExtents[0].startBlock = oldExtents[0].startBlock;
1927 newExtents[1].startBlock = oldExtents[1].startBlock;
1929 newExtents[2].startBlock = oldExtents[2].startBlock;
1933 if (oldExtents[3].startBlock || oldExtents[3].blockCount) {
2011 u_int32_t startBlock;
2035 startBlock = blocksChecked;
2042 result = FindExtentRecord(vcb, kDataForkType, fcb->ff_cp->c_fileid, startBlock, FALSE, &key, extents, &hint);
2049 startBlock += blocksChecked;