Home
last modified time | relevance | path

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

/linux-6.3-rc2/fs/jffs2/
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 …]
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 …]
A Ddir.c213 f->inocache->pino_nlink, inode->i_mapping->nrpages); in jffs2_create()
237 if (dead_f->inocache) in jffs2_unlink()
238 set_nlink(d_inode(dentry), dead_f->inocache->pino_nlink); in jffs2_unlink()
256 if (!f->inocache) in jffs2_link()
271 set_nlink(d_inode(old_dentry), ++f->inocache->pino_nlink); in jffs2_link()
495 f->inocache->pino_nlink = dir_i->i_ino; in jffs2_mkdir()
827 if (victim_f->inocache) { in jffs2_rename()
830 victim_f->inocache->pino_nlink = 0; in jffs2_rename()
832 victim_f->inocache->pino_nlink--; in jffs2_rename()
853 if (f->inocache && !d_is_dir(old_dentry)) in jffs2_rename()
[all …]
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 …]
A Djffs2_fs_i.h49 struct jffs2_inode_cache *inocache; member
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()
A Dsuper.c144 pino = f->inocache->pino_nlink; in jffs2_get_parent()
147 f->inocache->ino, pino); in jffs2_get_parent()
A Dfile.c166 ri.ino = cpu_to_je32(f->inocache->ino); in jffs2_write_begin()
A Dxattr.c966 struct jffs2_inode_cache *ic = f->inocache; in jffs2_listxattr()
1036 struct jffs2_inode_cache *ic = f->inocache; in do_jffs2_getxattr()
1098 struct jffs2_inode_cache *ic = f->inocache; in do_jffs2_setxattr()
A Dfs.c289 set_nlink(inode, f->inocache->pino_nlink); in jffs2_iget()
A Ddebug.c709 printk(JFFS2_DBG_MSG_PREFIX " dump fragtree of ino #%u\n", f->inocache->ino); in __jffs2_dbg_dump_fragtree_nolock()

Completed in 25 milliseconds