Lines Matching refs:new_fn
761 struct jffs2_full_dnode *new_fn; in jffs2_garbage_collect_metadata() local
834 new_fn = jffs2_write_dnode(c, f, &ri, mdata, mdatalen, ALLOC_GC); in jffs2_garbage_collect_metadata()
836 if (IS_ERR(new_fn)) { in jffs2_garbage_collect_metadata()
837 pr_warn("Error writing new dnode: %ld\n", PTR_ERR(new_fn)); in jffs2_garbage_collect_metadata()
838 ret = PTR_ERR(new_fn); in jffs2_garbage_collect_metadata()
843 f->metadata = new_fn; in jffs2_garbage_collect_metadata()
1019 struct jffs2_full_dnode *new_fn; in jffs2_garbage_collect_hole() local
1108 new_fn = jffs2_write_dnode(c, f, &ri, NULL, 0, ALLOC_GC); in jffs2_garbage_collect_hole()
1110 if (IS_ERR(new_fn)) { in jffs2_garbage_collect_hole()
1111 pr_warn("Error writing new hole node: %ld\n", PTR_ERR(new_fn)); in jffs2_garbage_collect_hole()
1112 return PTR_ERR(new_fn); in jffs2_garbage_collect_hole()
1115 jffs2_add_full_dnode_to_inode(c, f, new_fn); in jffs2_garbage_collect_hole()
1137 mark_ref_normal(new_fn->raw); in jffs2_garbage_collect_hole()
1144 frag->node = new_fn; in jffs2_garbage_collect_hole()
1145 new_fn->frags++; in jffs2_garbage_collect_hole()
1153 if (!new_fn->frags) { in jffs2_garbage_collect_hole()
1169 struct jffs2_full_dnode *new_fn; in jffs2_garbage_collect_dnode() local
1384 new_fn = jffs2_write_dnode(c, f, &ri, comprbuf, cdatalen, ALLOC_GC); in jffs2_garbage_collect_dnode()
1388 if (IS_ERR(new_fn)) { in jffs2_garbage_collect_dnode()
1390 PTR_ERR(new_fn)); in jffs2_garbage_collect_dnode()
1391 ret = PTR_ERR(new_fn); in jffs2_garbage_collect_dnode()
1394 ret = jffs2_add_full_dnode_to_inode(c, f, new_fn); in jffs2_garbage_collect_dnode()