Lines Matching refs:tnode
154 struct tmpfs_node *tnode; in tmpfs_lookup1() local
160 tnode = de->td_node; in tmpfs_lookup1()
168 if ((tnode->tn_type != VDIR && in tmpfs_lookup1()
169 tnode->tn_type != VLNK) && in tmpfs_lookup1()
189 error = tmpfs_alloc_vp(dvp->v_mount, tnode, in tmpfs_lookup1()
205 error = tmpfs_alloc_vp(dvp->v_mount, tnode, in tmpfs_lookup1()
805 struct tmpfs_node *tnode; in tmpfs_rename() local
859 tnode = (tvp == NULL) ? NULL : VP_TO_TMPFS_NODE(tvp); in tmpfs_rename()
882 MPASS(tnode != NULL); in tmpfs_rename()
884 if ((tnode->tn_flags & (NOUNLINK | IMMUTABLE | APPEND)) || in tmpfs_rename()
890 if (fnode->tn_type == VDIR && tnode->tn_type == VDIR) { in tmpfs_rename()
891 if (tnode->tn_size > 0) { in tmpfs_rename()
895 } else if (fnode->tn_type == VDIR && tnode->tn_type != VDIR) { in tmpfs_rename()
898 } else if (fnode->tn_type != VDIR && tnode->tn_type == VDIR) { in tmpfs_rename()
903 tnode->tn_type != VDIR); in tmpfs_rename()
1021 tde = tmpfs_dir_lookup(tdnode, tnode, tcnp); in tmpfs_rename()