Searched refs:fromtp (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/uts/common/fs/tmpfs/ |
H A D | tmp_dir.c | 130 tmpfs_hash_change(struct tdirent *tdp, struct tmpnode *fromtp) in tmpfs_hash_change() argument 138 tdp->td_tmpnode = fromtp; in tmpfs_hash_change() 735 struct tmpnode *fromtp, in tdircheckpath() argument 761 if (dotdot == fromtp) { in tdircheckpath() 790 struct tmpnode *fromtp, /* source tmpnode */ in tdirrename() argument 809 if (fromtp == to) in tdirrename() 812 rw_enter(&fromtp->tn_rwlock, RW_READER); in tdirrename() 819 to->tn_vnode->v_vfsp != fromtp->tn_vnode->v_vfsp) { in tdirrename() 839 doingdirectory = (fromtp->tn_type == VDIR); in tdirrename() 877 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 1208 error = tdirlookup(fromparent, onm, &fromtp, cred); in tmp_rename() 1220 (error = tmp_sticky_remove_access(fromparent, fromtp, cred)) != 0) in tmp_rename() 1231 (fromparent == fromtp)) { in tmp_rename() 1254 vnevent_pre_rename_dest_dir(ndvp, TNTOV(fromtp), nnm, ct); in tmp_rename() 1257 vnevent_pre_rename_src(TNTOV(fromtp), odvp, onm, ct); in tmp_rename() 1264 fromparent, fromtp, (struct vattr *)NULL, in tmp_rename() 1283 rw_enter(&fromtp->tn_rwlock, RW_WRITER); in tmp_rename() 1285 error = tdirdelete(fromparent, fromtp, onm, DR_RENAME, cred); in tmp_rename() 1298 rw_exit(&fromtp->tn_rwlock); in tmp_rename() [all …]
|