Lines Matching defs:tcnp
732 struct componentname *tcnp = ap->a_tcnp;
741 if ((tcnp->cn_flags & HASBUF) == 0 ||
799 dp == ip || (fcnp->cn_flags | tcnp->cn_flags) & ISDOTDOT ||
843 error = VOP_ACCESS(fvp, VWRITE, tcnp->cn_cred, tcnp->cn_thread);
852 error = ext2_checkpath(ip, dp, tcnp->cn_cred);
856 error = relookup(tdvp, &tvp, tcnp);
891 error = ext2_direnter(ip, tdvp, tcnp);
915 if ((dp->i_mode & S_ISTXT) && tcnp->cn_cred->cr_uid != 0 &&
916 tcnp->cn_cred->cr_uid != dp->i_uid &&
917 xp->i_uid != tcnp->cn_cred->cr_uid) {
927 if (! ext2_dirempty(xp, dp->i_number, tcnp->cn_cred) ||
941 error = ext2_dirrewrite(dp, ip, tcnp);
970 tcnp->cn_cred, tcnp->cn_thread);
1024 tcnp->cn_cred, NOCRED, NULL, NULL);
1040 IO_NOMACCHECK, tcnp->cn_cred,