Home
last modified time | relevance | path

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

/linux-6.1.9/fs/jffs2/
Dreadinode.c992 dbg_readinode("ino #%u\n", f->inocache->ino); in jffs2_get_inode_nodes()
1002 valid_ref = jffs2_first_valid_node(f->inocache->nodes); in jffs2_get_inode_nodes()
1003 if (!valid_ref && f->inocache->ino != 1) in jffs2_get_inode_nodes()
1004 JFFS2_WARNING("Eep. No valid nodes for ino #%u.\n", f->inocache->ino); in jffs2_get_inode_nodes()
1133 f->inocache->ino, rii->highest_version, rii->latest_mctime, in jffs2_get_inode_nodes()
1154 dbg_readinode("ino #%u pino/nlink is %d\n", f->inocache->ino, in jffs2_do_read_inode_internal()
1155 f->inocache->pino_nlink); in jffs2_do_read_inode_internal()
1163 JFFS2_ERROR("cannot read nodes for ino %u, returned error is %d\n", f->inocache->ino, ret); in jffs2_do_read_inode_internal()
1164 if (f->inocache->state == INO_STATE_READING) in jffs2_do_read_inode_internal()
1165 jffs2_set_inocache_state(c, f->inocache, INO_STATE_CHECKEDABSENT); in jffs2_do_read_inode_internal()
[all …]
Dwrite.c35 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()
[all …]
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()
267 …ret = jffs2_do_link(c, dir_f, f->inocache->ino, type, dentry->d_name.name, dentry->d_name.len, now… 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()
[all …]
Dgc.c546 ret = jffs2_garbage_collect_pristine(c, f->inocache, raw); in jffs2_garbage_collect_live()
549 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()
[all …]
Djffs2_fs_i.h49 struct jffs2_inode_cache *inocache; member
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()
Dsuper.c144 pino = f->inocache->pino_nlink; in jffs2_get_parent()
147 f->inocache->ino, pino); in jffs2_get_parent()
Dfile.c167 ri.ino = cpu_to_je32(f->inocache->ino); in jffs2_write_begin()
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()
Dfs.c289 set_nlink(inode, f->inocache->pino_nlink); in jffs2_iget()
Ddebug.c709 printk(JFFS2_DBG_MSG_PREFIX " dump fragtree of ino #%u\n", f->inocache->ino); in __jffs2_dbg_dump_fragtree_nolock()