Searched refs:num_chk (Results 1 – 5 of 5) sorted by relevance
116 __le16 num_chk; member201 __le32 num_chk; member312 geo->num_chk = le16_to_cpu(src->num_chk); in nvme_nvm_setup_12()322 geo->all_chunks = geo->all_luns * geo->num_chk; in nvme_nvm_setup_12()333 geo->maxoc = geo->all_luns * geo->num_chk; in nvme_nvm_setup_12()334 geo->maxocpu = geo->num_chk; in nvme_nvm_setup_12()407 geo->num_chk = le32_to_cpu(id->num_chk); in nvme_nvm_setup_20()410 geo->all_chunks = geo->all_luns * geo->num_chk; in nvme_nvm_setup_20()484 int nr_blks = geo->num_chk * geo->num_pln; in nvme_nvm_get_bb_tbl()525 memcpy(blks, bb_tbl->blk, geo->num_chk * geo->num_pln); in nvme_nvm_get_bb_tbl()[all …]
214 tgt_dev->geo.all_chunks = num_lun * dev->geo.num_chk; in nvm_create_tgt_dev()218 sec_per_lun = dev->geo.clba * dev->geo.num_chk; in nvm_create_tgt_dev()968 for (blk = 0; blk < geo->num_chk; blk++) { in nvm_bb_to_chunk()1017 if ((nchks % geo->num_chk) != 0) in nvm_get_bb_meta()1020 nr_blks = geo->num_chk * geo->pln_mode; in nvm_get_bb_meta()1047 meta += geo->num_chk; in nvm_get_bb_meta()1048 nchks -= geo->num_chk; in nvm_get_bb_meta()1159 dev->geo.num_chk, dev->geo.all_luns, in nvm_init()
1245 ppa->g.blk < geo->num_chk && in pblk_boundary_ppa_checks()1253 ppa->m.chk < geo->num_chk && in pblk_boundary_ppa_checks()
157 int ch_off = ppa.m.grp * geo->num_chk * geo->num_lun; in pblk_chunk_get_off()158 int lun_off = ppa.m.pu * geo->num_chk; in pblk_chunk_get_off()
824 l_mg->nr_lines = geo->num_chk; in pblk_line_mg_init()