Home
last modified time | relevance | path

Searched refs:inocache (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/fs/jffs2/
H A Dreadinode.c1337 if (f->inocache) { in jffs2_do_read_inode()
1361 f->inocache = NULL; in jffs2_do_read_inode()
1373 if (!f->inocache) { in jffs2_do_read_inode()
1379 f->inocache->ino = f->inocache->pino_nlink = 1; in jffs2_do_read_inode()
1380 f->inocache->nodes = (struct jffs2_raw_node_ref *)f->inocache; in jffs2_do_read_inode()
1384 if (!f->inocache) { in jffs2_do_read_inode()
1403 f->inocache = ic; in jffs2_do_crccheck_inode()
1420 deleted = f->inocache && !f->inocache->pino_nlink; in jffs2_do_clear_inode()
1422 if (f->inocache && f->inocache->state != INO_STATE_CHECKING) in jffs2_do_clear_inode()
1440 if (f->inocache && f->inocache->state != INO_STATE_CHECKING) { in jffs2_do_clear_inode()
[all …]
H A Dwrite.c35 f->inocache = ic; 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()
42 ri->ino = cpu_to_je32(f->inocache->ino); in jffs2_do_new_inode()
380 ri->ino = cpu_to_je32(f->inocache->ino); in jffs2_write_inode_range()
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()
[all …]
H A Ddir.c214 f->inocache->pino_nlink, inode->i_mapping->nrpages); in jffs2_create()
238 if (dead_f->inocache) in jffs2_unlink()
239 set_nlink(d_inode(dentry), dead_f->inocache->pino_nlink); in jffs2_unlink()
257 if (!f->inocache) in jffs2_link()
272 set_nlink(d_inode(old_dentry), ++f->inocache->pino_nlink); in jffs2_link()
497 f->inocache->pino_nlink = dir_i->i_ino; in jffs2_mkdir()
831 if (victim_f->inocache) { in jffs2_rename()
834 victim_f->inocache->pino_nlink = 0; in jffs2_rename()
836 victim_f->inocache->pino_nlink--; in jffs2_rename()
857 if (f->inocache && !d_is_dir(old_dentry)) in jffs2_rename()
[all …]
H A Dgc.c549 frag->node->raw = f->inocache->nodes; in jffs2_garbage_collect_live()
577 ref_offset(raw), f->inocache->ino); in jffs2_garbage_collect_live()
818 ri.ino = cpu_to_je32(f->inocache->ino); in jffs2_garbage_collect_metadata()
864 rd.pino = cpu_to_je32(f->inocache->ino); in jffs2_garbage_collect_dirent()
924 for (raw = f->inocache->nodes; raw != (void *)f->inocache; raw = raw->next_in_ino) { in jffs2_garbage_collect_deletion_dirent()
1006 fd->name, f->inocache->ino); in jffs2_garbage_collect_deletion_dirent()
1024 f->inocache->ino, start, end); in jffs2_garbage_collect_hole()
1058 start, end, f->inocache->ino); in jffs2_garbage_collect_hole()
1065 start, end, f->inocache->ino); in jffs2_garbage_collect_hole()
1075 ri.ino = cpu_to_je32(f->inocache->ino); in jffs2_garbage_collect_hole()
[all …]
H A Djffs2_fs_i.h49 struct jffs2_inode_cache *inocache; member
H A Dread.c165 __func__, f->inocache->ino, offset, offset + len); in jffs2_read_inode_range()
182 f->inocache->ino, frag->ofs, offset); in jffs2_read_inode_range()
H A Dsuper.c145 pino = f->inocache->pino_nlink; in jffs2_get_parent()
148 f->inocache->ino, pino); in jffs2_get_parent()
H A Dfile.c166 ri.ino = cpu_to_je32(f->inocache->ino); in jffs2_write_begin()
H A Dxattr.c971 struct jffs2_inode_cache *ic = f->inocache; in jffs2_listxattr()
1040 struct jffs2_inode_cache *ic = f->inocache; in do_jffs2_getxattr()
1102 struct jffs2_inode_cache *ic = f->inocache; in do_jffs2_setxattr()
H A Dfs.c289 set_nlink(inode, f->inocache->pino_nlink); in jffs2_iget()
H A Ddebug.c709 printk(JFFS2_DBG_MSG_PREFIX " dump fragtree of ino #%u\n", f->inocache->ino); in __jffs2_dbg_dump_fragtree_nolock()