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

/xnu-2422.115.4/bsd/hfs/
H A Dhfs_lookup.c164 struct cat_desc cndesc; local
220 bzero(&cndesc, sizeof(cndesc));
221 cndesc.cd_nameptr = (const u_int8_t *)cnp->cn_nameptr;
222 cndesc.cd_namelen = cnp->cn_namelen;
223 cndesc.cd_parentcnid = dcp->c_fileid;
224 cndesc.cd_hint = dcp->c_childhint;
228 retval = cat_lookup(hfsmp, &cndesc, 0, force_casesensitive_lookup, &desc, &attr, &fork, NULL);
H A Dhfs_vfsutils.c106 struct cat_desc cndesc; local
171 bzero(&cndesc, sizeof(cndesc));
172 cndesc.cd_parentcnid = kHFSRootParentID;
173 cndesc.cd_flags |= CD_ISMETA;
182 cndesc.cd_nameptr = hfs_extname;
183 cndesc.cd_namelen = strlen((char *)hfs_extname);
184 cndesc.cd_cnid = cnattr.ca_fileid = kHFSExtentsFileID;
197 error = hfs_getnewvnode(hfsmp, NULL, NULL, &cndesc, 0, &cnattr, &fork,
219 cndesc
324 struct cat_desc cndesc; local
[all...]
H A Dhfs_btreeio.c640 struct cat_desc cndesc; local
687 bzero(&cndesc, sizeof(cndesc));
688 cndesc.cd_parentcnid = kHFSRootParentID;
689 cndesc.cd_flags |= CD_ISMETA;
690 cndesc.cd_nameptr = (const u_int8_t *)hfs_attrname;
691 cndesc.cd_namelen = strlen(hfs_attrname);
692 cndesc.cd_cnid = kHFSAttributesFileID;
697 cnattr.ca_fileid = cndesc.cd_cnid;
702 result = hfs_getnewvnode(hfsmp, NULL, NULL, &cndesc,
[all...]
H A Dhfs_link.c685 struct cat_desc cndesc; local
720 cndesc.cd_flags = vnode_isdir(vp) ? CD_ISDIR : 0;
721 cndesc.cd_encoding = cp->c_desc.cd_encoding;
722 cndesc.cd_nameptr = (const u_int8_t *)cnp->cn_nameptr;
723 cndesc.cd_namelen = cnp->cn_namelen;
724 cndesc.cd_parentcnid = dcp->c_fileid;
725 cndesc.cd_hint = dcp->c_childhint;
728 if (cndesc.cd_flags & CD_ISDIR) {
734 if ((error = cat_lookuplink(hfsmp, &cndesc, &cndesc
[all...]
H A Dhfs_cnode.c1496 struct cat_desc cndesc; local
1513 bzero(&cndesc, sizeof(cndesc));
1514 cndesc.cd_nameptr = (const u_int8_t *)cnp->cn_nameptr;
1515 cndesc.cd_namelen = cnp->cn_namelen;
1516 cndesc.cd_parentcnid = VTOC(dvp)->c_fileid;
1517 cndesc.cd_hint = VTOC(dvp)->c_childhint;
1535 lookup = cat_lookup (hfsmp, &cndesc, 0, 0, NULL, &attr, &fork, NULL);
H A Dhfs_vfsops.c570 struct cat_desc cndesc; local
582 error = cat_lookup(args->hfsmp, &cp->c_desc, 0, 0, &cndesc, &cnattr, NULL, NULL);
608 replace_desc(cp, &cndesc);
610 if (cndesc.cd_cnid == kHFSRootFolderID) {
615 cat_releasedesc(&cndesc);
843 struct cat_desc cndesc; local
988 if ((error = cat_idlookup(hfsmp, kHFSRootFolderID, 0, 0, &cndesc, NULL, NULL)))
990 vcb->volumeNameEncodingHint = cndesc.cd_encoding;
991 bcopy(cndesc.cd_nameptr, vcb->vcbVN, min(255, cndesc
3262 struct cat_desc cndesc; local
[all...]

Completed in 87 milliseconds