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()
979 struct tmpfs_node *tnode; in tmpfs_rename() local
1054 tnode = (tvp == NULL) ? NULL : VP_TO_TMPFS_NODE(tvp); in tmpfs_rename()
1080 MPASS(tnode != NULL); in tmpfs_rename()
1082 if ((tnode->tn_flags & (NOUNLINK | IMMUTABLE | APPEND)) || in tmpfs_rename()
1088 if (fnode->tn_type == VDIR && tnode->tn_type == VDIR) { in tmpfs_rename()
1089 if (tnode->tn_size != 0 && in tmpfs_rename()
1091 tnode->tn_size > tnode->tn_dir.tn_wht_size)) { in tmpfs_rename()
1095 } else if (fnode->tn_type == VDIR && tnode->tn_type != VDIR) { in tmpfs_rename()
1098 } else if (fnode->tn_type != VDIR && tnode->tn_type == VDIR) { in tmpfs_rename()
1103 tnode->tn_type != VDIR); in tmpfs_rename()
1249 tde = tmpfs_dir_lookup(tdnode, tnode, tcnp); in tmpfs_rename()
1259 if (tnode->tn_type == VDIR && tnode->tn_size > 0) in tmpfs_rename()
1263 tnode->tn_status |= TMPFS_NODE_CHANGED; in tmpfs_rename()