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

/xnu-2422.115.4/bsd/hfs/hfscommon/Catalog/
H A DFileIDsServices.c166 err = MoveExtents( vcb, srcData.hfsPlusFile.fileID, kHFSBogusExtentFileID, 0,0, isHFSPlus );
183 err = MoveExtents( vcb, destData.hfsPlusFile.fileID, srcData.hfsPlusFile.fileID, 0, 0, isHFSPlus );
189 ExUndo2aPlus: err = DeleteExtents( vcb, srcData.hfsPlusFile.fileID, 0, 0, isHFSPlus );
192 err = MoveExtents( vcb, kHFSBogusExtentFileID, srcData.hfsPlusFile.fileID, 0, 0, isHFSPlus ); // Move the extents back
205 err = MoveExtents( vcb, kHFSBogusExtentFileID, destData.hfsPlusFile.fileID, 0, 0, isHFSPlus );
211 err = DeleteExtents( vcb, destData.hfsPlusFile.fileID, 0, 0, isHFSPlus );
214 err = MoveExtents( vcb, srcData.hfsPlusFile.fileID, destData.hfsPlusFile.fileID, 0, 0, isHFSPlus ); // Move the extents back
223 err = MoveExtents( vcb, srcData.hfsPlusFile.fileID, destDat
667 DeleteExtents( ExtendedVCB *vcb, u_int32_t fileID, int quitEarly, u_int8_t forkType, Boolean isHFSPlus ) argument
[all...]
/xnu-2422.115.4/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);
56 int hfs_swap_HFSBTInternalNode (BlockDescriptor *src, HFSCatalogNodeID fileID, enum HFSBTSwapDirection direction);
391 printf("hfs: node=%lld fileID=%u volume=%s device=%s\n", src->blockNum, VTOC(vp)->c_fileid,
402 HFSCatalogNodeID fileID,
418 if (fileID == kHFSExtentsFileID) {
471 srcKey->fileID = SWAP_BE32 (srcKey->fileID);
486 } else if (fileID == kHFSCatalogFileID) {
635 srcRec->fileID
400 hfs_swap_HFSPlusBTInternalNode( BlockDescriptor *src, HFSCatalogNodeID fileID, enum HFSBTSwapDirection direction ) argument
937 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);
1008 key->fileID = listp->hfl_hotfile[i].hf_fileid;
1022 printf("hfs: hotfiles_refine: BTUpdateRecord failed %d (file %d)\n", error, key->fileID);
1031 key->fileID = listp->hfl_hotfile[i].hf_fileid;
1038 printf("hfs: hotfiles_refine: BTDeleteRecord failed %d (file %d)\n", error, key->fileID);
1044 key->fileID
[all...]
H A Dhfs_format.h151 u_int32_t fileID; /* file ID */ member in struct:HFSExtentKey
161 u_int32_t fileID; /* file ID */ member in struct:HFSPlusExtentKey
411 u_int32_t fileID; /* file ID */ member in struct:HFSCatalogFile
434 u_int32_t fileID; /* file ID */ member in struct:HFSPlusCatalogFile
547 u_int32_t fileID; /* file associated with attribute */ member in struct:HFSPlusAttrKey
H A Dhfs_vfsops.c805 /* lookup by fileID since name could have changed */
5092 u_int32_t fileID; member in struct:hfs_reclaim_extent_info
5239 if ((extent_info->fileID == kHFSExtentsFileID) && (extents[kHFSPlusExtentDensity - 1].blockCount != 0)) {
5336 printf ("hfs_split_extent: fileID=%u BTReplaceRecord returned error=%d\n", extent_info->fileID, error);
5382 extents_key->fileID = extent_info->fileID;
5438 printf ("hfs_split_extent: fileID=%u startBlock=%u BTSearchRecord error=%d\n", extent_info->fileID, read_recStartBlock, error);
5508 extents_key->fileID
5937 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
6717 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.c607 buildthreadkey(file_rec.fileID, 1, (CatalogKey *)&iterator[1].key);
807 cnid_t fileID; local
818 fileID = GetEmbeddedFileID(descp->cd_nameptr, descp->cd_namelen, &prefixlen);
819 if (fileID < (cnid_t)kHFSFirstUserCatalogNodeID)
822 if (fileID == hfsmp->hfs_private_desc[FILE_HARDLINKS].cd_cnid ||
823 fileID == hfsmp->hfs_private_desc[DIR_HARDLINKS].cd_cnid ||
824 fileID == hfsmp->hfs_jnlfileid ||
825 fileID == hfsmp->hfs_jnlinfoblkid) {
829 result = cat_idlookup(hfsmp, fileID, 0, 0, outdescp, attrp, forkp);
850 sizeof(utf8), &utf8len, utf8, fileID);
[all...]
H A Dhfs_xattr.c59 u_int32_t fileID; member in struct:listattr_callback_state
1534 /* Check if any attribute record exist for given fileID. This function
1547 file_attribute_exist(struct hfsmount *hfsmp, uint32_t fileID) argument
1568 result = hfs_buildattrkey(fileID, NULL, key);
1580 /* If no next record was found or fileID for next record did not match,
1581 * no more attributes exist for this fileID
1583 if ((result && (result == btNotFound)) || (key->fileID != fileID)) {
1835 state.fileID = cp->c_fileid;
1882 if (state->fileID !
2186 hfs_buildattrkey(u_int32_t fileID, const char *attrname, HFSPlusAttrKey *key) argument
[all...]
H A Dhfs.h845 int hfs_buildattrkey(u_int32_t fileID, const char *attrname, HFSPlusAttrKey *key);
847 int file_attribute_exist(struct hfsmount *hfsmp, uint32_t fileID);
H A Dhfs_search.c479 saved_cnid = recp->fileID;
484 recp->fileID = saved_cnid;
H A Dhfs_vfsutils.c1595 HFS_DELETE_PREFIX, filerec.fileID);
1613 (void) hfs_removeallattr(hfsmp, filerec.fileID);
/xnu-2422.115.4/bsd/hfs/hfscommon/Misc/
H A DFileExtentMapping.c120 u_int32_t fileID,
130 u_int32_t fileID,
171 HFSCatalogNodeID fileID,
179 u_int32_t fileID,
207 // fileID File's FileID (CatalogNodeID)
222 u_int32_t fileID,
255 extentKeyPtr->fileID = fileID;
274 if (extentKeyPtr->fileID != fileID || extentKeyPt
219 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
431 DeleteExtentRecord( const ExtendedVCB *vcb, u_int8_t forkType, u_int32_t fileID, u_int32_t startBlock) argument
644 TruncateExtents( ExtendedVCB *vcb, u_int8_t forkType, u_int32_t fileID, u_int32_t startBlock, Boolean * recordDeleted) argument
698 DeallocateFork( ExtendedVCB *vcb, HFSCatalogNodeID fileID, u_int8_t forkType, HFSPlusExtentRecord catalogExtents, Boolean * recordDeleted) argument
1589 HFSCatalogNodeID fileID; local
[all...]
H A DBTreeWrapper.c158 cNodeID = catalogRecord->hfsFile.fileID;
233 cNodeID = catalogRecord->hfsPlusFile.fileID;
/xnu-2422.115.4/bsd/hfs/hfscommon/headers/
H A DCatalogPrivate.h116 extern OSErr ResolveFileID( ExtendedVCB *vcb, HFSCatalogNodeID fileID, HFSCatalogNodeID *parentID, Str31 name );

Completed in 166 milliseconds