Lines Matching refs:hfs

41 #include "hfs.h"
170 from hfs.h:
667 keyp->hfs.keyLength = kHFSCatalogKeyMinimumLength + keyp->hfs.nodeName[0];
693 promotekey(hfsmp, &keyp->hfs, pluskey, &encoding);
747 if (keyp->hfs.nodeName[0] == 0) {
752 keyp->hfs.keyLength = kHFSCatalogKeyMinimumLength + keyp->hfs.nodeName[0];
788 printf("hfs: cat_idlookup: Requested cnid (%d / %08x) != dcnid (%d / %08x)\n", cnid, cnid, dcnid, dcnid);
981 printf ("hfs: set hardlink bit on vol=%s cnid=%u inoid=%u\n", hfsmp->vcbVN, cnid, ilink);
993 printf ("hfs: clear hardlink bit on vol=%s cnid=%u\n", hfsmp->vcbVN, cnid);
998 printf ("hfs: set linkcount=1 on vol=%s cnid=%u old=%u\n", hfsmp->vcbVN, cnid, attrp->ca_linkcount);
1227 printf ("hfs: cat_create() failed to delete thread record id=%u on vol=%s\n", new_fileid, hfsmp->vcbVN);
1494 printf("hfs: cat_create: could not undo (BTInsert = %d)\n", err);
1521 printf("hfs: cat_create: could not undo (BTDelete = %d)\n", err);
1687 printf ("hfs: cat_delete() failed to delete thread record id=%u on vol=%s\n", cnid, hfsmp->vcbVN);
1798 if ((ckp->hfs.parentID != descp->cd_parentcnid) ||
1815 if ((ckp->hfs.parentID != descp->cd_parentcnid) ||
1861 printf("hfs: catrec_update: id %d != %d, vol=%s\n", dir->folderID, attrp->ca_fileid, hfsmp->vcbVN);
2014 panic("hfs: catrec_update: rsrc fork == data fork");
2144 printf("hfs: cat_check_link_ancestry: getkey failed id=%u, vol=%s\n", cnid, hfsmp->vcbVN);
2149 printf("hfs: cat_check_link_ancestry: cannot find id=%u, vol=%s\n", cnid, hfsmp->vcbVN);
2181 printf("hfs: update_siblinglinks_callback: unexpected rec type %d\n", crp->recordType);
2194 printf("hfs: update_siblinglinks_callback: file %d isn't a chain\n", file->fileID);
2224 printf("hfs: cat_update_siblinglinks: couldn't resolve cnid=%d, vol=%s\n", linkfileid, hfsmp->vcbVN);
2483 printf("hfs: cat_createlink: err %d from buildkey\n", result);
2578 printf("hfs: cat_createlink: BTInsertRecord err=%d, vol=%s\n", MacToVFSError(result), hfsmp->vcbVN);
2582 printf("hfs: cat_createlink() failed to delete thread record on volume %s\n", hfsmp->vcbVN);
2849 parentcnid = state->stdhfs ? key->hfs.parentID : key->hfsPlus.parentID;
3472 curID = ckp->hfs.parentID;
3496 cnp = (const CatalogName*) ckp->hfs.nodeName;
3811 curID = ckp->hfs.parentID;
3832 printf("hfs: cat_findposition: invalid record type %d in dir %d\n",
4056 printf("hfs: cat_resolvelink: can't find inode=%s on vol=%s\n", inodename, hfsmp->vcbVN);
4124 keyp->hfs.keyLength = kHFSCatalogKeyMinimumLength + keyp->hfs.nodeName[0];
4125 bcopy(keyp, key, keyp->hfs.keyLength + 1);
4387 * track of whether or not the file or folder is hfs locked
4448 * promotekey - promote hfs key to hfs plus key
4480 * promotefork - promote hfs fork info to hfs plus
4518 * promoteattr - promote standard hfs catalog attributes to hfs plus
4624 key->hfs.keyLength = kHFSCatalogKeyMinimumLength;
4625 key->hfs.reserved = 0;
4626 key->hfs.parentID = parentID;
4627 key->hfs.nodeName[0] = 0;
4677 printf("hfs: getcnid: unknown recordType=%d\n", crp->recordType);
4706 panic("hfs: getparentcnid: unknown recordType (crp @ %p)\n", recp);
4793 printf ("hfs: cat_lookup_dirlink(): Error looking up file record for id=%u (error=%d)\n", dirlink_id, error);
4799 printf ("hfs: cat_lookup_dirlink(): Requested cnid=%u != found_cnid=%u\n", dirlink_id, outdescp->cd_cnid);