Home
last modified time | relevance | path

Searched refs:inocache_hashsize (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/fs/jffs2/
Djffs2_fs_sb.h116 int inocache_hashsize; member
Dnodelist.c425 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()
492 for (i=0; i < c->inocache_hashsize; i++) { in jffs2_free_ino_caches()
Dgc.c158 for (bucket = c->check_ino % c->inocache_hashsize ; bucket < c->inocache_hashsize; bucket++) { in jffs2_garbage_collect_pass()
174 c->check_ino = ((c->highest_ino + c->inocache_hashsize + 1) & in jffs2_garbage_collect_pass()
175 ~c->inocache_hashsize) - 1; in jffs2_garbage_collect_pass()
189 c->check_ino = ic->ino + c->inocache_hashsize; in jffs2_garbage_collect_pass()
Dbuild.c29 for (; *i < c->inocache_hashsize; (*i)++) { in first_inode_chain()
Dfs.c564 c->inocache_hashsize = calculate_inocache_hashsize(c->flash_size); in jffs2_do_fill_super()
565 c->inocache_list = kcalloc(c->inocache_hashsize, sizeof(struct jffs2_inode_cache *), GFP_KERNEL); in jffs2_do_fill_super()