Lines Matching defs:error
862 int error;
866 error = SearchExtentFile(vcb, fcb, peof-1, &foundKey, foundData, &foundIndex, &hint, &nextBlock);
867 if (error != fxRangeErr)
896 error = CreateExtentRecord(vcb, &foundKey, foundData, &hint);
897 if (error == fxOvFlErr)
898 error = dskFulErr;
905 error = UpdateExtentRecord(vcb, fcb, &foundKey, foundData, hint);
909 return (error);
1068 if (err != fxRangeErr) // Any real error?
1194 // return a disk full error.
1228 // chunk. If we didn't get all we wanted, then adjust the error to disk full.
1319 // shouldn't that be an error?).
1354 if (err != noErr) goto ErrorExit; // got some error, so return it
1468 int error = 0;
1491 error = BlockDeallocate(vcb, fcb->fcbExtents[i].startBlock, blkcnt);
1497 if (error ) {
1501 error = 0;
1503 FTOC(fcb)->c_desc.cd_nameptr ? (const char *)FTOC(fcb)->c_desc.cd_nameptr : "", error);
1529 error = FindExtentRecord(vcb, forkType, fileID, startblk, false, NULL, extents, NULL);
1530 if (error) {
1536 if (error != btNotFound)
1538 FTOC(fcb)->c_desc.cd_nameptr ? (const char *)FTOC(fcb)->c_desc.cd_nameptr : "", error);
1539 error = 0;
1549 error = BlockDeallocate(vcb, extents[i].startBlock, blkcnt);
1550 if (error) {
1552 FTOC(fcb)->c_desc.cd_nameptr ? (const char *)FTOC(fcb)->c_desc.cd_nameptr : "", error);
1553 error = 0;
1564 error = DeleteExtentRecord(vcb, forkType, fileID, startblk);
1565 if (error) {
1567 FTOC(fcb)->c_desc.cd_nameptr ? (const char *)FTOC(fcb)->c_desc.cd_nameptr : "", error);
1568 error = 0;
1592 return MacToVFSError(error);
1685 // Finally, return an error to the caller
1717 // (other) (some other internal I/O error)
1776 // in the extents file. Return the FCB's extents and a range error.
1783 // we got a range error).
1789 // If we get here, there was either a BTree error, or we found an appropriate record.
1820 // (other) = error from BTree