Lines Matching refs:tnode
153 struct tmpfs_node *tnode; in tmpfs_lookup1() local
159 tnode = de->td_node; in tmpfs_lookup1()
167 if ((tnode->tn_type != VDIR && in tmpfs_lookup1()
168 tnode->tn_type != VLNK) && in tmpfs_lookup1()
188 error = tmpfs_alloc_vp(dvp->v_mount, tnode, in tmpfs_lookup1()
204 error = tmpfs_alloc_vp(dvp->v_mount, tnode, in tmpfs_lookup1()
961 struct tmpfs_node *tnode; in tmpfs_rename() local
1022 tnode = (tvp == NULL) ? NULL : VP_TO_TMPFS_NODE(tvp); in tmpfs_rename()
1049 MPASS(tnode != NULL); in tmpfs_rename()
1051 if ((tnode->tn_flags & (NOUNLINK | IMMUTABLE | APPEND)) || in tmpfs_rename()
1057 if (fnode->tn_type == VDIR && tnode->tn_type == VDIR) { in tmpfs_rename()
1058 if (tnode->tn_size > 0) { in tmpfs_rename()
1062 } else if (fnode->tn_type == VDIR && tnode->tn_type != VDIR) { in tmpfs_rename()
1065 } else if (fnode->tn_type != VDIR && tnode->tn_type == VDIR) { in tmpfs_rename()
1070 tnode->tn_type != VDIR); in tmpfs_rename()
1206 tde = tmpfs_dir_lookup(tdnode, tnode, tcnp); in tmpfs_rename()