Lines Matching defs:foundKey
121 HFSPlusExtentKey *foundKey,
211 // foundKey The key data for the record actually found
222 HFSPlusExtentKey *foundKey,
275 if (foundKey) {
276 foundKey->keyLength = kHFSPlusExtentKeyMaximumLength;
277 foundKey->forkType = extentKeyPtr->forkType;
278 foundKey->pad = 0;
279 foundKey->fileID = extentKeyPtr->fileID;
280 foundKey->startBlock = extentKeyPtr->startBlock;
331 if (foundKey)
332 BlockMoveData(extentKeyPtr, foundKey, sizeof(HFSPlusExtentKey));
477 HFSPlusExtentKey foundKey;
492 err = SearchExtentFile(vcb, fcb, offset, &foundKey, foundData, &foundIndex, &hint, &nextFABN);
855 HFSPlusExtentKey foundKey;
866 error = SearchExtentFile(vcb, fcb, peof-1, &foundKey, foundData, &foundIndex, &hint, &nextBlock);
879 foundKey.keyLength = kHFSPlusExtentKeyMaximumLength;
880 foundKey.forkType = kDataForkType;
881 foundKey.pad = 0;
882 foundKey.fileID = FTOC(fcb)->c_fileid;
883 foundKey.startBlock = nextBlock;
896 error = CreateExtentRecord(vcb, &foundKey, foundData, &hint);
905 error = UpdateExtentRecord(vcb, fcb, &foundKey, foundData, hint);
934 HFSPlusExtentKey foundKey;
1060 err = SearchExtentFile(vcb, fcb, peof-1, &foundKey, foundData, &foundIndex, &hint, &nextBlock);
1152 err = UpdateExtentRecord(vcb, fcb, &foundKey, foundData, hint);
1169 foundKey.keyLength = kHFSPlusExtentKeyMaximumLength;
1171 foundKey.forkType = kResourceForkType;
1173 foundKey.forkType = kDataForkType;
1174 foundKey.pad = 0;
1175 foundKey.fileID = FTOC(fcb)->c_fileid;
1176 foundKey.startBlock = nextBlock;
1190 err = CreateExtentRecord(vcb, &foundKey, foundData, &hint);
1206 err = UpdateExtentRecord(vcb, fcb, &foundKey, foundData, hint);