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

/macosx-10.10.1/xnu-2782.1.97/bsd/hfs/hfscommon/Catalog/
H A DCatalogUtilities.c189 key->hfsPlus.keyLength = kHFSPlusCatalogKeyMinimumLength; // initial key length (4 + 2)
190 key->hfsPlus.parentID = parentID; // set parent ID
191 key->hfsPlus.nodeName.length = 0; // null CName length
194 CopyCatalogName(cName, (CatalogName *) &key->hfsPlus.nodeName, isHFSPlus);
195 key->hfsPlus.keyLength += sizeof(UniChar) * cName->ustr.length; // add CName size to key length
229 key->hfsPlus.keyLength = kHFSPlusCatalogKeyMinimumLength; // initial key length (4 + 2)
230 key->hfsPlus.parentID = parentID; // set parent ID
231 key->hfsPlus.nodeName.length = 0; // null CName length
233 err = utf8_decodestr(name, nameLength, key->hfsPlus.nodeName.unicode,
234 &unicodeBytes, sizeof(key->hfsPlus
[all...]
H A DFileIDsServices.c503 extentKeyPtr->hfsPlus.keyLength = kHFSPlusExtentKeyMaximumLength;
504 extentKeyPtr->hfsPlus.forkType = forkType;
505 extentKeyPtr->hfsPlus.pad = 0;
506 extentKeyPtr->hfsPlus.fileID = srcFileID;
507 extentKeyPtr->hfsPlus.startBlock = 0;
575 foundFileID = extentKeyPtr->hfsPlus.fileID;
585 if (extentKeyPtr->hfsPlus.forkType != forkType) {
611 extentsBuffer[j].extentKey.hfsPlus.fileID = destFileID; // change only the id in the key to dest ID
708 extentKeyPtr->hfsPlus.keyLength = kHFSPlusExtentKeyMaximumLength;
709 extentKeyPtr->hfsPlus
[all...]
/macosx-10.10.1/xnu-2782.1.97/bsd/hfs/hfscommon/headers/
H A DFileMgrInternal.h127 HFSPlusExtentKey hfsPlus; member in union:ExtentKey
134 HFSPlusExtentDescriptor hfsPlus; member in union:ExtentDescriptor
141 HFSPlusExtentRecord hfsPlus; member in union:ExtentRecord
/macosx-10.10.1/hfs-285/fsck_hfs/dfalib/
H A Ddirhardlink.c79 thread_key_parentID = ((CatalogKey *)&(result_iterator.key))->hfsPlus.parentID;
605 (void) utf_encodestr(key->hfsPlus.nodeName.unicode, key->hfsPlus.nodeName.length * 2,
623 if ((parentid != 0) && (key->hfsPlus.parentID != parentid)) {
624 (void) record_inode_badparent(gptr, inode_id, isdir, key->hfsPlus.parentID, parentid);
862 dir_id = key.hfsPlus.parentID;
1031 if (key->hfsPlus.parentID != parent_id) {
1065 (key->hfsPlus.parentID != gptr->filelink_priv_dir_id)) {
1458 &(catrec.hfsPlusFolder), &(catkey.hfsPlus));
1463 (catkey.hfsPlus
[all...]
H A DSRebuildBTree.c892 if ( myKeyPtr->hfsPlus.fileID != theFCBPtr->fcbFileID ||
893 myKeyPtr->hfsPlus.forkType != kDataForkType )
898 if ( myExtentRecord.hfsPlus[ i ].blockCount == 0 )
902 myExtentRecord.hfsPlus[ i ].startBlock,
903 myExtentRecord.hfsPlus[ i ].blockCount );
H A DSRepair.c1711 newParDirID = recordType == kHFSPlusFolderRecord ? keyP->hfsPlus.parentID : keyP->hfs.parentID;
1712 keyName = recordType == kHFSPlusFolderRecord ? (CatalogName *)&keyP->hfsPlus.nodeName : (CatalogName *)&keyP->hfs.nodeName;
2691 fileID = (isHFSPlus == true) ? extentKeyPtr->hfsPlus.fileID : extentKeyPtr->hfs.fileID;
2962 extentRecord.hfsPlus[i].startBlock = 0;
2963 extentRecord.hfsPlus[i].blockCount = 0;
3012 if ((fileID != extentKey.hfsPlus.fileID) ||
3013 (forkType != extentKey.hfsPlus.forkType)) {
3016 foundStartBlock = extentKey.hfsPlus.startBlock;
3133 parentID = isHFSPlus == true ? foundKey.hfsPlus.parentID : foundKey.hfs.parentID;
3194 if (!((foundKey.hfsPlus
[all...]
H A DSCatalog.c183 nodeParentID = isHFSPlus ? keyp->hfsPlus.parentID : keyp->hfs.parentID;
H A DSVerify1.c1767 parID = isHFSPlus == true ? foundKey.hfsPlus.parentID : foundKey.hfs.parentID;
1781 CopyCatalogName( (const CatalogName *) &foundKey.hfsPlus.nodeName, &GPtr->CName, isHFSPlus );
1810 dprP->parentDirID = foundKey.hfsPlus.parentID;
1811 CopyCatalogName( (const CatalogName *) &foundKey.hfsPlus.nodeName, &dprP->directoryName, isHFSPlus );
1880 CopyCatalogName( (const CatalogName *) &foundKey.hfsPlus.nodeName, &GPtr->CName, isHFSPlus );
3234 result = ChkCName( GPtr, (const CatalogName*) &foundKey.hfsPlus.nodeName, isHFSPlus );
3470 CopyCatalogName( (const CatalogName *)&foundKey.hfsPlus.nodeName, &GPtr->CName, isHFSPlus );
3582 key->hfsPlus.keyLength = kHFSPlusCatalogKeyMinimumLength;
3583 key->hfsPlus.parentID = parentID;
3584 key->hfsPlus
[all...]
H A DScavenger.h434 HFSPlusExtentKey hfsPlus; member in union:ExtentKey
441 HFSPlusExtentDescriptor hfsPlus; member in union:ExtentDescriptor
448 HFSPlusExtentRecord hfsPlus; member in union:ExtentRecord
455 HFSPlusCatalogKey hfsPlus; member in union:CatalogKey
H A DSUtils.c697 key->hfsPlus.keyLength = kHFSPlusCatalogKeyMinimumLength; // initial key length (4 + 2)
698 key->hfsPlus.parentID = parentID; // set parent ID
699 key->hfsPlus.nodeName.length = 0; // null CName length
702 CopyCatalogName(cName, (CatalogName *) &key->hfsPlus.nodeName, isHFSPlus);
703 key->hfsPlus.keyLength += sizeof(UniChar) * cName->ustr.length; // add CName size to key length
/macosx-10.10.1/xnu-2782.1.97/bsd/hfs/
H A Dhfs_search.c586 myNodeID = theKeyPtr->hfsPlus.parentID;
714 cnid_t parid = key->hfsPlus.parentID;
728 } else if (key->hfsPlus.parentID == vcb->hfs_private_desc[FILE_HARDLINKS].cd_cnid) {
730 } else if (key->hfsPlus.parentID == vcb->hfs_private_desc[DIR_HARDLINKS].cd_cnid) {
771 matched = ComparePartialUnicodeName(key->hfsPlus.nodeName.unicode,
772 key->hfsPlus.nodeName.length,
779 matched = (UnicodeBinaryCompare(key->hfsPlus.nodeName.unicode,
780 key->hfsPlus.nodeName.length,
785 matched = (FastUnicodeCompare(key->hfsPlus.nodeName.unicode,
786 key->hfsPlus
[all...]
H A Dhfs_catalog.c676 keyp->hfsPlus.keyLength = kHFSPlusCatalogKeyMinimumLength +
677 (keyp->hfsPlus.nodeName.length * 2);
761 if (keyp->hfsPlus.nodeName.length == 0) {
766 keyp->hfsPlus.keyLength = kHFSPlusCatalogKeyMinimumLength +
767 (keyp->hfsPlus.nodeName.length * 2);
907 parentid = keyp->hfsPlus.parentID;
924 if (0 != cat_binarykeycompare(&keyp->hfsPlus, (HFSPlusCatalogKey *)&iterator->key)) {
1873 if (ckp->hfsPlus.parentID != hfsmp->hfs_private_desc[DIR_HARDLINKS].cd_cnid) {
1939 if (ckp->hfsPlus.parentID == hfsmp->hfs_private_desc[FILE_HARDLINKS].cd_cnid) {
2805 parentcnid = state->stdhfs ? key->hfs.parentID : key->hfsPlus
[all...]
H A Dhfs_catalog.h299 HFSPlusCatalogKey hfsPlus; member in union:CatalogKey
H A Dhfs_readwrite.c1083 keyp->hfsPlus.parentID = skip_cp->c_parentcnid;
1098 keyp->hfsPlus.parentID = c_info.parentcnid;
1198 thisNodeID = catkey.hfsPlus.parentID;
1246 thisNodeID = catkey.hfsPlus.parentID;
1518 catkey.hfsPlus.parentID = cnid;
1522 if (i > 0 && catkey.hfsPlus.parentID == prevParent_cnid && access[i-1] == 0 && prev_parent_check_ok) {
1528 myaccess = do_access_check(hfsmp, &error, &cache, catkey.hfsPlus.parentID,
1537 prevParent_cnid = catkey.hfsPlus.parentID;

Completed in 172 milliseconds