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

/fs/jffs2/
H A Djffs2_fs_i.h49 struct jffs2_inode_cache *inocache; member in struct:jffs2_inode_info
H A Dreadinode.c972 dbg_readinode("ino #%u\n", f->inocache->ino);
982 valid_ref = jffs2_first_valid_node(f->inocache->nodes);
983 if (!valid_ref && f->inocache->ino != 1)
984 JFFS2_WARNING("Eep. No valid nodes for ino #%u.\n", f->inocache->ino);
1113 f->inocache->ino, rii->highest_version, rii->latest_mctime,
1134 dbg_readinode("ino #%u pino/nlink is %d\n", f->inocache->ino,
1135 f->inocache->pino_nlink);
1143 JFFS2_ERROR("cannot read nodes for ino %u, returned error is %d\n", f->inocache->ino, ret);
1144 if (f->inocache->state == INO_STATE_READING)
1145 jffs2_set_inocache_state(c, f->inocache, INO_STATE_CHECKEDABSEN
[all...]
H A Dwrite.c35 f->inocache = ic;
36 f->inocache->pino_nlink = 1; /* Will be overwritten shortly for directories */
37 f->inocache->nodes = (struct jffs2_raw_node_ref *)f->inocache;
38 f->inocache->state = INO_STATE_PRESENT;
40 jffs2_add_ino_cache(c, f->inocache);
41 jffs2_dbg(1, "%s(): Assigned ino# %d\n", __func__, f->inocache->ino);
42 ri->ino = cpu_to_je32(f->inocache->ino);
110 (alloc_mode==ALLOC_GC)?0:f->inocache->ino);
182 fn->raw = jffs2_add_physical_node_ref(c, flash_ofs, PAD(sizeof(*ri)+datalen), f->inocache);
[all...]
H A Ddir.c208 f->inocache->pino_nlink, inode->i_mapping->nrpages);
233 if (dead_f->inocache)
234 set_nlink(dentry->d_inode, dead_f->inocache->pino_nlink);
252 if (!f->inocache)
263 ret = jffs2_do_link(c, dir_f, f->inocache->ino, type, dentry->d_name.name, dentry->d_name.len, now);
267 set_nlink(old_dentry->d_inode, ++f->inocache->pino_nlink);
489 f->inocache->pino_nlink = dir_i->i_ino;
816 if (victim_f->inocache) {
819 victim_f->inocache->pino_nlink = 0;
821 victim_f->inocache
[all...]
H A Dgc.c325 /* We need to hold the inocache. Either the erase_completion_lock or
340 inocache to prevent a read_inode(), copy the node intact.
526 ret = jffs2_garbage_collect_pristine(c, f->inocache, raw);
529 frag->node->raw = f->inocache->nodes;
557 ref_offset(raw), f->inocache->ino);
798 ri.ino = cpu_to_je32(f->inocache->ino);
844 rd.pino = cpu_to_je32(f->inocache->ino);
904 for (raw = f->inocache->nodes; raw != (void *)f->inocache; raw = raw->next_in_ino) {
986 fd->name, f->inocache
[all...]
H A Dread.c165 __func__, f->inocache->ino, offset, offset + len);
182 f->inocache->ino, frag->ofs, offset);
H A Dsuper.c145 pino = f->inocache->pino_nlink;
148 f->inocache->ino, pino);
H A Dfile.c182 ri.ino = cpu_to_je32(f->inocache->ino);
H A Dxattr.c966 struct jffs2_inode_cache *ic = f->inocache;
1029 struct jffs2_inode_cache *ic = f->inocache;
1091 struct jffs2_inode_cache *ic = f->inocache;
H A Ddebug.c709 printk(JFFS2_DBG_MSG_PREFIX " dump fragtree of ino #%u\n", f->inocache->ino);
H A Dfs.c289 set_nlink(inode, f->inocache->pino_nlink);
420 /* jffs2_new_inode: allocate a new inode and inocache, add it to the hash,
496 * Pick a inocache hash size based on the size of the medium.

Completed in 102 milliseconds