Lines Matching refs:new_fn

296 	struct jffs2_full_dnode *new_fn;  in jffs2_garbage_collect_metadata()  local
356 new_fn = jffs2_write_dnode(inode, &ri, mdata, mdatalen, phys_ofs, NULL); in jffs2_garbage_collect_metadata()
358 if (IS_ERR(new_fn)) { in jffs2_garbage_collect_metadata()
359 printk(KERN_WARNING "Error writing new dnode: %ld\n", PTR_ERR(new_fn)); in jffs2_garbage_collect_metadata()
360 ret = PTR_ERR(new_fn); in jffs2_garbage_collect_metadata()
365 f->metadata = new_fn; in jffs2_garbage_collect_metadata()
448 struct jffs2_full_dnode *new_fn; in jffs2_garbage_collect_hole() local
522 new_fn = jffs2_write_dnode(inode, &ri, NULL, 0, phys_ofs, NULL); in jffs2_garbage_collect_hole()
524 if (IS_ERR(new_fn)) { in jffs2_garbage_collect_hole()
525 printk(KERN_WARNING "Error writing new hole node: %ld\n", PTR_ERR(new_fn)); in jffs2_garbage_collect_hole()
526 return PTR_ERR(new_fn); in jffs2_garbage_collect_hole()
529 jffs2_add_full_dnode_to_inode(c, f, new_fn); in jffs2_garbage_collect_hole()
553 frag->node = new_fn; in jffs2_garbage_collect_hole()
554 new_fn->frags++; in jffs2_garbage_collect_hole()
562 if (!new_fn->frags) { in jffs2_garbage_collect_hole()
578 struct jffs2_full_dnode *new_fn; in jffs2_garbage_collect_dnode() local
682 new_fn = jffs2_write_dnode(inode, &ri, writebuf, cdatalen, phys_ofs, NULL); in jffs2_garbage_collect_dnode()
684 if (IS_ERR(new_fn)) { in jffs2_garbage_collect_dnode()
685 printk(KERN_WARNING "Error writing new dnode: %ld\n", PTR_ERR(new_fn)); in jffs2_garbage_collect_dnode()
686 ret = PTR_ERR(new_fn); in jffs2_garbage_collect_dnode()
689 ret = jffs2_add_full_dnode_to_inode(c, f, new_fn); in jffs2_garbage_collect_dnode()