Lines Matching refs:inocache
35 f->inocache = ic; in jffs2_do_new_inode()
36 f->inocache->pino_nlink = 1; /* Will be overwritten shortly for directories */ in jffs2_do_new_inode()
37 f->inocache->nodes = (struct jffs2_raw_node_ref *)f->inocache; in jffs2_do_new_inode()
38 f->inocache->state = INO_STATE_PRESENT; in jffs2_do_new_inode()
40 jffs2_add_ino_cache(c, f->inocache); in jffs2_do_new_inode()
41 jffs2_dbg(1, "%s(): Assigned ino# %d\n", __func__, f->inocache->ino); in jffs2_do_new_inode()
42 ri->ino = cpu_to_je32(f->inocache->ino); in jffs2_do_new_inode()
110 (alloc_mode==ALLOC_GC)?0:f->inocache->ino); in jffs2_write_dnode()
182 fn->raw = jffs2_add_physical_node_ref(c, flash_ofs, PAD(sizeof(*ri)+datalen), f->inocache); in jffs2_write_dnode()
322 PAD(sizeof(*rd)+namelen), f->inocache); in jffs2_write_dirent()
348 __func__, f->inocache->ino, offset, writelen); in jffs2_write_inode_range()
380 ri->ino = cpu_to_je32(f->inocache->ino); in jffs2_write_inode_range()
515 rd->pino = cpu_to_je32(dir_f->inocache->ino); in jffs2_do_create()
578 rd->pino = cpu_to_je32(dir_f->inocache->ino); in jffs2_do_unlink()
632 if (dead_f && dead_f->inocache) { in jffs2_do_unlink()
645 dead_f->inocache->ino, in jffs2_do_unlink()
650 dead_f->inocache->ino); in jffs2_do_unlink()
656 dead_f->inocache->pino_nlink = 0; in jffs2_do_unlink()
658 dead_f->inocache->pino_nlink--; in jffs2_do_unlink()
695 rd->pino = cpu_to_je32(dir_f->inocache->ino); in jffs2_do_link()