Searched refs:fromtp (Results 1 – 2 of 2) sorted by relevance
/titanic_50/usr/src/uts/common/fs/tmpfs/ |
H A D | tmp_dir.c | 127 tmpfs_hash_change(struct tdirent *tdp, struct tmpnode *fromtp) in tmpfs_hash_change() argument 135 tdp->td_tmpnode = fromtp; in tmpfs_hash_change() 675 struct tmpnode *fromtp, in tdircheckpath() argument 701 if (dotdot == fromtp) { in tdircheckpath() 730 struct tmpnode *fromtp, /* source tmpnode */ in tdirrename() argument 749 if (fromtp == to) in tdirrename() 752 rw_enter(&fromtp->tn_rwlock, RW_READER); in tdirrename() 759 to->tn_vnode->v_vfsp != fromtp->tn_vnode->v_vfsp) { in tdirrename() 779 doingdirectory = (fromtp->tn_type == VDIR); in tdirrename() 817 tmpfs_hash_change(where, fromtp); in tdirrename() [all …]
|
H A D | tmp_vnops.c | 1187 struct tmpnode *fromtp = NULL; /* source tmpnode */ in tmp_rename() local 1207 error = tdirlookup(fromparent, onm, &fromtp, cred); in tmp_rename() 1219 (error = tmp_sticky_remove_access(fromparent, fromtp, cred)) != 0) in tmp_rename() 1230 (fromparent == fromtp)) { in tmp_rename() 1251 fromparent, fromtp, (struct vattr *)NULL, in tmp_rename() 1265 vnevent_rename_src(TNTOV(fromtp), odvp, onm, ct); in tmp_rename() 1279 rw_enter(&fromtp->tn_rwlock, RW_WRITER); in tmp_rename() 1281 error = tdirdelete(fromparent, fromtp, onm, DR_RENAME, cred); in tmp_rename() 1294 rw_exit(&fromtp->tn_rwlock); in tmp_rename() 1297 tmpnode_rele(fromtp); in tmp_rename()
|