Home
last modified time | relevance | path

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

/drivers/md/
Ddm-bio-prison-v2.c25 mempool_t cell_pool; member
47 ret = mempool_init_slab_pool(&prison->cell_pool, MIN_CELLS, _cell_cache); in dm_bio_prison_create_v2()
61 mempool_exit(&prison->cell_pool); in dm_bio_prison_destroy_v2()
68 return mempool_alloc(&prison->cell_pool, gfp); in dm_bio_prison_alloc_cell_v2()
75 mempool_free(cell, &prison->cell_pool); in dm_bio_prison_free_cell_v2()
Ddm-bio-prison-v1.c23 mempool_t cell_pool; member
44 ret = mempool_init_slab_pool(&prison->cell_pool, MIN_CELLS, _cell_cache); in dm_bio_prison_create()
58 mempool_exit(&prison->cell_pool); in dm_bio_prison_destroy()
65 return mempool_alloc(&prison->cell_pool, gfp); in dm_bio_prison_alloc_cell()
72 mempool_free(cell, &prison->cell_pool); in dm_bio_prison_free_cell()