/darwin-on-arm/xnu/bsd/hfs/hfscommon/Misc/ |
H A D | FileExtentMapping.c | 139 const FCB *fcb, 144 const FCB *fcb, 183 FCB *fcb, 227 FCB * fcb; local 236 fcb = GetFileControlBlock(vcb->extentsRefNum); 258 err = BTSearchRecord(fcb, btIterator, &btRecord, &btRecordSize, btIterator); 261 err = BTIterateRecord(fcb, kBTreePrevRecord, btIterator, &btRecord, &btRecordSize); 316 err = BTSearchRecord(fcb, btIterator, &btRecord, &btRecordSize, btIterator); 319 err = BTIterateRecord(fcb, kBTreePrevRecord, btIterator, &btRecord, &btRecordSize); 479 FCB *fcb, // FC 477 MapFileBlockC( ExtendedVCB *vcb, FCB *fcb, size_t numberOfBytes, off_t offset, daddr64_t *startSector, size_t *availableBytes) argument 713 FCB * fcb; local 871 AddFileExtent(ExtendedVCB *vcb, FCB *fcb, u_int32_t startBlock, u_int32_t blockCount) argument 939 ExtendFileC( ExtendedVCB *vcb, FCB *fcb, int64_t bytesToAdd, u_int32_t blockHint, u_int32_t flags, int64_t *actualBytesAdded) argument 1338 TruncateFileC( ExtendedVCB *vcb, FCB *fcb, int64_t peof, int deleted, int rsrc, uint32_t fileid, Boolean truncateToExtent) argument 1529 HeadTruncateFile( ExtendedVCB *vcb, FCB *fcb, u_int32_t headblks) argument 1794 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 1898 UpdateExtentRecord(ExtendedVCB *vcb, FCB *fcb, int deleted, const HFSPlusExtentKey *extentFileKey, const HFSPlusExtentRecord extentData, u_int32_t extentBTreeHint) argument 2024 GetFCBExtentRecord( const FCB *fcb, HFSPlusExtentRecord extents) argument 2083 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 );
|
/darwin-on-arm/xnu/bsd/hfs/hfscommon/headers/ |
H A D | FileMgrInternal.h | 165 #define GetFileRefNumFromFCB(fcb) FTOV((fcb)) 284 TruncateFileC (ExtendedVCB *vcb, FCB *fcb, int64_t peof, int deleted, 289 FCB * fcb, 297 FCB * fcb, 303 OSErr HeadTruncateFile(ExtendedVCB *vcb, FCB *fcb, u_int32_t headblks); 306 AddFileExtent (ExtendedVCB *vcb, FCB *fcb, u_int32_t startBlock, u_int32_t blockCount); 311 FCB * fcb,
|
/darwin-on-arm/xnu/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 ); 140 FCB *fcb; local 151 fcb = GetFileControlBlock(volume->catalogRefNum); 152 btcb = (BTreeControlBlock *)fcb->fcbBTCBPtr; 160 result = BTSearchRecord(fcb, searchIterator, &btRecord, &tempSize, searchIterator); 278 FCB * fcb; local 281 fcb = GetFileControlBlock(volume->catalogRefNum); 282 result = BTFlushPath(fcb); [all...] |
H A D | FileIDsServices.c | 432 FCB * fcb; local 460 fcb = GetFileControlBlock(vcb->extentsRefNum); 514 err = BTSearchRecord(fcb, btIterator, &btRecord, &btRecordSize, btIterator); 539 err = BTIterateRecord(fcb, kBTreeNextRecord, btIterator, &btRecord, &btRecordSize); 584 err = BTInsertRecord(fcb, tmpIterator, &btRecord, btRecordSize); 631 FCB * fcb; local 655 fcb = GetFileControlBlock(vcb->extentsRefNum); 684 err = BTSearchRecord(fcb, btIterator, &btRecord, &btRecordSize, btIterator); 698 err = BTIterateRecord(fcb, kBTreeNextRecord, btIterator, &btRecord, &btRecordSize); 719 err = BTDeleteRecord( fcb, tmpIterato [all...] |
/darwin-on-arm/xnu/bsd/hfs/ |
H A D | hfs_catalog.c | 354 FCB *fcb; local 360 fcb = GetFileControlBlock(HFSTOVCB(hfsmp)->catalogRefNum); 369 result = BTSearchRecord(fcb, &iterator[0], &file_data, &datasize, &iterator[0]); 387 result = BTInsertRecord(fcb, &iterator[1], &thread_data, thread_data.itemSize); 391 (void) BTReplaceRecord(fcb, &iterator[0], &file_data, datasize); 392 (void) BTFlushPath(fcb); 395 (void) BTFlushPath(fcb); 889 FCB * fcb; local 901 fcb = hfsmp->hfs_catalog_cp->c_datafork; 973 result = BTInsertRecord(fcb, 1088 FCB * fcb; local 1384 FCB * fcb; local 1480 FCB * fcb; local 1896 FCB *fcb; local 1974 FCB * fcb; local 2006 FCB * fcb; local 2051 FCB * fcb; local 2112 FCB * fcb; local 2436 FCB * fcb; local 2600 FCB* fcb; local 3198 FCB* fcb; local [all...] |
H A D | hfs_vfsops.c | 5051 FCB *fcb; /* Pointer to the current btree being traversed */ member in struct:hfs_reclaim_extent_info 5261 error = BTReplaceRecord(extent_info->fcb, extent_info->iterator, 5363 error = BTSearchRecord(extent_info->fcb, &iterator, &btdata, &reclen, &iterator); 5474 error = BTDeleteRecord(extent_info->fcb, &iterator); 5491 error = BTInsertRecord(extent_info->fcb, &iterator, &btdata, reclen); 5510 BTFlushPath(extent_info->fcb); 5767 error = BTReplaceRecord(extent_info->fcb, extent_info->iterator, 5917 extent_info->fcb = VTOF(hfsmp->hfs_extents_vp); 6063 error = BTSearchRecord(extent_info->fcb, extent_info->iterator, 6085 error = BTIterateRecord(extent_info->fcb, kBTreeNextRecor 6804 FCB *fcb; local 6933 FCB *fcb; local 7220 FCB *fcb; local [all...] |
H A D | hfs_vfsutils.c | 1381 FCB *fcb; local 1401 fcb = VTOF(hfsmp->hfs_catalog_vp); 1424 (void) BTSearchRecord(fcb, iterator, NULL, NULL, iterator); 1430 result = BTIterateRecord(fcb, kBTreeNextRecord, iterator, &btdata, NULL); 1489 if (BTIterateRecord(fcb, kBTreePrevRecord, iterator,
|