Lines Matching refs:inocache
70 …D1(printk(KERN_DEBUG "jffs2_add_full_dnode_to_inode(ino #%u, f %p, fn %p)\n", f->inocache->ino, f,…
267 f->inocache = jffs2_get_ino_cache(c, inode->i_ino); in jffs2_read_inode()
268 D2(printk(KERN_DEBUG "jffs2_read_inode(): Got inocache at %p\n", f->inocache)); in jffs2_read_inode()
270 if (!f->inocache && inode->i_ino == 1) { in jffs2_read_inode()
272 f->inocache = jffs2_alloc_inode_cache(); in jffs2_read_inode()
273 if (!f->inocache) { in jffs2_read_inode()
279 memset(f->inocache, 0, sizeof(struct jffs2_inode_cache)); in jffs2_read_inode()
280 f->inocache->ino = f->inocache->nlink = 1; in jffs2_read_inode()
281 f->inocache->nodes = (struct jffs2_raw_node_ref *)f->inocache; in jffs2_read_inode()
282 jffs2_add_ino_cache(c, f->inocache); in jffs2_read_inode()
284 if (!f->inocache) { in jffs2_read_inode()
289 …UG "jffs2_read_inode(): ino #%lu nlink is %d\n", (unsigned long)inode->i_ino, f->inocache->nlink)); in jffs2_read_inode()
290 inode->i_nlink = f->inocache->nlink; in jffs2_read_inode()
340 inode->i_nlink = f->inocache->nlink; in jffs2_read_inode()
476 deleted = f->inocache && !f->inocache->nlink; in jffs2_clear_inode()