Lines Matching refs:all_luns
185 * geo->all_luns; in pblk_rwb_init()
376 max_write_ppas = pblk->min_write_pgs * geo->all_luns; in pblk_core_init()
406 ret = mempool_init_slab_pool(&pblk->rec_pool, geo->all_luns, in pblk_core_init()
411 ret = mempool_init_slab_pool(&pblk->r_rq_pool, geo->all_luns, in pblk_core_init()
416 ret = mempool_init_slab_pool(&pblk->e_rq_pool, geo->all_luns, in pblk_core_init()
421 ret = mempool_init_slab_pool(&pblk->w_rq_pool, geo->all_luns, in pblk_core_init()
576 nr_blks = blk_per_lun * geo->all_luns; in pblk_bb_get_meta()
582 for (i = 0; i < geo->all_luns; i++) { in pblk_bb_get_meta()
620 pblk->luns = kcalloc(geo->all_luns, sizeof(struct pblk_lun), in pblk_luns_init()
625 for (i = 0; i < geo->all_luns; i++) { in pblk_luns_init()
957 bb_distance = (geo->all_luns) * geo->ws_opt; in pblk_line_mg_init()
991 lm->sec_per_line = geo->clba * geo->all_luns; in pblk_line_meta_init()
992 lm->blk_per_line = geo->all_luns; in pblk_line_meta_init()
993 lm->blk_bitmap_len = BITS_TO_LONGS(geo->all_luns) * sizeof(long); in pblk_line_meta_init()
995 lm->lun_bitmap_len = BITS_TO_LONGS(geo->all_luns) * sizeof(long); in pblk_line_meta_init()
998 lm->meta_distance = (geo->all_luns / 2) * pblk->min_write_pgs; in pblk_line_meta_init()
1028 lm->emeta_bb = geo->all_luns > i ? geo->all_luns - i : 0; in pblk_line_meta_init()
1031 if (geo->all_luns > 1) in pblk_line_meta_init()
1300 geo->all_luns, pblk->l_mg.nr_lines, in pblk_init()