Home
last modified time | relevance | path

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

/fs/ext4/
Dmballoc.c2157 int cache_index = blocksize_bits - EXT4_MIN_BLOCK_LOG_SIZE; in get_groupinfo_cache() local
2158 struct kmem_cache *cachep = ext4_groupinfo_caches[cache_index]; in get_groupinfo_cache()
2348 int cache_index = blocksize_bits - EXT4_MIN_BLOCK_LOG_SIZE; in ext4_groupinfo_create_slab() local
2351 if (cache_index >= NR_GRPINFO_CACHES) in ext4_groupinfo_create_slab()
2354 if (unlikely(cache_index < 0)) in ext4_groupinfo_create_slab()
2355 cache_index = 0; in ext4_groupinfo_create_slab()
2358 if (ext4_groupinfo_caches[cache_index]) { in ext4_groupinfo_create_slab()
2366 cachep = kmem_cache_create(ext4_groupinfo_slab_names[cache_index], in ext4_groupinfo_create_slab()
2370 ext4_groupinfo_caches[cache_index] = cachep; in ext4_groupinfo_create_slab()