Lines Matching refs:tdcp

3616 	struct cnode *tdcp;
3736 tdcp = VTOC(tdvp);
3759 hfs_unlockfour(fdcp, fcp, tdcp, tcp);
3776 if (tdcp->c_flag & (C_NOEXISTS | C_DELETED)) {
3783 * the parent/child relationship with fdcp and tdcp, as well as the
3803 hfs_unlockfour(fdcp, fcp, tdcp, tcp);
3814 tdcp->c_flag |= C_DIR_MODIFICATION;
3830 if (cat_check_link_ancestry(hfsmp, tdcp->c_fileid, 0)) {
3854 if (tdcp->c_parentcnid == fcp->c_fileid) {
3910 if (tvp && (tdcp->c_mode & S_ISTXT) &&
3912 (kauth_cred_getuid(vfs_context_ucred(tcnp->cn_context)) != tdcp->c_uid) &&
3942 to_desc.cd_parentcnid = tdcp->c_fileid;
3961 if (cat_check_link_ancestry(hfsmp, tdcp->c_fileid, 0)) {
4154 error = cat_rename(hfsmp, &from_desc, &tdcp->c_desc, &to_desc, &out_desc);
4165 if (tdcp->c_flag & C_NEG_ENTRIES) {
4167 tdcp->c_flag &= ~C_NEG_ENTRIES;
4172 fcp->c_parentcnid = tdcp->c_fileid;
4183 (tdcp->c_cnid == kHFSRootFolderID));
4193 !(tdcp->c_attr.ca_recflags & kHFSHasChildLinkMask)) {
4195 tdcp->c_attr.ca_recflags |= kHFSHasChildLinkMask;
4197 error = cat_set_childlinkbit(hfsmp, tdcp->c_parentcnid);
4199 printf ("hfs_vnop_rename: error updating parent chain for %u\n", tdcp->c_cnid);
4203 INC_FOLDERCOUNT(hfsmp, tdcp->c_attr);
4206 tdcp->c_entries++;
4207 tdcp->c_dirchangecnt++;
4217 tdcp->c_childhint = out_desc.cd_hint; /* Cache directory's location */
4218 tdcp->c_touch_chgtime = TRUE;
4219 tdcp->c_touch_modtime = TRUE;
4221 tdcp->c_flag |= C_FORCEUPDATE; // XXXdbg - force it out!
4269 tdcp->c_flag &= ~C_DIR_MODIFICATION;
4270 wakeup((caddr_t)&tdcp->c_flag);
4277 hfs_unlockfour(fdcp, fcp, tdcp, tcp);