/src/sys/miscfs/genfs/ |
genfs_rename.c | 74 * . tcnp (to component name), 83 struct vnode *tdvp, struct componentname *tcnp, 89 fdvp, fcnp, &fulr, tdvp, tcnp, &tulr, 145 * . tcnp (to component name). 163 struct vnode *tdvp, struct componentname *tcnp, 179 struct componentname *tcnp = ap->a_tcnp; local in function:genfs_insane_rename 188 KASSERT(tcnp != NULL); 200 * XXX Want a better equality test. `tcnp->cn_cred == cred' 204 KASSERT(kauth_cred_uidmatch(cred, tcnp->cn_cred)); 221 error = (*sane_rename)(fdvp, fcnp, tdvp, tcnp, cred, false) [all...] |
/src/sys/fs/msdosfs/ |
msdosfs_rename.c | 80 * . tcnp (to component name). 111 struct componentname *tcnp = ap->a_tcnp; local in function:msdosfs_rename 120 KASSERT(tcnp != NULL); 130 KASSERT(kauth_cred_uidmatch(cred, tcnp->cn_cred)); 153 error = msdosfs_sane_rename(fdvp, fcnp, tdvp, tcnp, cred, false); 174 * . tcnp (to component name). 181 struct vnode *tdvp, struct componentname *tcnp, 187 fdvp, fcnp, &fmlr, tdvp, tcnp, &tmlr, 372 struct vnode *tdvp, struct componentname *tcnp, 388 KASSERT(tcnp != NULL) [all...] |
/src/sys/fs/unionfs/ |
unionfs_vnops.c | 1022 struct componentname *tcnp; local in function:unionfs_rename 1044 tcnp = ap->a_tcnp; 1159 error = unionfs_relookup_for_rename(tdvp, tcnp); 1166 error = VOP_RENAME(rfdvp, rfvp, fcnp, rtdvp, rtvp, tcnp);
|
/src/sys/ufs/chfs/ |
chfs_vnops.c | 1136 struct componentname *tcnp = ap->a_tcnp; local in function:chfs_rename 1163 newparent, tcnp->cn_nameptr, tcnp->cn_namelen); 1171 newparent, tcnp->cn_nameptr, tcnp->cn_namelen, ip->ch_type);
|
/src/sys/fs/nilfs/ |
nilfs_vnops.c | 1291 struct componentname *tcnp = ap->a_tcnp; local in function:nilfs_rename 1359 nilfs_dir_detach(tdnode->ump, tdnode, tnode, tcnp); 1362 error = nilfs_dir_attach(tdnode->ump, tdnode, fnode, &fvap, tcnp); 1369 nilfs_dir_detach(tdnode->ump, tdnode, fnode, tcnp); 1376 VOP_ABORTOP(tdvp, tcnp);
|
/src/sys/coda/ |
coda_vnops.c | 1229 struct componentname *tcnp = ap->a_tcnp; local in function:coda_rename 1236 const char *tnm = tcnp->cn_nameptr; 1237 int tlen = tcnp->cn_namelen; 1244 if ((fcnp->cn_cred != tcnp->cn_cred) 1245 || (fcnp->cn_lwp != tcnp->cn_lwp))
|
/src/sys/fs/nfs/client/ |
nfs_clvnops.c | 1768 struct componentname *tcnp = ap->a_tcnp; local in function:nfs_rename 1775 KASSERT((tcnp->cn_flags & HASBUF) != 0 && 1808 error = VOP_FSYNC(tvp, MNT_WAIT, tcnp->cn_thread); 1818 tvp->v_type != VDIR && !nfs_sillyrename(tdvp, tvp, tcnp)) { 1824 tdvp, tvp, tcnp->cn_nameptr, tcnp->cn_namelen, tcnp->cn_cred, 1825 tcnp->cn_thread); 1834 tdnp->n_fhp->nfh_len + tcnp->cn_namelen - 1, 1839 (fnp->n_v4->n4_namelen != tcnp->cn_namelen | [all...] |
/src/sys/nfs/ |
nfs_vnops.c | 1824 struct componentname *tcnp = ap->a_tcnp; local in function:nfs_rename 1844 tvp->v_type != VDIR && !nfs_sillyrename(tdvp, tvp, tcnp, true)) { 1851 tdvp, tcnp->cn_nameptr, tcnp->cn_namelen, tcnp->cn_cred, 1865 cache_purge1(tdvp, tcnp->cn_nameptr, tcnp->cn_namelen,
|