Lines Matching refs:tcnp
3611 struct componentname *tcnp = ap->a_tcnp;
3674 (const u_int8_t *)tcnp->cn_nameptr, tcnp->cn_namelen) == 0) {
3791 if (tcp && ((tcp->c_flag & (C_NOEXISTS | C_DELETED)) || !hfs_valid_cnode(hfsmp, tdvp, tcnp, tcp->c_fileid, NULL, &error))) {
3911 (suser(vfs_context_ucred(tcnp->cn_context), NULL)) &&
3912 (kauth_cred_getuid(vfs_context_ucred(tcnp->cn_context)) != tdcp->c_uid) &&
3913 (hfs_owner_rights(hfsmp, tcp->c_uid, vfs_context_ucred(tcnp->cn_context), p, false)) ) {
3940 to_desc.cd_nameptr = (const u_int8_t *)tcnp->cn_nameptr;
3941 to_desc.cd_namelen = tcnp->cn_namelen;
4066 (const u_int8_t *)tcnp->cn_nameptr, tcnp->cn_namelen) == 0) {
4099 error = hfs_removedir(tdvp, tvp, tcnp, HFSRM_SKIP_RESERVE, 1);
4102 error = hfs_removefile(tdvp, tvp, tcnp, 0, HFSRM_SKIP_RESERVE, 0, NULL, 1);
4225 vnode_update_identity(fvp, tdvp, tcnp->cn_nameptr, tcnp->cn_namelen,
4226 tcnp->cn_hash, (VNODE_UPDATE_PARENT | VNODE_UPDATE_NAME));
4243 len = snprintf (rsrc_path, MAXPATHLEN, "%s%s", tcnp->cn_nameptr, _PATH_RSRCFORKSPEC);