Home
last modified time | relevance | path

Searched refs:tcnp (Results 1 – 5 of 5) sorted by relevance

/original-bsd/sys/ufs/ffs/
H A Dufs_vnops.c888 if ((tcnp->cn_flags & HASBUF) == 0 ||
930 tcnp->cn_flags &= ~MODMASK;
932 if ((tcnp->cn_flags & SAVESTART) == 0)
934 tcnp->cn_nameiop = DELETE;
935 (void) relookup(tdvp, &tvp, tcnp);
936 return (VOP_REMOVE(tdvp, tvp, tcnp));
997 error = VOP_ACCESS(fvp, VWRITE, tcnp->cn_cred, tcnp->cn_proc);
1008 if ((tcnp->cn_flags & SAVESTART) == 0)
1010 if (error = relookup(tdvp, &tvp, tcnp))
1119 tcnp->cn_cred, tcnp->cn_proc);
[all …]
/original-bsd/sys/ufs/ufs/
H A Dufs_vnops.c812 struct componentname *tcnp = ap->a_tcnp; local
823 if ((tcnp->cn_flags & HASBUF) == 0 ||
862 VOP_ABORTOP(tdvp, tcnp);
936 error = VOP_ACCESS(fvp, VWRITE, tcnp->cn_cred, tcnp->cn_proc);
947 if ((tcnp->cn_flags & SAVESTART) == 0)
949 if (error = relookup(tdvp, &tvp, tcnp))
1005 tcnp->cn_cred->cr_uid != dp->i_uid &&
1006 xp->i_uid != tcnp->cn_cred->cr_uid) {
1030 if (error = ufs_dirrewrite(dp, ip, tcnp))
1058 tcnp->cn_cred, tcnp->cn_proc);
[all …]
/original-bsd/sys/sys/
H A Dvnode_if.h409 static inline int VOP_RENAME(fdvp, fvp, fcnp, tdvp, tvp, tcnp) in VOP_RENAME() argument
415 struct componentname *tcnp;
425 a.a_tcnp = tcnp;
/original-bsd/sys/nfs/
H A Dnfs_vnops.c1473 register struct componentname *tcnp = ap->a_tcnp; local
1478 if ((tcnp->cn_flags & HASBUF) == 0 ||
1494 !nfs_sillyrename(tdvp, tvp, tcnp)) {
1500 tdvp, tcnp->cn_nameptr, tcnp->cn_namelen, tcnp->cn_cred,
1501 tcnp->cn_proc);
/original-bsd/sys/kern/
H A Dvnode_if.src249 IN struct componentname *tcnp;