Searched refs:fileID (Results 1 - 14 of 14) sorted by relevance

/darwin-on-arm/xnu/bsd/hfs/hfscommon/Catalog/
H A DFileIDsServices.c162 err = MoveExtents( vcb, srcData.hfsPlusFile.fileID, kHFSBogusExtentFileID, 0,0, isHFSPlus );
172 err = MoveExtents( vcb, destData.hfsPlusFile.fileID, srcData.hfsPlusFile.fileID, 0, 0, isHFSPlus );
178 ExUndo2aPlus: err = DeleteExtents( vcb, srcData.hfsPlusFile.fileID, 0, 0, isHFSPlus );
181 err = MoveExtents( vcb, kHFSBogusExtentFileID, srcData.hfsPlusFile.fileID, 0, 0, isHFSPlus ); // Move the extents back
188 err = MoveExtents( vcb, kHFSBogusExtentFileID, destData.hfsPlusFile.fileID, 0, 0, isHFSPlus );
194 err = DeleteExtents( vcb, destData.hfsPlusFile.fileID, 0, 0, isHFSPlus );
197 err = MoveExtents( vcb, srcData.hfsPlusFile.fileID, destData.hfsPlusFile.fileID, 0, 0, isHFSPlus ); // Move the extents back
206 err = MoveExtents( vcb, srcData.hfsPlusFile.fileID, destDat
629 DeleteExtents( ExtendedVCB *vcb, u_int32_t fileID, int quitEarly, u_int8_t forkType, Boolean isHFSPlus ) argument
[all...]
/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_hotfiles.h80 u_int32_t fileID; /* file ID */ member in struct:HotFileKey
H A Dhfs_endian.c47 * (determined by fileID).
52 int hfs_swap_HFSPlusBTInternalNode (BlockDescriptor *src, HFSCatalogNodeID fileID, enum HFSBTSwapDirection direction);
53 int hfs_swap_HFSBTInternalNode (BlockDescriptor *src, HFSCatalogNodeID fileID, enum HFSBTSwapDirection direction);
385 printf("hfs: node=%lld fileID=%u volume=%s device=%s\n", src->blockNum, VTOC(vp)->c_fileid,
396 HFSCatalogNodeID fileID,
412 if (fileID == kHFSExtentsFileID) {
465 srcKey->fileID = SWAP_BE32 (srcKey->fileID);
480 } else if (fileID == kHFSCatalogFileID) {
629 srcRec->fileID
394 hfs_swap_HFSPlusBTInternalNode( BlockDescriptor *src, HFSCatalogNodeID fileID, enum HFSBTSwapDirection direction ) argument
930 hfs_swap_HFSBTInternalNode( BlockDescriptor *src, HFSCatalogNodeID fileID, enum HFSBTSwapDirection direction ) argument
[all...]
H A Dhfs_hotfiles.c654 cnid = filep->fileID;
667 key->fileID = cnid;
672 printf("hfs_recording_init: BTInsertRecord failed %d (fileid %d)\n", error, key->fileID);
680 key->fileID = cnid;
685 printf("hfs_recording_init: BTInsertRecord failed %d (fileid %d)\n", error, key->fileID);
1000 key->fileID = listp->hfl_hotfile[i].hf_fileid;
1014 printf("hfs: hotfiles_refine: BTUpdateRecord failed %d (file %d)\n", error, key->fileID);
1023 key->fileID = listp->hfl_hotfile[i].hf_fileid;
1030 printf("hfs: hotfiles_refine: BTDeleteRecord failed %d (file %d)\n", error, key->fileID);
1036 key->fileID
[all...]
H A Dhfs_format.h159 u_int32_t fileID; /* file ID */ member in struct:HFSExtentKey
169 u_int32_t fileID; /* file ID */ member in struct:HFSPlusExtentKey
419 u_int32_t fileID; /* file ID */ member in struct:HFSCatalogFile
442 u_int32_t fileID; /* file ID */ member in struct:HFSPlusCatalogFile
555 u_int32_t fileID; /* file associated with attribute */ member in struct:HFSPlusAttrKey
H A Dhfs_vfsops.c825 /* lookup by fileID since name could have changed */
5020 u_int32_t fileID; member in struct:hfs_reclaim_extent_info
5167 if ((extent_info->fileID == kHFSExtentsFileID) && (extents[kHFSPlusExtentDensity - 1].blockCount != 0)) {
5264 printf ("hfs_split_extent: fileID=%u BTReplaceRecord returned error=%d\n", extent_info->fileID, error);
5310 extents_key->fileID = extent_info->fileID;
5366 printf ("hfs_split_extent: fileID=%u startBlock=%u BTSearchRecord error=%d\n", extent_info->fileID, read_recStartBlock, error);
5436 extents_key->fileID
5863 hfs_reclaim_file(struct hfsmount *hfsmp, struct vnode *vp, u_int32_t fileID, u_int8_t forktype, u_long allocLimit, vfs_context_t context) argument
6640 hfs_reclaim_xattr(struct hfsmount *hfsmp, struct vnode *vp, u_int32_t fileID, u_int32_t allocLimit, vfs_context_t context) argument
[all...]
H A Dhfs_catalog.c385 buildthreadkey(file_rec.fileID, 1, (CatalogKey *)&iterator[1].key);
575 cnid_t fileID; local
586 fileID = GetEmbeddedFileID(descp->cd_nameptr, descp->cd_namelen, &prefixlen);
587 if (fileID < (cnid_t)kHFSFirstUserCatalogNodeID)
590 if (fileID == hfsmp->hfs_private_desc[FILE_HARDLINKS].cd_cnid ||
591 fileID == hfsmp->hfs_private_desc[DIR_HARDLINKS].cd_cnid ||
592 fileID == hfsmp->hfs_jnlfileid ||
593 fileID == hfsmp->hfs_jnlinfoblkid) {
597 result = cat_idlookup(hfsmp, fileID, 0,0, outdescp, attrp, forkp);
618 sizeof(utf8), &utf8len, utf8, fileID);
[all...]
H A Dhfs_xattr.c59 u_int32_t fileID; member in struct:listattr_callback_state
1480 /* Check if any attribute record exist for given fileID. This function
1493 file_attribute_exist(struct hfsmount *hfsmp, uint32_t fileID) argument
1514 result = hfs_buildattrkey(fileID, NULL, key);
1526 /* If no next record was found or fileID for next record did not match,
1527 * no more attributes exist for this fileID
1529 if ((result && (result == btNotFound)) || (key->fileID != fileID)) {
1772 state.fileID = cp->c_fileid;
1818 if (state->fileID !
2121 hfs_buildattrkey(u_int32_t fileID, const char *attrname, HFSPlusAttrKey *key) argument
[all...]
H A Dhfs.h855 int hfs_buildattrkey(u_int32_t fileID, const char *attrname, HFSPlusAttrKey *key);
857 int file_attribute_exist(struct hfsmount *hfsmp, uint32_t fileID);
H A Dhfs_search.c469 saved_cnid = recp->fileID;
474 recp->fileID = saved_cnid;
H A Dhfs_vfsutils.c1441 HFS_DELETE_PREFIX, filerec.fileID);
1459 (void) hfs_removeallattr(hfsmp, filerec.fileID);
/darwin-on-arm/xnu/bsd/hfs/hfscommon/Misc/
H A DFileExtentMapping.c118 u_int32_t fileID,
128 u_int32_t fileID,
169 HFSCatalogNodeID fileID,
177 u_int32_t fileID,
205 // fileID File's FileID (CatalogNodeID)
220 u_int32_t fileID,
251 extentKeyPtr->fileID = fileID;
270 if (extentKeyPtr->fileID != fileID || extentKeyPt
217 FindExtentRecord( const ExtendedVCB *vcb, u_int8_t forkType, u_int32_t fileID, u_int32_t startBlock, Boolean allowPrevious, HFSPlusExtentKey *foundKey, HFSPlusExtentRecord foundData, u_int32_t *foundHint) argument
422 DeleteExtentRecord( const ExtendedVCB *vcb, u_int8_t forkType, u_int32_t fileID, u_int32_t startBlock) argument
631 TruncateExtents( ExtendedVCB *vcb, u_int8_t forkType, u_int32_t fileID, u_int32_t startBlock, Boolean * recordDeleted) argument
685 DeallocateFork( ExtendedVCB *vcb, HFSCatalogNodeID fileID, u_int8_t forkType, HFSPlusExtentRecord catalogExtents, Boolean * recordDeleted) argument
1536 HFSCatalogNodeID fileID; local
[all...]
H A DBTreeWrapper.c166 cNodeID = catalogRecord->hfsFile.fileID;
208 cNodeID = catalogRecord->hfsPlusFile.fileID;
/darwin-on-arm/xnu/bsd/hfs/hfscommon/headers/
H A DCatalogPrivate.h116 extern OSErr ResolveFileID( ExtendedVCB *vcb, HFSCatalogNodeID fileID, HFSCatalogNodeID *parentID, Str31 name );

Completed in 66 milliseconds