/xnu-2422.115.4/bsd/hfs/hfscommon/Misc/ |
H A D | FileExtentMapping.c | 141 const FCB *fcb, 146 const FCB *fcb, 185 FCB *fcb, 229 FCB * fcb; local 238 fcb = GetFileControlBlock(vcb->extentsRefNum); 262 err = BTSearchRecord(fcb, btIterator, &btRecord, &btRecordSize, btIterator); 265 err = BTIterateRecord(fcb, kBTreePrevRecord, btIterator, &btRecord, &btRecordSize); 302 err = BTSearchRecord(fcb, btIterator, &btRecord, &btRecordSize, btIterator); 305 err = BTIterateRecord(fcb, kBTreePrevRecord, btIterator, &btRecord, &btRecordSize); 492 FCB *fcb, // FC 490 MapFileBlockC( ExtendedVCB *vcb, FCB *fcb, size_t numberOfBytes, off_t offset, daddr64_t *startSector, size_t *availableBytes) argument 726 FCB * fcb; local 885 AddFileExtent(ExtendedVCB *vcb, FCB *fcb, u_int32_t startBlock, u_int32_t blockCount) argument 953 ExtendFileC( ExtendedVCB *vcb, FCB *fcb, int64_t bytesToAdd, u_int32_t blockHint, u_int32_t flags, int64_t *actualBytesAdded) argument 1388 TruncateFileC( ExtendedVCB *vcb, FCB *fcb, int64_t peof, int deleted, int rsrc, uint32_t fileid, Boolean truncateToExtent) argument 1582 HeadTruncateFile( ExtendedVCB *vcb, FCB *fcb, u_int32_t headblks) argument 1848 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 1952 UpdateExtentRecord(ExtendedVCB *vcb, FCB *fcb, int deleted, const HFSPlusExtentKey *extentFileKey, const HFSPlusExtentRecord extentData, u_int32_t extentBTreeHint) argument 2084 GetFCBExtentRecord( const FCB *fcb, HFSPlusExtentRecord extents) argument 2143 NodesAreContiguous( ExtendedVCB *vcb, FCB *fcb, u_int32_t nodeSize) argument [all...] |
H A D | BTreeWrapper.c | 44 FCB *fcb; local 54 fcb = GetFileControlBlock(refNum); 55 btcb = (BTreeControlBlock*) fcb->fcbBTCBPtr; 73 result = BTReplaceRecord( fcb, iterator, &btRecord, dataSize );
|
/xnu-2422.115.4/bsd/hfs/hfscommon/headers/ |
H A D | FileMgrInternal.h | 165 #define GetFileRefNumFromFCB(fcb) FTOV((fcb)) 273 TruncateFileC (ExtendedVCB *vcb, FCB *fcb, int64_t peof, int deleted, 278 FCB * fcb, 286 FCB * fcb, 292 OSErr HeadTruncateFile(ExtendedVCB *vcb, FCB *fcb, u_int32_t headblks); 295 AddFileExtent (ExtendedVCB *vcb, FCB *fcb, u_int32_t startBlock, u_int32_t blockCount); 300 FCB * fcb,
|
/xnu-2422.115.4/bsd/hfs/hfscommon/Catalog/ |
H A D | CatalogUtilities.c | 59 FCB *fcb; local 68 fcb = GetFileControlBlock(volume->catalogRefNum); 78 result = BTSearchRecord( fcb, searchIterator, &btRecord, &tempSize, searchIterator ); 143 FCB *fcb; local 154 fcb = GetFileControlBlock(volume->catalogRefNum); 155 btcb = (BTreeControlBlock *)fcb->fcbBTCBPtr; 163 result = BTSearchRecord(fcb, searchIterator, &btRecord, &tempSize, searchIterator); 286 FCB * fcb; local 290 fcb = GetFileControlBlock(volume->catalogRefNum); 291 result = BTFlushPath(fcb); [all...] |
H A D | FileIDsServices.c | 453 FCB * fcb; local 481 fcb = GetFileControlBlock(vcb->extentsRefNum); 541 err = BTSearchRecord(fcb, btIterator, &btRecord, &btRecordSize, btIterator); 566 err = BTIterateRecord(fcb, kBTreeNextRecord, btIterator, &btRecord, &btRecordSize); 622 err = BTInsertRecord(fcb, tmpIterator, &btRecord, btRecordSize); 669 FCB * fcb; local 694 fcb = GetFileControlBlock(vcb->extentsRefNum); 727 err = BTSearchRecord(fcb, btIterator, &btRecord, &btRecordSize, btIterator); 741 err = BTIterateRecord(fcb, kBTreeNextRecord, btIterator, &btRecord, &btRecordSize); 769 err = BTDeleteRecord( fcb, tmpIterato [all...] |
/xnu-2422.115.4/bsd/hfs/ |
H A D | hfs_catalog.c | 576 FCB *fcb; local 582 fcb = GetFileControlBlock(HFSTOVCB(hfsmp)->catalogRefNum); 591 result = BTSearchRecord(fcb, &iterator[0], &file_data, &datasize, &iterator[0]); 609 result = BTInsertRecord(fcb, &iterator[1], &thread_data, thread_data.itemSize); 613 (void) BTReplaceRecord(fcb, &iterator[0], &file_data, datasize); 614 (void) BTFlushPath(fcb); 617 (void) BTFlushPath(fcb); 1153 FCB * fcb; local 1164 fcb = hfsmp->hfs_catalog_cp->c_datafork; 1199 result = BTInsertRecord(fcb, 1298 FCB * fcb; local 1613 FCB * fcb; local 1709 FCB * fcb; local 2127 FCB *fcb; local 2205 FCB * fcb; local 2237 FCB * fcb; local 2282 FCB * fcb; local 2335 FCB * fcb; local 2446 FCB * fcb; local 2777 FCB * fcb; local 2946 FCB* fcb; local 3546 FCB* fcb; local [all...] |
H A D | hfs_vfsops.c | 5123 FCB *fcb; /* Pointer to the current btree being traversed */ member in struct:hfs_reclaim_extent_info 5333 error = BTReplaceRecord(extent_info->fcb, extent_info->iterator, 5435 error = BTSearchRecord(extent_info->fcb, &iterator, &btdata, &reclen, &iterator); 5546 error = BTDeleteRecord(extent_info->fcb, &iterator); 5563 error = BTInsertRecord(extent_info->fcb, &iterator, &btdata, reclen); 5582 BTFlushPath(extent_info->fcb); 5841 error = BTReplaceRecord(extent_info->fcb, extent_info->iterator, 5991 extent_info->fcb = VTOF(hfsmp->hfs_extents_vp); 6137 error = BTSearchRecord(extent_info->fcb, extent_info->iterator, 6159 error = BTIterateRecord(extent_info->fcb, kBTreeNextRecor 6881 FCB *fcb; local 7010 FCB *fcb; local 7311 FCB *fcb; local [all...] |
H A D | hfs_vfsutils.c | 1535 FCB *fcb; local 1555 fcb = VTOF(hfsmp->hfs_catalog_vp); 1578 (void) BTSearchRecord(fcb, iterator, NULL, NULL, iterator); 1584 result = BTIterateRecord(fcb, kBTreeNextRecord, iterator, &btdata, NULL); 1643 if (BTIterateRecord(fcb, kBTreePrevRecord, iterator,
|