/openbsd-current/sys/tmpfs/ |
H A D | tmpfs_vnops.c | 1198 * Arguments: fdvp (from-parent vnode), fvp (from-leaf), tdvp (to-parent) 1201 * => Caller holds a reference on fdvp and fvp, they are unlocked. 1202 * Note: fdvp and fvp can refer to the same object (i.e. when it is root). 1272 struct vnode *fdvp = ap->a_fdvp; local 1281 KASSERT(fdvp != NULL); 1288 /* KASSERT(VOP_ISLOCKED(fdvp) != LK_EXCLUSIVE); */ 1290 KASSERT(fdvp->v_type == VDIR); 1303 fdvp->v_mount != fvp->v_mount || 1347 error = tmpfs_sane_rename(fdvp, fcnp, tdvp, tcnp, cred, 0); 1354 vrele(fdvp); 1374 tmpfs_sane_rename(struct vnode *fdvp, struct componentname *fcnp, struct vnode *tdvp, struct componentname *tcnp, struct ucred *cred, int posixly_correct) argument 1597 tmpfs_rename_enter(struct mount *mount, struct tmpfs_mount *tmpfs, struct ucred *cred, struct vnode *fdvp, struct tmpfs_node *fdnode, struct componentname *fcnp, struct tmpfs_dirent **fde_ret, struct vnode **fvp_ret, struct vnode *tdvp, struct tmpfs_node *tdnode, struct componentname *tcnp, struct tmpfs_dirent **tde_ret, struct vnode **tvp_ret) argument 1770 tmpfs_rename_enter_separate(struct mount *mount, struct tmpfs_mount *tmpfs, struct ucred *cred, struct vnode *fdvp, struct tmpfs_node *fdnode, struct componentname *fcnp, struct tmpfs_dirent **fde_ret, struct vnode **fvp_ret, struct vnode *tdvp, struct tmpfs_node *tdnode, struct componentname *tcnp, struct tmpfs_dirent **tde_ret, struct vnode **tvp_ret) argument 1842 tmpfs_rename_exit(struct tmpfs_mount *tmpfs, struct vnode *fdvp, struct vnode *fvp, struct vnode *tdvp, struct vnode *tvp) argument 2176 tmpfs_rename_attachdetach(struct tmpfs_mount *tmpfs, struct vnode *fdvp, struct tmpfs_dirent *fde, struct vnode *fvp, struct vnode *tdvp, struct tmpfs_dirent *tde, struct vnode *tvp) argument 2505 tmpfs_rename_cache_purge(struct vnode *fdvp, struct vnode *fvp, struct vnode *tdvp, struct vnode *tvp) argument 2540 struct vnode *fdvp = ap->a_fdvp; local [all...] |
/openbsd-current/sys/ufs/ext2fs/ |
H A D | ext2fs_vnops.c | 497 struct vnode *fdvp = ap->a_fdvp; local 526 VOP_ABORTOP(fdvp, fcnp); /* XXX, why not in NFS? */ 527 vrele(fdvp); 552 vrele(fdvp); 559 (void) vfs_relookup(fdvp, &fvp, fcnp); 560 return (VOP_REMOVE(fdvp, fvp, fcnp)); 564 dp = VTOI(fdvp); 603 vrele(fdvp); 776 (void) vfs_relookup(fdvp, &fvp, fcnp); 779 dp = VTOI(fdvp); [all...] |
/openbsd-current/sys/msdosfs/ |
H A D | msdosfs_vnops.c | 891 struct vnode *fdvp = ap->a_fdvp; local 906 pmp = VFSTOMSDOSFS(fdvp->v_mount); 927 VOP_ABORTOP(fdvp, fcnp); 928 vrele(fdvp); 944 dp = VTODE(fdvp); 969 VN_KNOTE(fdvp, NOTE_WRITE); /* XXX right place? */ 995 if (VTODE(fdvp)->de_StartCluster != VTODE(tdvp)->de_StartCluster) 997 vrele(fdvp); 1064 (void) vfs_relookup(fdvp, &fvp, fcnp); 1078 zp = VTODE(fdvp); [all...] |
/openbsd-current/sys/ufs/ufs/ |
H A D | ufs_vnops.c | 688 struct vnode *fdvp = ap->a_fdvp; local 715 VOP_ABORTOP(fdvp, fcnp); 716 vrele(fdvp); 762 if ((error = vfs_relookup(fdvp, &fvp, fcnp)) != 0) 764 vrele(fdvp); 765 return (VOP_REMOVE(fdvp, fvp, fcnp)); 772 dp = VTOI(fdvp); 810 VN_KNOTE(fdvp, NOTE_WRITE); /* XXX right place? */ 1007 if ((error = vfs_relookup(fdvp, &fvp, fcnp)) != 0) { 1011 vrele(fdvp); [all...] |
/openbsd-current/sys/kern/ |
H A D | vfs_vops.c | 359 VOP_RENAME(struct vnode *fdvp, struct vnode *fvp, argument 364 a.a_fdvp = fdvp; 373 if (fdvp->v_op->vop_rename == NULL) 376 return ((fdvp->v_op->vop_rename)(&a));
|
/openbsd-current/sys/miscfs/fuse/ |
H A D | fuse_vnops.c | 1229 struct vnode *fdvp = ap->a_fdvp; local 1257 VOP_ABORTOP(fdvp, fcnp); /* XXX, why not in NFS? */ 1258 vrele(fdvp); 1273 dp = VTOI(fdvp); 1296 VN_KNOTE(fdvp, NOTE_WRITE); /* XXX right place? */ 1342 vrele(fdvp);
|
/openbsd-current/sys/nfs/ |
H A D | nfs_vnops.c | 1795 struct vnode *fdvp = ap->a_fdvp; local 1824 error = nfs_renamerpc(fdvp, fcnp->cn_nameptr, fcnp->cn_namelen, 1828 VN_KNOTE(fdvp, NOTE_WRITE); 1834 cache_purge(fdvp); 1843 vrele(fdvp); 1868 nfs_renamerpc(struct vnode *fdvp, char *fnameptr, int fnamelen, argument 1875 info.nmi_v3 = NFS_ISV3(fdvp); 1881 nfsm_fhtom(&info, fdvp, info.nmi_v3); 1890 error = nfs_request(fdvp, NFSPROC_RENAME, &info); 1892 if (nfsm_wcc_data(&info, &fdvp, [all...] |