Lines Matching refs:tcnp
2282 struct componentname *tcnp = ap->a_tcnp;
2353 if (tcp && ((tcp->c_flag & (C_NOEXISTS | C_DELETED)) || !hfs_valid_cnode(hfsmp, tdvp, tcnp, tcp->c_fileid))) {
2472 (suser(vfs_context_ucred(tcnp->cn_context), NULL)) &&
2473 (kauth_cred_getuid(vfs_context_ucred(tcnp->cn_context)) != tdcp->c_uid) &&
2474 (hfs_owner_rights(hfsmp, tcp->c_uid, vfs_context_ucred(tcnp->cn_context), p, false)) ) {
2510 to_desc.cd_nameptr = (const u_int8_t *)tcnp->cn_nameptr;
2511 to_desc.cd_namelen = tcnp->cn_namelen;
2592 (const u_int8_t *)tcnp->cn_nameptr, tcnp->cn_namelen) == 0) {
2600 error = hfs_removedir(tdvp, tvp, tcnp, HFSRM_SKIP_RESERVE);
2605 error = hfs_removefile(tdvp, tvp, tcnp, 0, HFSRM_SKIP_RESERVE, 0);