Lines Matching refs:desc
163 struct cat_desc desc;
180 bzero(&desc, sizeof(desc));
223 retval = cat_lookup(hfsmp, &cndesc, 0, &desc, &attr, &fork, NULL);
228 dcp->c_childhint = desc.cd_hint;
237 if (desc.cd_cnid == hfsmp->hfs_private_desc[FILE_HARDLINKS].cd_cnid ||
238 desc.cd_cnid == hfsmp->hfs_private_desc[DIR_HARDLINKS].cd_cnid) {
332 if (cnp->cn_namelen != desc.cd_namelen)
335 retval = hfs_getnewvnode(hfsmp, dvp, cnp, &desc, 0, &attr, &fork, &tvp, &newvnode_flags);
371 cat_releasedesc (&desc);
388 cat_releasedesc (&desc);
414 cat_releasedesc(&desc);
507 struct cat_desc desc;
513 desc.cd_nameptr = (const u_int8_t *)cnp->cn_nameptr;
514 desc.cd_namelen = cnp->cn_namelen;
515 desc.cd_parentcnid = dcp->c_fileid;
516 desc.cd_hint = dcp->c_childhint;
517 desc.cd_encoding = 0;
518 desc.cd_cnid = 0;
519 desc.cd_flags = S_ISDIR(cp->c_mode) ? CD_ISDIR : 0;
544 error = cat_lookup(VTOHFS(vp), &desc, 0, &desc, &lookup_attr, NULL, NULL);
556 replace_desc (cp, &desc);