Searched refs:inocache (Results 1 – 6 of 6) sorted by relevance
/linux-2.4.37.9/fs/jffs2/ |
D | readinode.c | 70 …D1(printk(KERN_DEBUG "jffs2_add_full_dnode_to_inode(ino #%u, f %p, fn %p)\n", f->inocache->ino, f,… 267 f->inocache = jffs2_get_ino_cache(c, inode->i_ino); in jffs2_read_inode() 268 D2(printk(KERN_DEBUG "jffs2_read_inode(): Got inocache at %p\n", f->inocache)); in jffs2_read_inode() 270 if (!f->inocache && inode->i_ino == 1) { in jffs2_read_inode() 272 f->inocache = jffs2_alloc_inode_cache(); in jffs2_read_inode() 273 if (!f->inocache) { in jffs2_read_inode() 279 memset(f->inocache, 0, sizeof(struct jffs2_inode_cache)); in jffs2_read_inode() 280 f->inocache->ino = f->inocache->nlink = 1; in jffs2_read_inode() 281 f->inocache->nodes = (struct jffs2_raw_node_ref *)f->inocache; in jffs2_read_inode() 282 jffs2_add_ino_cache(c, f->inocache); in jffs2_read_inode() [all …]
|
D | write.c | 78 f->inocache = ic; in jffs2_new_inode() 79 inode->i_nlink = f->inocache->nlink = 1; in jffs2_new_inode() 80 f->inocache->nodes = (struct jffs2_raw_node_ref *)f->inocache; in jffs2_new_inode() 81 f->inocache->ino = ri->ino = inode->i_ino = ++c->highest_ino; in jffs2_new_inode() 83 jffs2_add_ino_cache(c, f->inocache); in jffs2_new_inode() 249 raw->next_in_ino = f->inocache->nodes; in jffs2_write_dnode() 250 f->inocache->nodes = raw; in jffs2_write_dnode() 256 f->inocache->nodes = raw; in jffs2_write_dnode() 296 raw->next_in_ino = f->inocache->nodes; in jffs2_write_dirent() 297 f->inocache->nodes = raw; in jffs2_write_dirent() [all …]
|
D | dir.c | 329 inode->i_ino, inode->i_mode, inode->i_nlink, f->inocache->nlink, inode->i_mapping->nrpages)); in jffs2_create() 400 f->inocache->ino, fd->name, fd->ino); in jffs2_do_unlink() 402 …(KERN_DEBUG "Removing deletion dirent for \"%s\" from dir ino #%u\n", fd->name, f->inocache->ino)); in jffs2_do_unlink() 408 if (f->inocache) in jffs2_do_unlink() 409 f->inocache->nlink--; in jffs2_do_unlink() 483 old_dentry->d_inode->i_nlink = ++f->inocache->nlink; in jffs2_do_link() 494 if (!JFFS2_INODE_INFO(old_dentry->d_inode)->inocache) in jffs2_link() 985 if (victim_f->inocache) { in jffs2_rename() 987 victim_f->inocache->nlink--; in jffs2_rename() 999 if (f->inocache) in jffs2_rename() [all …]
|
D | nodelist.c | 100 struct jffs2_raw_node_ref *ref = f->inocache->nodes; in jffs2_get_inode_nodes() 111 if (!f->inocache->nodes) { in jffs2_get_inode_nodes() 114 for (ref = f->inocache->nodes; ref && ref->next_in_ino; ref = ref->next_in_ino) { in jffs2_get_inode_nodes()
|
D | file.c | 363 ri.ino = f->inocache->ino; in jffs2_prepare_write()
|
/linux-2.4.37.9/include/linux/ |
D | jffs2_fs_i.h | 45 struct jffs2_inode_cache *inocache; member
|