Home
last modified time | relevance | path

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

/drivers/md/
Ddm-bio-prison-v2.c28 static struct kmem_cache *_cell_cache; variable
47 ret = mempool_init_slab_pool(&prison->cell_pool, MIN_CELLS, _cell_cache); in dm_bio_prison_create_v2()
353 _cell_cache = KMEM_CACHE(dm_bio_prison_cell_v2, 0); in dm_bio_prison_init_v2()
354 if (!_cell_cache) in dm_bio_prison_init_v2()
362 kmem_cache_destroy(_cell_cache); in dm_bio_prison_exit_v2()
363 _cell_cache = NULL; in dm_bio_prison_exit_v2()
Ddm-bio-prison-v1.c26 static struct kmem_cache *_cell_cache; variable
44 ret = mempool_init_slab_pool(&prison->cell_pool, MIN_CELLS, _cell_cache); in dm_bio_prison_create()
398 _cell_cache = KMEM_CACHE(dm_bio_prison_cell, 0); in dm_bio_prison_init_v1()
399 if (!_cell_cache) in dm_bio_prison_init_v1()
407 kmem_cache_destroy(_cell_cache); in dm_bio_prison_exit_v1()
408 _cell_cache = NULL; in dm_bio_prison_exit_v1()