Home
last modified time | relevance | path

Searched refs:tdvp (Results 1 – 22 of 22) sorted by relevance

/titanic_41/usr/src/uts/common/fs/portfs/
H A Dport_fop.c232 static int port_fop_rename(femarg_t *vf, char *snm, vnode_t *tdvp, char *tnm,
504 vnode_t *tdvp; in port_fop_trimpfplist() local
538 tdvp = pfp->pfop_dvp; in port_fop_trimpfplist()
541 if (tdvp != NULL) in port_fop_trimpfplist()
542 VN_RELE(tdvp); in port_fop_trimpfplist()
1363 vnode_t *tvp, *tdvp; in port_associate_fop() local
1443 tdvp = tvp = NULL; in port_associate_fop()
1444 if (port_remove_fop(pfp, pfcp, 0, NULL, &tvp, &tdvp)) { in port_associate_fop()
1455 if (tdvp != NULL) in port_associate_fop()
1456 VN_RELE(tdvp); in port_associate_fop()
[all …]
/titanic_41/usr/src/uts/common/fs/
H A Dxattr.c838 xattr_copy(vnode_t *sdvp, char *snm, vnode_t *tdvp, char *tnm, in xattr_copy() argument
873 pdvp = gfs_file_parent(tdvp); in xattr_copy()
1100 xattr_dir_link(vnode_t *tdvp, vnode_t *svp, char *name, cred_t *cr, in xattr_dir_link() argument
1110 error = xattr_dir_realdir(tdvp, &pvp, LOOKUP_XATTR, cr, ct); in xattr_dir_link()
1119 xattr_dir_rename(vnode_t *sdvp, char *snm, vnode_t *tdvp, char *tnm, in xattr_dir_rename() argument
1127 return (xattr_copy(sdvp, snm, tdvp, tnm, cr, ct)); in xattr_dir_rename()
1137 if (sdvp == tdvp) { in xattr_dir_rename()
1145 } else if (tdvp->v_flag & V_SYSATTR) { in xattr_dir_rename()
1150 error = xattr_dir_realdir(tdvp, &tpvp, LOOKUP_XATTR, cr, ct); in xattr_dir_rename()
1160 tpvp = tdvp; in xattr_dir_rename()
H A Dvnode.c1583 struct vnode *tdvp; /* to directory vnode ptr */ in vn_linkat() local
1592 fvp = tdvp = NULL; in vn_linkat()
1601 if (error = lookuppnat(&pn, NULL, NO_FOLLOW, &tdvp, NULLVPP, tstartvp)) in vn_linkat()
1612 if (error = VOP_GETATTR(tdvp, &vattr, 0, CRED(), NULL)) in vn_linkat()
1618 if (tdvp->v_vfsp->vfs_flag & VFS_RDONLY) { in vn_linkat()
1626 error = VOP_LINK(tdvp, fvp, pn.pn_path, CRED(), NULL, 0); in vn_linkat()
1631 if (tdvp) in vn_linkat()
1632 VN_RELE(tdvp); in vn_linkat()
1645 vn_renameat(vnode_t *fdvp, char *fname, vnode_t *tdvp, in vn_renameat() argument
1698 if (auditing && tdvp != NULL) in vn_renameat()
[all …]
H A Dfem.c769 vhead_link(vnode_t *tdvp, vnode_t *svp, char *tnm, cred_t *cr, in vhead_link() argument
778 if ((femsp = fem_lock(tdvp->v_femhead)) == NULL) { in vhead_link()
779 func = (int (*)()) (tdvp->v_op->vop_link); in vhead_link()
780 arg0 = tdvp; in vhead_link()
781 fem_unlock(tdvp->v_femhead); in vhead_link()
785 fem_unlock(tdvp->v_femhead); in vhead_link()
786 farg.fa_vnode.vp = tdvp; in vhead_link()
796 vhead_rename(vnode_t *sdvp, char *snm, vnode_t *tdvp, char *tnm, in vhead_rename() argument
809 errc = (*func)(arg0, snm, tdvp, tnm, cr, ct, flags); in vhead_rename()
817 errc = (*func)(arg0, snm, tdvp, tnm, cr, ct, flags); in vhead_rename()
[all …]
/titanic_41/usr/src/uts/common/fs/lofs/
H A Dlofs_vnops.c722 vnode_t *tdvp, in lo_link() argument
769 while (vn_matchops(tdvp, lo_vnodeops)) { in lo_link()
770 tdvp = realvp(tdvp); in lo_link()
772 if (vp->v_vfsp != tdvp->v_vfsp) in lo_link()
774 return (VOP_LINK(tdvp, vp, tnm, cr, ct, flags)); in lo_link()
/titanic_41/usr/src/uts/common/fs/smbsrv/
H A Dsmb_fem.c282 vnode_t *tdvp, in smb_fem_fcn_rename() argument
295 error = vnext_rename(arg, snm, tdvp, tnm, cr, ct, flags); in smb_fem_fcn_rename()
/titanic_41/usr/src/lib/smbsrv/libfksmbsrv/common/sys/
H A Dvnode.h1050 #define VOP_LINK(tdvp, fvp, p, cr, ct, f) \ argument
1051 fop_link(tdvp, fvp, p, cr, ct, f)
1052 #define VOP_RENAME(fvp, fnm, tdvp, tnm, cr, ct, f) \ argument
1053 fop_rename(fvp, fnm, tdvp, tnm, cr, ct, f)
1259 int vn_renameat(vnode_t *fdvp, char *fname, vnode_t *tdvp, char *tname,
/titanic_41/usr/src/uts/common/sys/
H A Dvnode.h1055 #define VOP_LINK(tdvp, fvp, p, cr, ct, f) \ argument
1056 fop_link(tdvp, fvp, p, cr, ct, f)
1057 #define VOP_RENAME(fvp, fnm, tdvp, tnm, cr, ct, f) \ argument
1058 fop_rename(fvp, fnm, tdvp, tnm, cr, ct, f)
1262 int vn_renameat(vnode_t *fdvp, char *fname, vnode_t *tdvp, char *tname,
H A Dfem.h183 int (*femop_rename)(femarg_t *vf, char *snm, vnode_t *tdvp, \
331 extern int vnext_rename(femarg_t *vf, char *snm, vnode_t *tdvp, char *tnm,
/titanic_41/usr/src/uts/common/fs/ufs/
H A Dufs_vnops.c3261 ufs_link(struct vnode *tdvp, struct vnode *svp, char *tnm, struct cred *cr, in ufs_link() argument
3265 struct inode *tdp = VTOI(tdvp); in ufs_link()
3282 trans_size = (int)TOP_LINK_SIZE(VTOI(tdvp))); in ufs_link()
3360 struct vnode *tdvp, /* new (target) parent vnode */ in ufs_rename() argument
3389 if (VOP_REALVP(tdvp, &realvp, ct) == 0) in ufs_rename()
3390 tdvp = realvp; in ufs_rename()
3392 terr = ufs_eventlookup(tdvp, tnm, cr, &tvp); in ufs_rename()
3397 vnevent_rename_dest(tvp, tdvp, tnm, ct); in ufs_rename()
3403 if (sdvp != tdvp) in ufs_rename()
3404 vnevent_rename_dest_dir(tdvp, ct); in ufs_rename()
[all …]
H A Dufs_dir.c1458 vnode_t *tdvp; in ufs_dirrename() local
1558 tdvp = ITOV(tdp); in ufs_dirrename()
1560 dnlc_update(tdvp, namep, ITOV(sip)); in ufs_dirrename()
1775 vnode_t *tdvp; in ufs_diraddentry() local
1822 tdvp = ITOV(tdp); in ufs_diraddentry()
1823 dnlc_update(tdvp, namep, ITOV(sip)); in ufs_diraddentry()
/titanic_41/usr/src/uts/common/fs/zfs/
H A Dzfs_vnops.c3485 zfs_rename(vnode_t *sdvp, char *snm, vnode_t *tdvp, char *tnm, cred_t *cr, in zfs_rename() argument
3508 if (VOP_REALVP(tdvp, &realvp, ct) == 0) in zfs_rename()
3509 tdvp = realvp; in zfs_rename()
3511 tdzp = VTOZ(tdvp); in zfs_rename()
3518 if (tdzp->z_zfsvfs != zfsvfs || zfsctl_is_node(tdvp)) { in zfs_rename()
3711 vnevent_rename_dest(ZTOV(tzp), tdvp, tnm, ct); in zfs_rename()
3717 if (tdvp != sdvp) { in zfs_rename()
3718 vnevent_rename_dest_dir(tdvp, ct); in zfs_rename()
3782 vn_renamepath(tdvp, ZTOV(szp), tnm, in zfs_rename()
4037 zfs_link(vnode_t *tdvp, vnode_t *svp, char *name, cred_t *cr, in zfs_link() argument
[all …]
H A Dzfs_ctldir.c616 zfsctl_snapdir_rename(vnode_t *sdvp, char *snm, vnode_t *tdvp, char *tnm, in zfsctl_snapdir_rename() argument
647 err = zfsctl_snapshot_zname(tdvp, tnm, sizeof (to), to); in zfsctl_snapdir_rename()
656 if (sdvp != tdvp) in zfsctl_snapdir_rename()
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs4_stub_vnops.c558 nfs4_trigger_link(vnode_t *tdvp, vnode_t *svp, char *tnm, cred_t *cr, in nfs4_trigger_link() argument
564 error = nfs4_trigger_mount(tdvp, cr, &newtdvp); in nfs4_trigger_link()
579 nfs4_trigger_rename(vnode_t *sdvp, char *snm, vnode_t *tdvp, char *tnm, in nfs4_trigger_rename() argument
584 rnode4_t *tdrp = VTOR4(tdvp); in nfs4_trigger_rename()
602 if (RP_ISSTUB(tdrp) && !VN_CMP(sdvp, tdvp)) in nfs4_trigger_rename()
609 error = VOP_RENAME(newsdvp, snm, tdvp, tnm, cr, ct, flags); in nfs4_trigger_rename()
H A Dnfs_vnops.c2353 nfs_link(vnode_t *tdvp, vnode_t *svp, char *tnm, cred_t *cr, in nfs_link() argument
2363 if (nfs_zone() != VTOMI(tdvp)->mi_zone) in nfs_link()
2369 setdiropargs(&args.la_to, tnm, tdvp); in nfs_link()
2371 tdrp = VTOR(tdvp); in nfs_link()
2372 if (nfs_rw_enter_sig(&tdrp->r_rwlock, RW_WRITER, INTR(tdvp))) in nfs_link()
2375 dnlc_remove(tdvp, tnm); in nfs_link()
2384 PURGE_ATTRCACHE(tdvp); /* mod time changed */ in nfs_link()
2391 nfs_purge_rddir_cache(tdvp); in nfs_link()
H A Dnfs3_vnops.c2975 nfs3_link(vnode_t *tdvp, vnode_t *svp, char *tnm, cred_t *cr, in nfs3_link() argument
2987 if (nfs_zone() != VTOMI(tdvp)->mi_zone) in nfs3_link()
2998 setdiropargs3(&args.link, tnm, tdvp); in nfs3_link()
3000 tdrp = VTOR(tdvp); in nfs3_link()
3001 if (nfs_rw_enter_sig(&tdrp->r_rwlock, RW_WRITER, INTR(tdvp))) in nfs3_link()
3004 dnlc_remove(tdvp, tnm); in nfs3_link()
3016 PURGE_ATTRCACHE(tdvp); in nfs3_link()
3026 nfs3_cache_wcc_data(tdvp, &res.resok.linkdir_wcc, t, cr); in nfs3_link()
3028 nfs_purge_rddir_cache(tdvp); in nfs3_link()
3029 dnlc_update(tdvp, tnm, svp); in nfs3_link()
[all …]
H A Dnfs4_vnops.c7466 nfs4_link(vnode_t *tdvp, vnode_t *svp, char *tnm, cred_t *cr, in nfs4_link() argument
7486 ASSERT(tdvp->v_type == VDIR); in nfs4_link()
7487 ASSERT(nfs4_consistent_type(tdvp)); in nfs4_link()
7490 if (nfs_zone() != VTOMI4(tdvp)->mi_zone) in nfs4_link()
7497 tdrp = VTOR4(tdvp); in nfs4_link()
7506 if (nfs_rw_enter_sig(&tdrp->r_rwlock, RW_WRITER, INTR4(tdvp))) in nfs4_link()
7521 e.error = nfs4_start_op(VTOMI4(svp), svp, tdvp, &recov_state); in nfs4_link()
7556 dnlc_remove(tdvp, tnm); in nfs4_link()
7565 PURGE_ATTRCACHE4(tdvp); in nfs4_link()
7567 nfs4_end_op(VTOMI4(svp), svp, tdvp, &recov_state, needrecov); in nfs4_link()
[all …]
/titanic_41/usr/src/uts/common/fs/autofs/
H A Dauto_vnops.c736 vnode_t *tdvp, in auto_link() argument
746 AUTOFS_DPRINT((4, "auto_link tdvp %p svp %p nm %s\n", (void *)tdvp, in auto_link()
749 if (error = auto_trigger_mount(tdvp, cred, &newvp)) in auto_link()
/titanic_41/usr/src/uts/common/fs/udfs/
H A Dudf_vnops.c858 struct vnode *tdvp, in udf_link() argument
887 tdp = VTOI(tdvp); in udf_link()
908 struct vnode *tdvp, in udf_rename() argument
922 if (VOP_REALVP(tdvp, &realvp, ct) == 0) { in udf_rename()
923 tdvp = realvp; in udf_rename()
927 tdp = VTOI(tdvp); in udf_rename()
/titanic_41/usr/src/uts/common/fs/namefs/
H A Dnamevno.c379 nm_link(vnode_t *tdvp, vnode_t *vp, char *tnm, cred_t *crp, in nm_link() argument
/titanic_41/usr/src/uts/common/fs/cachefs/
H A Dcachefs_vnops.c107 static int cachefs_link_connected(vnode_t *tdvp, vnode_t *fvp, char *tnm,
109 static int cachefs_link_disconnected(vnode_t *tdvp, vnode_t *fvp,
4831 cachefs_link(vnode_t *tdvp, vnode_t *fvp, char *tnm, cred_t *cr, in cachefs_link() argument
4834 fscache_t *fscp = VFS_TO_FSCACHE(tdvp->v_vfsp); in cachefs_link()
4835 cnode_t *tdcp = VTOC(tdvp); in cachefs_link()
4844 (void *)fvp, (void *)tdvp, tnm); in cachefs_link()
4888 error = cachefs_link_connected(tdvp, fvp, tnm, cr); in cachefs_link()
4898 error = cachefs_link_disconnected(tdvp, fvp, tnm, in cachefs_link()
4920 (void *)fvp, (void *)tdvp, tnm); in cachefs_link()
4926 cachefs_link_connected(vnode_t *tdvp, vnode_t *fvp, char *tnm, cred_t *cr) in cachefs_link_connected() argument
[all …]
/titanic_41/usr/src/uts/common/fs/pcfs/
H A Dpc_vnops.c1172 struct vnode *tdvp, /* new (target) parent vnode */ in pcfs_rename() argument
1197 if (((dp = VTOPC(sdvp)) == NULL) || ((tdp = VTOPC(tdvp)) == NULL) || in pcfs_rename()