Lines Matching refs:mdata_tn
232 if (rii->mdata_tn) { in jffs2_add_tn_to_tree()
233 if (rii->mdata_tn->version < tn->version) { in jffs2_add_tn_to_tree()
235 dbg_readinode("kill old mdata with ver %d\n", rii->mdata_tn->version); in jffs2_add_tn_to_tree()
236 jffs2_kill_tn(c, rii->mdata_tn); in jffs2_add_tn_to_tree()
239 tn->version, rii->mdata_tn->version); in jffs2_add_tn_to_tree()
244 rii->mdata_tn = tn; in jffs2_add_tn_to_tree()
459 if (rii->mdata_tn) { in jffs2_build_inode_fragtree()
460 dbg_readinode("potential mdata is ver %d at %p\n", rii->mdata_tn->version, rii->mdata_tn); in jffs2_build_inode_fragtree()
461 high_ver = rii->mdata_tn->version; in jffs2_build_inode_fragtree()
462 rii->latest_ref = rii->mdata_tn->fn->raw; in jffs2_build_inode_fragtree()
1177 if (rii.mdata_tn) { in jffs2_do_read_inode_internal()
1178 jffs2_free_full_dnode(rii.mdata_tn->fn); in jffs2_do_read_inode_internal()
1179 jffs2_free_tmp_dnode_info(rii.mdata_tn); in jffs2_do_read_inode_internal()
1180 rii.mdata_tn = NULL; in jffs2_do_read_inode_internal()
1185 if (rii.mdata_tn) { in jffs2_do_read_inode_internal()
1186 if (rii.mdata_tn->fn->raw == rii.latest_ref) { in jffs2_do_read_inode_internal()
1187 f->metadata = rii.mdata_tn->fn; in jffs2_do_read_inode_internal()
1188 jffs2_free_tmp_dnode_info(rii.mdata_tn); in jffs2_do_read_inode_internal()
1190 jffs2_kill_tn(c, rii.mdata_tn); in jffs2_do_read_inode_internal()
1192 rii.mdata_tn = NULL; in jffs2_do_read_inode_internal()