Searched refs:inocache_list (Results 1 – 7 of 7) sorted by relevance
425 ret = c->inocache_list[ino % c->inocache_hashsize]; in jffs2_get_ino_cache()446 prev = &c->inocache_list[new->ino % c->inocache_hashsize]; in jffs2_add_ino_cache()467 prev = &c->inocache_list[old->ino % c->inocache_hashsize]; in jffs2_del_ino_cache()493 this = c->inocache_list[i]; in jffs2_free_ino_caches()500 c->inocache_list[i] = NULL; in jffs2_free_ino_caches()
117 struct jffs2_inode_cache **inocache_list; member
30 if (c->inocache_list[*i]) in first_inode_chain()31 return c->inocache_list[*i]; in first_inode_chain()
565 c->inocache_list = kcalloc(c->inocache_hashsize, sizeof(struct jffs2_inode_cache *), GFP_KERNEL); in jffs2_do_fill_super()566 if (!c->inocache_list) { in jffs2_do_fill_super()609 kfree(c->inocache_list); in jffs2_do_fill_super()
102 This spinlock protects the hashed list (c->inocache_list) of the105 has to be locked while walking the c->inocache_list hash buckets.
338 kfree(c->inocache_list); in jffs2_put_super()
159 for (ic = c->inocache_list[bucket]; ic; ic = ic->next) { in jffs2_garbage_collect_pass()