Lines Matching refs:foundIndex
490 u_int32_t foundIndex;
503 err = SearchExtentFile(vcb, fcb, offset, &foundKey, foundData, &foundIndex, &hint, &nextFABN);
505 startBlock = foundData[foundIndex].startBlock;
506 firstFABN = nextFABN - foundData[foundIndex].blockCount;
875 u_int32_t foundIndex;
884 error = SearchExtentFile(vcb, fcb, peof-1, &foundKey, foundData, &foundIndex, &hint, &nextBlock);
891 if (foundData[foundIndex].blockCount != 0)
892 ++foundIndex;
893 if (foundIndex == kHFSPlusExtentDensity) {
912 foundIndex = 0;
921 foundData[foundIndex].startBlock = startBlock;
922 foundData[foundIndex].blockCount = blockCount;
953 u_int32_t foundIndex;
1077 err = SearchExtentFile(vcb, fcb, peof-1, &foundKey, foundData, &foundIndex, &hint, &nextBlock);
1158 startBlock = foundData[foundIndex].startBlock + foundData[foundIndex].blockCount;
1211 foundData[foundIndex].blockCount += actualNumBlocks;
1219 if (foundData[foundIndex].blockCount != 0) // Is current extent free to use?
1220 ++foundIndex; // No, so use the next one.
1221 if (foundIndex == numExtentsPerRecord) {
1248 foundIndex = 0;
1264 foundData[foundIndex].startBlock = actualStartBlock;
1265 foundData[foundIndex].blockCount = actualNumBlocks;