/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/hfscommon/Misc/ |
H A D | FileExtentMapping.c | 139 const FCB *fcb, 144 const FCB *fcb, 183 FCB *fcb, 226 FCB * fcb; local 235 fcb = GetFileControlBlock(vcb->extentsRefNum); 254 err = BTSearchRecord(fcb, btIterator, &btRecord, &btRecordSize, btIterator); 257 err = BTIterateRecord(fcb, kBTreePrevRecord, btIterator, &btRecord, &btRecordSize); 312 err = BTSearchRecord(fcb, btIterator, &btRecord, &btRecordSize, btIterator); 315 err = BTIterateRecord(fcb, kBTreePrevRecord, btIterator, &btRecord, &btRecordSize); 468 FCB *fcb, // FC 466 MapFileBlockC( ExtendedVCB *vcb, FCB *fcb, size_t numberOfBytes, off_t offset, daddr64_t *startSector, size_t *availableBytes) argument 694 FCB * fcb; local 853 AddFileExtent(ExtendedVCB *vcb, FCB *fcb, u_int32_t startBlock, u_int32_t blockCount) argument 922 ExtendFileC( ExtendedVCB *vcb, FCB *fcb, int64_t bytesToAdd, u_int32_t blockHint, u_int32_t flags, int64_t *actualBytesAdded) argument 1279 TruncateFileC( ExtendedVCB *vcb, FCB *fcb, int64_t peof, Boolean truncateToExtent) argument 1455 HeadTruncateFile( ExtendedVCB *vcb, FCB *fcb, u_int32_t headblks) argument 1720 SearchExtentFile( ExtendedVCB *vcb, const FCB *fcb, int64_t filePosition, HFSPlusExtentKey *foundExtentKey, HFSPlusExtentRecord foundExtentData, u_int32_t *foundExtentIndex, u_int32_t *extentBTreeHint, u_int32_t *endingFABNPlusOne ) argument 1823 UpdateExtentRecord( ExtendedVCB *vcb, FCB *fcb, const HFSPlusExtentKey *extentFileKey, const HFSPlusExtentRecord extentData, u_int32_t extentBTreeHint) argument 1945 GetFCBExtentRecord( const FCB *fcb, HFSPlusExtentRecord extents) argument 2005 NodesAreContiguous( ExtendedVCB *vcb, FCB *fcb, u_int32_t nodeSize) argument [all...] |
H A D | BTreeWrapper.c | 46 FCB *fcb; 51 fcb = GetFileControlBlock(refNum); 52 btcb = (BTreeControlBlock*) fcb->fcbBTCBPtr; 75 result = BTSearchRecord( fcb, &searchIterator, &btRecord, dataSize, &searchIterator ); 101 FCB *fcb; local 106 fcb = GetFileControlBlock(refNum); 107 btcb = (BTreeControlBlock*) fcb->fcbBTCBPtr; 123 result = BTReplaceRecord( fcb, &iterator, &btRecord, dataSize );
|
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/hfscommon/headers/ |
H A D | FileMgrInternal.h | 181 #define GetFileRefNumFromFCB(fcb) FTOV((fcb)) 271 FCB * fcb, 277 FCB * fcb, 285 FCB * fcb, 291 OSErr HeadTruncateFile(ExtendedVCB *vcb, FCB *fcb, u_int32_t headblks); 294 AddFileExtent (ExtendedVCB *vcb, FCB *fcb, u_int32_t startBlock, u_int32_t blockCount); 299 FCB * fcb,
|
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/ |
H A D | hfs_catalog.c | 355 FCB *fcb; local 361 fcb = GetFileControlBlock(HFSTOVCB(hfsmp)->catalogRefNum); 370 result = BTSearchRecord(fcb, &iterator[0], &file_data, &datasize, &iterator[0]); 388 result = BTInsertRecord(fcb, &iterator[1], &thread_data, thread_data.itemSize); 392 (void) BTReplaceRecord(fcb, &iterator[0], &file_data, datasize); 393 (void) BTFlushPath(fcb); 396 (void) BTFlushPath(fcb); 796 FCB * fcb; local 808 fcb = hfsmp->hfs_catalog_cp->c_datafork; 867 result = BTInsertRecord(fcb, 981 FCB * fcb; local 1269 FCB * fcb; local 1364 FCB * fcb; local 1748 FCB *fcb; local 1827 FCB * fcb; local 1858 FCB * fcb; local 1903 FCB * fcb; local 1966 FCB * fcb; local 2271 FCB * fcb; local 2436 FCB* fcb; local 2986 FCB* fcb; local [all...] |
H A D | hfs_vfsops.c | 4095 FCB *fcb; local 4118 fcb = VTOF(hfsmp->hfs_extents_vp); 4120 error = BTSearchRecord(fcb, iterator, &btdata, NULL, iterator); 4165 error = BTUpdateRecord(fcb, iterator, (IterateCallBackProcPtr) hfs_relocate_callback, &record); 4180 error = BTIterateRecord(fcb, kBTreeNextRecord, iterator, &btdata, NULL); 4471 FCB *fcb; local 4565 fcb = VTOF(hfsmp->hfs_catalog_vp); 4575 error = BTIterateRecord(fcb, kBTreeFirstRecord, iterator, NULL, NULL); 4584 error = BTIterateRecord(fcb, kBTreeNextRecord, iterator, &btdata, NULL); 4766 FCB *fcb; local [all...] |
H A D | hfs_vfsutils.c | 1189 FCB *fcb; local 1208 fcb = VTOF(hfsmp->hfs_catalog_vp); 1231 (void) BTSearchRecord(fcb, iterator, NULL, NULL, iterator); 1237 result = BTIterateRecord(fcb, kBTreeNextRecord, iterator, &btdata, NULL); 1295 if (BTIterateRecord(fcb, kBTreePrevRecord, iterator,
|
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/hfscommon/Catalog/ |
H A D | CatalogUtilities.c | 102 FCB *fcb; local 106 fcb = GetFileControlBlock(volume->catalogRefNum); 116 result = BTSearchRecord( fcb, &searchIterator, &btRecord, &tempSize, &searchIterator ); 290 FCB * fcb; local 293 fcb = GetFileControlBlock(volume->catalogRefNum); 294 result = BTFlushPath(fcb); 298 //--- check if catalog's fcb is dirty... 300 if ( 0 /*fcb->fcbFlags & fcbModifiedMask*/ )
|
H A D | FileIDsServices.c | 378 FCB * fcb; local 390 fcb = GetFileControlBlock(vcb->extentsRefNum); 444 err = BTSearchRecord(fcb, &btIterator, &btRecord, &btRecordSize, &btIterator); 467 err = BTIterateRecord(fcb, kBTreeNextRecord, &btIterator, &btRecord, &btRecordSize); 504 err = BTInsertRecord(fcb, &tmpIterator, &btRecord, btRecordSize); 544 FCB * fcb; local 552 fcb = GetFileControlBlock(vcb->extentsRefNum); 581 err = BTSearchRecord(fcb, &btIterator, &btRecord, &btRecordSize, &btIterator); 596 err = BTIterateRecord(fcb, kBTreeNextRecord, &btIterator, &btRecord, &btRecordSize); 610 err = BTDeleteRecord( fcb, [all...] |