Lines Matching refs:to_desc
2074 struct cat_desc to_desc;
2084 bzero(&to_desc, sizeof(to_desc));
2085 to_desc.cd_nameptr = (const u_int8_t *)delname;
2086 to_desc.cd_namelen = strlen(delname);
2087 to_desc.cd_parentcnid = hfsmp->hfs_private_desc[FILE_HARDLINKS].cd_cnid;
2088 to_desc.cd_flags = 0;
2089 to_desc.cd_cnid = cp->c_cnid;
2100 &to_desc, (struct cat_desc *)NULL);
2125 (void) cat_update(hfsmp, &to_desc, &cp->c_attr, NULL, NULL);
2290 struct cat_desc to_desc;
2509 bzero(&to_desc, sizeof(to_desc));
2510 to_desc.cd_nameptr = (const u_int8_t *)tcnp->cn_nameptr;
2511 to_desc.cd_namelen = tcnp->cn_namelen;
2512 to_desc.cd_parentcnid = tdcp->c_fileid;
2513 to_desc.cd_flags = fcp->c_desc.cd_flags & ~(CD_HASBUF | CD_DECOMPOSED);
2514 to_desc.cd_cnid = fcp->c_cnid;
2640 error = cat_rename(hfsmp, &from_desc, &tdcp->c_desc, &to_desc, &out_desc);