Lines Matching refs:hfs

41 #include "hfs.h"
443 keyp->hfs.keyLength = kHFSCatalogKeyMinimumLength + keyp->hfs.nodeName[0];
463 promotekey(hfsmp, &keyp->hfs, pluskey, &encoding);
516 if (keyp->hfs.nodeName[0] == 0) {
521 keyp->hfs.keyLength = kHFSCatalogKeyMinimumLength + keyp->hfs.nodeName[0];
556 printf("hfs: cat_idlookup: Requested cnid (%d / %08x) != dcnid (%d / %08x)\n", cnid, cnid, dcnid, dcnid);
737 printf ("hfs: set hardlink bit on vol=%s cnid=%u inoid=%u\n", hfsmp->vcbVN, cnid, ilink);
749 printf ("hfs: clear hardlink bit on vol=%s cnid=%u\n", hfsmp->vcbVN, cnid);
754 printf ("hfs: set linkcount=1 on vol=%s cnid=%u old=%u\n", hfsmp->vcbVN, cnid, attrp->ca_linkcount);
1023 printf ("hfs: cat_create() failed to delete thread record on volume %s\n", hfsmp->vcbVN);
1271 printf("hfs: cat_create: could not undo (BTInsert = %d)", err);
1298 printf("hfs: cat_create: could not undo (BTDelete = %d)", err);
1458 printf ("hfs: cat_delete() failed to delete thread record on volume %s\n", hfsmp->vcbVN);
1570 if ((ckp->hfs.parentID != descp->cd_parentcnid) ||
1586 if ((ckp->hfs.parentID != descp->cd_parentcnid) ||
1630 printf("hfs: catrec_update: id %d != %d\n", dir->folderID, attrp->ca_fileid);
1783 panic("hfs: catrec_update: rsrc fork == data fork");
1913 printf("hfs: cat_check_link_ancestry: getkey for %u failed\n", cnid);
1918 printf("hfs: cat_check_link_ancestry: cannot find %u\n", cnid);
1950 printf("hfs: update_siblinglinks_callback: unexpected rec type %d\n", crp->recordType);
1963 printf("hfs: update_siblinglinks_callback: file %d isn't a chain\n", file->fileID);
1993 printf("hfs: cat_update_siblinglinks: couldn't resolve cnid %d\n", linkfileid);
2149 printf("hfs: cat_createlink: err %d from buildkey\n", result);
2244 printf("hfs: cat_createlink: err %d from BTInsertRecord\n", MacToVFSError(result));
2248 printf("hfs: cat_createlink() failed to delete thread record on volume %s\n", hfsmp->vcbVN);
2508 parentcnid = state->stdhfs ? key->hfs.parentID : key->hfsPlus.parentID;
3125 curID = ckp->hfs.parentID;
3149 cnp = (const CatalogName*) ckp->hfs.nodeName;
3454 curID = ckp->hfs.parentID;
3473 printf("hfs: cat_findposition: invalid record type %d in dir %d\n",
3711 printf("hfs: cat_resolvelink: can't find %s\n", inodename);
3777 keyp->hfs.keyLength = kHFSCatalogKeyMinimumLength + keyp->hfs.nodeName[0];
3778 bcopy(keyp, key, keyp->hfs.keyLength + 1);
4035 * track of whether or not the file or folder is hfs locked
4095 * promotekey - promote hfs key to hfs plus key
4127 * promotefork - promote hfs fork info to hfs plus
4165 * promoteattr - promote standard hfs catalog attributes to hfs plus
4260 key->hfs.keyLength = kHFSCatalogKeyMinimumLength;
4261 key->hfs.reserved = 0;
4262 key->hfs.parentID = parentID;
4263 key->hfs.nodeName[0] = 0;
4311 panic("hfs: getcnid: unknown recordType (crp @ %p)\n", crp);
4337 panic("hfs: getparentcnid: unknown recordType (crp @ %p)\n", recp);
4416 printf ("hfs: cat_lookup_dirlink(): Error looking up file record for id=%u (error=%d)\n", dirlink_id, error);
4422 printf ("hfs: cat_lookup_dirlink(): Requested cnid=%u != found_cnid=%u\n", dirlink_id, outdescp->cd_cnid);