Lines Matching refs:tnode
152 struct tmpfs_node *tnode; in tmpfs_lookup1() local
158 tnode = de->td_node; in tmpfs_lookup1()
166 if ((tnode->tn_type != VDIR && in tmpfs_lookup1()
167 tnode->tn_type != VLNK) && in tmpfs_lookup1()
187 error = tmpfs_alloc_vp(dvp->v_mount, tnode, in tmpfs_lookup1()
202 error = tmpfs_alloc_vp(dvp->v_mount, tnode, in tmpfs_lookup1()
981 struct tmpfs_node *tnode; in tmpfs_rename() local
1046 tnode = (tvp == NULL) ? NULL : VP_TO_TMPFS_NODE(tvp); in tmpfs_rename()
1072 MPASS(tnode != NULL); in tmpfs_rename()
1074 if ((tnode->tn_flags & (NOUNLINK | IMMUTABLE | APPEND)) || in tmpfs_rename()
1080 if (fnode->tn_type == VDIR && tnode->tn_type == VDIR) { in tmpfs_rename()
1081 if (tnode->tn_size > 0) { in tmpfs_rename()
1085 } else if (fnode->tn_type == VDIR && tnode->tn_type != VDIR) { in tmpfs_rename()
1088 } else if (fnode->tn_type != VDIR && tnode->tn_type == VDIR) { in tmpfs_rename()
1093 tnode->tn_type != VDIR); in tmpfs_rename()
1239 tde = tmpfs_dir_lookup(tdnode, tnode, tcnp); in tmpfs_rename()
1243 tnode->tn_status |= TMPFS_NODE_CHANGED; in tmpfs_rename()