Lines Matching refs:tcnp
786 struct componentname *tcnp = ap->a_tcnp;
795 if ((tcnp->cn_flags & HASBUF) == 0 ||
855 dp == ip || (fcnp->cn_flags | tcnp->cn_flags) & ISDOTDOT ||
899 error = VOP_ACCESS(fvp, VWRITE, tcnp->cn_cred, tcnp->cn_thread);
908 error = ext2_checkpath(ip, dp, tcnp->cn_cred);
912 error = relookup(tdvp, &tvp, tcnp);
946 error = ext2_direnter(ip, tdvp, tcnp);
970 if ((dp->i_mode & S_ISTXT) && tcnp->cn_cred->cr_uid != 0 &&
971 tcnp->cn_cred->cr_uid != dp->i_uid &&
972 xp->i_uid != tcnp->cn_cred->cr_uid) {
982 if (!ext2_dirempty(xp, dp->i_number, tcnp->cn_cred)) {
995 error = ext2_dirrewrite(dp, ip, tcnp);
1024 tcnp->cn_cred, tcnp->cn_thread);
1083 tcnp->cn_cred, NOCRED, NULL, NULL);
1107 IO_NOMACCHECK, tcnp->cn_cred,