Lines Matching refs:tn_root
175 static struct jffs2_tmp_dnode_info *jffs2_lookup_tn(struct rb_root *tn_root, uint32_t offset) in jffs2_lookup_tn() argument
180 dbg_readinode("root %p, offset %d\n", tn_root, offset); in jffs2_lookup_tn()
182 next = tn_root->rb_node; in jffs2_lookup_tn()
250 this = jffs2_lookup_tn(&rii->tn_root, tn->fn->ofs); in jffs2_add_tn_to_tree()
286 rb_replace_node(&this->rb, &tn->rb, &rii->tn_root); in jffs2_add_tn_to_tree()
305 tn_erase(this, &rii->tn_root); in jffs2_add_tn_to_tree()
327 tn_erase(this, &rii->tn_root); in jffs2_add_tn_to_tree()
339 struct rb_node **link = &rii->tn_root.rb_node; in jffs2_add_tn_to_tree()
354 rb_insert_color(&tn->rb, &rii->tn_root); in jffs2_add_tn_to_tree()
465 this = tn_last(&rii->tn_root); in jffs2_build_inode_fragtree()
472 pen = tn_last(&rii->tn_root); in jffs2_build_inode_fragtree()
476 eat_last(&rii->tn_root, &last->rb); in jffs2_build_inode_fragtree()
870 tn = tn_first(&rii->tn_root); in read_dnode()
1138 jffs2_free_tmp_dnode_info_list(&rii->tn_root); in jffs2_get_inode_nodes()
1175 jffs2_free_tmp_dnode_info_list(&rii.tn_root); in jffs2_do_read_inode_internal()