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

/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_lookup.c164 struct cat_desc cndesc; local
215 bzero(&cndesc, sizeof(cndesc));
216 cndesc.cd_nameptr = (const u_int8_t *)cnp->cn_nameptr;
217 cndesc.cd_namelen = cnp->cn_namelen;
218 cndesc.cd_parentcnid = dcp->c_fileid;
219 cndesc.cd_hint = dcp->c_childhint;
223 retval = cat_lookup(hfsmp, &cndesc, 0, &desc, &attr, &fork, NULL);
H A Dhfs_vfsutils.c99 struct cat_desc cndesc; local
164 bzero(&cndesc, sizeof(cndesc));
165 cndesc.cd_parentcnid = kHFSRootParentID;
166 cndesc.cd_flags |= CD_ISMETA;
175 cndesc.cd_nameptr = hfs_extname;
176 cndesc.cd_namelen = strlen((char *)hfs_extname);
177 cndesc.cd_cnid = cnattr.ca_fileid = kHFSExtentsFileID;
190 error = hfs_getnewvnode(hfsmp, NULL, NULL, &cndesc, 0, &cnattr, &fork,
212 cndesc
315 struct cat_desc cndesc; local
[all...]
H A Dhfs_btreeio.c615 struct cat_desc cndesc; local
662 bzero(&cndesc, sizeof(cndesc));
663 cndesc.cd_parentcnid = kHFSRootParentID;
664 cndesc.cd_flags |= CD_ISMETA;
665 cndesc.cd_nameptr = (const u_int8_t *)hfs_attrname;
666 cndesc.cd_namelen = strlen(hfs_attrname);
667 cndesc.cd_cnid = kHFSAttributesFileID;
672 cnattr.ca_fileid = cndesc.cd_cnid;
677 result = hfs_getnewvnode(hfsmp, NULL, NULL, &cndesc,
[all...]
H A Dhfs_link.c679 struct cat_desc cndesc; local
714 cndesc.cd_flags = vnode_isdir(vp) ? CD_ISDIR : 0;
715 cndesc.cd_encoding = cp->c_desc.cd_encoding;
716 cndesc.cd_nameptr = (const u_int8_t *)cnp->cn_nameptr;
717 cndesc.cd_namelen = cnp->cn_namelen;
718 cndesc.cd_parentcnid = dcp->c_fileid;
719 cndesc.cd_hint = dcp->c_childhint;
722 if (cndesc.cd_flags & CD_ISDIR) {
728 if ((error = cat_lookuplink(hfsmp, &cndesc, &cndesc
[all...]
H A Dhfs_cnode.c1459 struct cat_desc cndesc; local
1476 bzero(&cndesc, sizeof(cndesc));
1477 cndesc.cd_nameptr = (const u_int8_t *)cnp->cn_nameptr;
1478 cndesc.cd_namelen = cnp->cn_namelen;
1479 cndesc.cd_parentcnid = VTOC(dvp)->c_fileid;
1480 cndesc.cd_hint = VTOC(dvp)->c_childhint;
1498 lookup = cat_lookup (hfsmp, &cndesc, 0, NULL, &attr, &fork, NULL);
H A Dhfs_vfsops.c599 struct cat_desc cndesc; local
611 error = cat_lookup(args->hfsmp, &cp->c_desc, 0, &cndesc, &cnattr, NULL, NULL);
637 replace_desc(cp, &cndesc);
639 if (cndesc.cd_cnid == kHFSRootFolderID) {
644 cat_releasedesc(&cndesc);
863 struct cat_desc cndesc; local
1008 if ((error = cat_idlookup(hfsmp, kHFSRootFolderID, 0, 0, &cndesc, NULL, NULL)))
1010 vcb->volumeNameEncodingHint = cndesc.cd_encoding;
1011 bcopy(cndesc.cd_nameptr, vcb->vcbVN, min(255, cndesc
3230 struct cat_desc cndesc; local
[all...]

Completed in 45 milliseconds