Lines Matching defs:tcnp
788 struct componentname *tcnp = ap->a_tcnp;
852 dp == ip || (fcnp->cn_flags | tcnp->cn_flags) & ISDOTDOT ||
896 error = VOP_ACCESS(fvp, VWRITE, tcnp->cn_cred, curthread);
905 error = ext2_checkpath(ip, dp, tcnp->cn_cred);
909 error = vfs_relookup(tdvp, &tvp, tcnp, true);
943 error = ext2_direnter(ip, tdvp, tcnp);
967 if ((dp->i_mode & S_ISTXT) && tcnp->cn_cred->cr_uid != 0 &&
968 tcnp->cn_cred->cr_uid != dp->i_uid &&
969 xp->i_uid != tcnp->cn_cred->cr_uid) {
979 if (!ext2_dirempty(xp, dp->i_number, tcnp->cn_cred)) {
992 error = ext2_dirrewrite(dp, ip, tcnp);
1021 tcnp->cn_cred, curthread);
1080 tcnp->cn_cred, NOCRED, NULL, NULL);
1113 IO_NOMACCHECK, tcnp->cn_cred,