Lines Matching refs:to_desc
136 struct cat_desc to_desc;
181 bzero(&to_desc, sizeof(to_desc));
182 to_desc.cd_parentcnid = hfsmp->hfs_private_desc[type].cd_cnid;
183 to_desc.cd_cnid = cp->c_fileid;
184 to_desc.cd_flags = (type == DIR_HARDLINKS) ? CD_ISDIR : 0;
203 to_desc.cd_nameptr = (const u_int8_t *)inodename;
204 to_desc.cd_namelen = strlen(inodename);
207 &to_desc, NULL);
235 err = cat_rename(hfsmp, &to_desc, &dcp->c_desc, &cp->c_desc, NULL);
284 err = cat_rename(hfsmp, &to_desc, &dcp->c_desc, &cp->c_desc, NULL);
730 struct cat_desc to_desc;
742 bzero(&to_desc, sizeof(to_desc));
751 to_desc.cd_flags = CD_ISDIR;
757 to_desc.cd_flags = 0;
764 to_desc.cd_nameptr = (const u_int8_t *)delname;
765 to_desc.cd_namelen = strlen(delname);
766 to_desc.cd_parentcnid = hfsmp->hfs_private_desc[FILE_HARDLINKS].cd_cnid;
767 to_desc.cd_cnid = cp->c_fileid;
770 &to_desc, (struct cat_desc *)NULL);