Lines Matching refs:fn
198 struct jffs2_full_dnode *fn; in jffs2_create() local
243 fn = jffs2_write_dnode(inode, ri, NULL, 0, phys_ofs, &writtenlen); in jffs2_create()
247 if (IS_ERR(fn)) { in jffs2_create()
253 return PTR_ERR(fn); in jffs2_create()
258 f->metadata = fn; in jffs2_create()
517 struct jffs2_full_dnode *fn; in jffs2_symlink() local
567 fn = jffs2_write_dnode(inode, ri, target, strlen(target), phys_ofs, &writtenlen); in jffs2_symlink()
571 if (IS_ERR(fn)) { in jffs2_symlink()
576 return PTR_ERR(fn); in jffs2_symlink()
581 f->metadata = fn; in jffs2_symlink()
659 struct jffs2_full_dnode *fn; in jffs2_mkdir() local
701 fn = jffs2_write_dnode(inode, ri, NULL, 0, phys_ofs, &writtenlen); in jffs2_mkdir()
705 if (IS_ERR(fn)) { in jffs2_mkdir()
710 return PTR_ERR(fn); in jffs2_mkdir()
715 f->metadata = fn; in jffs2_mkdir()
804 struct jffs2_full_dnode *fn; in jffs2_mknod() local
855 fn = jffs2_write_dnode(inode, ri, (char *)&dev, devlen, phys_ofs, &writtenlen); in jffs2_mknod()
859 if (IS_ERR(fn)) { in jffs2_mknod()
864 return PTR_ERR(fn); in jffs2_mknod()
869 f->metadata = fn; in jffs2_mknod()