Searched refs:nr_cells (Results 1 - 1 of 1) sorted by relevance

/drivers/md/
H A Ddm-thin.c140 static uint32_t calc_nr_buckets(unsigned nr_cells) argument
144 nr_cells /= 4;
145 nr_cells = min(nr_cells, 8192u);
147 while (n < nr_cells)
154 * @nr_cells should be the number of cells you want in use _concurrently_.
157 static struct bio_prison *prison_create(unsigned nr_cells) argument
160 uint32_t nr_buckets = calc_nr_buckets(nr_cells);
169 prison->cell_pool = mempool_create_kmalloc_pool(nr_cells,

Completed in 29 milliseconds