Lines Matching defs:desc
162 struct cat_desc desc;
177 bzero(&desc, sizeof(desc));
220 retval = cat_lookup(hfsmp, &cndesc, 0, &desc, &attr, &fork, NULL);
225 dcp->c_childhint = desc.cd_hint;
344 if (cnp->cn_namelen != desc.cd_namelen)
347 retval = hfs_getnewvnode(hfsmp, dvp, cnp, &desc, 0, &attr, &fork, &tvp);
392 cat_releasedesc(&desc);
471 struct cat_desc desc;
477 desc.cd_nameptr = (const u_int8_t *)cnp->cn_nameptr;
478 desc.cd_namelen = cnp->cn_namelen;
479 desc.cd_parentcnid = dcp->c_fileid;
480 desc.cd_hint = dcp->c_childhint;
481 desc.cd_encoding = 0;
482 desc.cd_cnid = 0;
483 desc.cd_flags = S_ISDIR(cp->c_mode) ? CD_ISDIR : 0;
486 if (cat_lookup(VTOHFS(vp), &desc, 0, &desc, NULL, NULL, NULL) == 0)
487 replace_desc(cp, &desc);