Searched refs:cndesc (Results 1 - 6 of 6) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/
H A Dhfs_lookup.c163 struct cat_desc cndesc; local
212 bzero(&cndesc, sizeof(cndesc));
213 cndesc.cd_nameptr = (const u_int8_t *)cnp->cn_nameptr;
214 cndesc.cd_namelen = cnp->cn_namelen;
215 cndesc.cd_parentcnid = dcp->c_fileid;
216 cndesc.cd_hint = dcp->c_childhint;
220 retval = cat_lookup(hfsmp, &cndesc, 0, &desc, &attr, &fork, NULL);
H A Dhfs_vfsutils.c96 struct cat_desc cndesc; local
155 bzero(&cndesc, sizeof(cndesc));
156 cndesc.cd_parentcnid = kHFSRootParentID;
157 cndesc.cd_flags |= CD_ISMETA;
166 cndesc.cd_nameptr = hfs_extname;
167 cndesc.cd_namelen = strlen((char *)hfs_extname);
168 cndesc.cd_cnid = cnattr.ca_fileid = kHFSExtentsFileID;
181 error = hfs_getnewvnode(hfsmp, NULL, NULL, &cndesc, 0, &cnattr, &fork,
195 cndesc
288 struct cat_desc cndesc; local
[all...]
H A Dhfs_btreeio.c582 struct cat_desc cndesc; local
623 bzero(&cndesc, sizeof(cndesc));
624 cndesc.cd_parentcnid = kHFSRootParentID;
625 cndesc.cd_flags |= CD_ISMETA;
626 cndesc.cd_nameptr = (const u_int8_t *)hfs_attrname;
627 cndesc.cd_namelen = strlen(hfs_attrname);
628 cndesc.cd_cnid = kHFSAttributesFileID;
633 cnattr.ca_fileid = cndesc.cd_cnid;
638 result = hfs_getnewvnode(hfsmp, NULL, NULL, &cndesc,
[all...]
H A Dhfs_link.c640 struct cat_desc cndesc; local
676 cndesc.cd_flags = vnode_isdir(vp) ? CD_ISDIR : 0;
677 cndesc.cd_encoding = cp->c_desc.cd_encoding;
678 cndesc.cd_nameptr = (const u_int8_t *)cnp->cn_nameptr;
679 cndesc.cd_namelen = cnp->cn_namelen;
680 cndesc.cd_parentcnid = dcp->c_fileid;
681 cndesc.cd_hint = dcp->c_childhint;
684 if (cndesc.cd_flags & CD_ISDIR) {
690 if ((error = cat_lookuplink(hfsmp, &cndesc, &cndesc
[all...]
H A Dhfs_cnode.c860 struct cat_desc cndesc; local
873 bzero(&cndesc, sizeof(cndesc));
874 cndesc.cd_nameptr = (const u_int8_t *)cnp->cn_nameptr;
875 cndesc.cd_namelen = cnp->cn_namelen;
876 cndesc.cd_parentcnid = VTOC(dvp)->c_fileid;
877 cndesc.cd_hint = VTOC(dvp)->c_childhint;
879 if ((cat_lookup(hfsmp, &cndesc, 0, NULL, &attr, NULL, NULL) == 0) &&
H A Dhfs_vfsops.c405 struct cat_desc cndesc; local
417 error = cat_lookup(args->hfsmp, &cp->c_desc, 0, &cndesc, &cnattr, NULL, NULL);
443 replace_desc(cp, &cndesc);
445 if (cndesc.cd_cnid == kHFSRootFolderID) {
450 cat_releasedesc(&cndesc);
669 struct cat_desc cndesc; local
814 if ((error = cat_idlookup(hfsmp, kHFSRootFolderID, 0, &cndesc, NULL, NULL)))
816 vcb->volumeNameEncodingHint = cndesc.cd_encoding;
817 bcopy(cndesc.cd_nameptr, vcb->vcbVN, min(255, cndesc
2581 struct cat_desc cndesc; local
[all...]

Completed in 42 milliseconds