Searched refs:tcnp (Results 1 - 13 of 13) sorted by relevance

/freebsd-13-stable/sys/fs/tmpfs/
H A Dtmpfs_vnops.c825 struct componentname *fcnp, struct componentname *tcnp)
893 de = tmpfs_dir_lookup(VP_TO_TMPFS_DIR(tdvp), NULL, tcnp);
955 struct componentname *tcnp = v->a_tcnp; local
969 MPASS(tcnp->cn_flags & HASBUF);
996 fcnp, tcnp);
1084 if (fcnp->cn_namelen != tcnp->cn_namelen ||
1085 bcmp(fcnp->cn_nameptr, tcnp->cn_nameptr, fcnp->cn_namelen) != 0) {
1086 newname = malloc(tcnp->cn_namelen, M_TMPFSNAME, M_WAITOK);
1180 if (tcnp->cn_flags & ISWHITEOUT)
1181 tmpfs_dir_whiteout_remove(tdvp, tcnp);
823 tmpfs_rename_relock(struct vnode *fdvp, struct vnode **fvpp, struct vnode *tdvp, struct vnode **tvpp, struct componentname *fcnp, struct componentname *tcnp) argument
[all...]
/freebsd-13-stable/sys/fs/ext2fs/
H A Dext2_vnops.c786 struct componentname *tcnp = ap->a_tcnp; local
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
[all...]
/freebsd-13-stable/sys/ufs/ufs/
H A Dufs_vnops.c1239 struct componentname *tcnp = ap->a_tcnp; local
1254 if ((tcnp->cn_flags & HASBUF) == 0 ||
1326 error = ufs_lookup_ino(tdvp, NULL, tcnp, &ino);
1414 (fcnp->cn_flags | tcnp->cn_flags) & ISDOTDOT) {
1438 error = VOP_ACCESS(fvp, VWRITE, tcnp->cn_cred, tcnp->cn_thread);
1441 error = ufs_checkpath(ino, fdp->i_number, tdp, tcnp->cn_cred,
1461 if ((tcnp->cn_flags & SAVESTART) == 0)
1514 ufs_makedirentry(fip, tcnp, &newdir);
1515 error = ufs_direnter(tdvp, NULL, &newdir, tcnp, NUL
[all...]
/freebsd-13-stable/sys/fs/fuse/
H A Dfuse_internal.c731 struct componentname *tcnp)
737 fdisp_init(&fdi, sizeof(*fri) + fcnp->cn_namelen + tcnp->cn_namelen + 2);
738 fdisp_make_vp(&fdi, FUSE_RENAME, fdvp, tcnp->cn_thread, tcnp->cn_cred);
746 tcnp->cn_nameptr, tcnp->cn_namelen);
748 tcnp->cn_namelen + 1] = '\0';
728 fuse_internal_rename(struct vnode *fdvp, struct componentname *fcnp, struct vnode *tdvp, struct componentname *tcnp) argument
H A Dfuse_internal.h267 struct vnode *tdvp, struct componentname *tcnp);
H A Dfuse_vnops.c1849 struct componentname *tcnp = ap->a_tcnp; local
1878 tcnp->cn_thread, tcnp->cn_cred);
1883 err = fuse_internal_rename(fdvp, fcnp, tdvp, tcnp);
/freebsd-13-stable/sys/fs/smbfs/
H A Dsmbfs_vnops.c628 struct componentname *tcnp = ap->a_tcnp; local
655 smb_makescred(scred, tcnp->cn_thread, tcnp->cn_cred);
662 tcnp->cn_nameptr, tcnp->cn_namelen, flags, scred);
676 tcnp->cn_nameptr, tcnp->cn_namelen, scred);
/freebsd-13-stable/sys/fs/msdosfs/
H A Dmsdosfs_vnops.c944 struct componentname *tcnp = ap->a_tcnp; local
961 if ((tcnp->cn_flags & HASBUF) == 0 ||
1010 (tcnp->cn_flags & ISDOTDOT) ||
1042 error = VOP_ACCESS(fvp, VWRITE, tcnp->cn_cred, tcnp->cn_thread);
1058 if ((tcnp->cn_flags & SAVESTART) == 0)
1060 error = relookup(tdvp, &tvp, tcnp);
1095 * Convert the filename in tcnp into a dos filename. We copy this
1099 error = uniqdosname(VTODE(tdvp), tcnp, toname);
1170 error = createde(ip, dp, (struct denode **)0, tcnp);
[all...]
/freebsd-13-stable/sys/fs/nfsclient/
H A Dnfs_clvnops.c1893 struct componentname *tcnp = ap->a_tcnp; local
1900 KASSERT((tcnp->cn_flags & HASBUF) != 0 &&
1933 error = VOP_FSYNC(tvp, MNT_WAIT, tcnp->cn_thread);
1943 tvp->v_type != VDIR && !nfs_sillyrename(tdvp, tvp, tcnp)) {
1949 tdvp, tvp, tcnp->cn_nameptr, tcnp->cn_namelen, tcnp->cn_cred,
1950 tcnp->cn_thread);
1959 tdnp->n_fhp->nfh_len + tcnp->cn_namelen - 1,
1964 (fnp->n_v4->n4_namelen != tcnp
[all...]
/freebsd-13-stable/sys/fs/unionfs/
H A Dunion_vnops.c1112 struct componentname *tcnp; local
1135 tcnp = ap->a_tcnp;
1146 if (!(fcnp->cn_flags & HASBUF) || !(tcnp->cn_flags & HASBUF))
1268 error = unionfs_relookup_for_rename(tdvp, tcnp, td);
1275 error = VOP_RENAME(rfdvp, rfvp, fcnp, rtdvp, rtvp, tcnp);
/freebsd-13-stable/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_vnops_os.c2945 const struct componentname *scnp, const struct componentname *tcnp)
2951 const char *tnm = tcnp->cn_nameptr;
3030 if ((tcnp->cn_flags & ISDOTDOT) != 0)
3170 struct vnode *tvp, struct componentname *fcnp, struct componentname *tcnp)
3200 vnode_t *tdvp, vnode_t **tvpp, struct componentname *tcnp,
3208 const char *tnm = tcnp->cn_nameptr;
3227 error = zfs_rename_relock(sdvp, svpp, tdvp, tvpp, scnp, tcnp);
3317 (scnp->cn_flags | tcnp->cn_flags) & ISDOTDOT) {
3438 cache_vop_rename(sdvp, *svpp, tdvp, *tvpp, scnp, tcnp);
2943 zfs_rename_relock(struct vnode *sdvp, struct vnode **svpp, struct vnode *tdvp, struct vnode **tvpp, const struct componentname *scnp, const struct componentname *tcnp) argument
3169 cache_vop_rename(struct vnode *fdvp, struct vnode *fvp, struct vnode *tdvp, struct vnode *tvp, struct componentname *fcnp, struct componentname *tcnp) argument
3199 zfs_rename_(vnode_t *sdvp, vnode_t **svpp, struct componentname *scnp, vnode_t *tdvp, vnode_t **tvpp, struct componentname *tcnp, cred_t *cr, int log) argument
/freebsd-13-stable/sys/kern/
H A Dvfs_cache.c2915 struct vnode *tvp, struct componentname *fcnp, struct componentname *tcnp)
2927 KASSERT(!cache_remove_cnp(tdvp, tcnp),
2930 cache_remove_cnp(tdvp, tcnp);
2945 cache_enter(tdvp, fvp, tcnp);
2914 cache_vop_rename(struct vnode *fdvp, struct vnode *fvp, struct vnode *tdvp, struct vnode *tvp, struct componentname *fcnp, struct componentname *tcnp) argument
/freebsd-13-stable/sys/sys/
H A Dvnode.h658 struct vnode *tvp, struct componentname *fcnp, struct componentname *tcnp);

Completed in 240 milliseconds