Home
last modified time | relevance | path

Searched refs:csecs (Results 1 – 7 of 7) sorted by relevance

/drivers/lightnvm/
Dpblk-init.c198 return pblk_rb_init(&pblk->rwb, buffer_size, threshold, geo->csecs); in pblk_rwb_init()
397 queue_max_hw_sectors(dev->q) / (geo->csecs >> SECTOR_SHIFT)); in pblk_core_init()
635 sizeof(struct wa_counters), geo->csecs); in calc_emeta_len()
636 lm->emeta_len[1] = lm->emeta_sec[1] * geo->csecs; in calc_emeta_len()
641 geo->csecs); in calc_emeta_len()
642 lm->emeta_len[2] = lm->emeta_sec[2] * geo->csecs; in calc_emeta_len()
645 geo->csecs); in calc_emeta_len()
646 lm->emeta_len[3] = lm->emeta_sec[3] * geo->csecs; in calc_emeta_len()
961 lm->smeta_len = lm->smeta_sec * geo->csecs; in pblk_line_meta_init()
975 lm->emeta_len[0] = lm->emeta_sec[0] * geo->csecs; in pblk_line_meta_init()
[all …]
Dpblk-recovery.c197 data = vzalloc(array_size(pblk->max_write_pgs, geo->csecs)); in pblk_recov_pad_line()
496 data = kcalloc(pblk->max_write_pgs, geo->csecs, GFP_KERNEL); in pblk_recov_l2p_from_oob()
Dcore.c401 mdts = (dev->geo.csecs >> 9) * NVM_MAX_VLBA; in nvm_create_tgt()
404 (dev->geo.csecs >> 9) * NVM_MAX_VLBA); in nvm_create_tgt()
Dpblk-gc.c243 gc_rq->data = vmalloc(array_size(gc_rq->nr_secs, geo->csecs)); in pblk_gc_line_prepare_ws()
Dpblk-write.c390 rq_len = rq_ppas * geo->csecs; in pblk_submit_meta_io()
Dpblk-core.c794 rq_len = rq_ppas * geo->csecs; in pblk_line_emeta_read()
/drivers/nvme/host/
Dlightnvm.c119 __le16 csecs; member
314 geo->csecs = le16_to_cpu(src->csecs); in nvme_nvm_setup_12()
318 sec_per_pg = le16_to_cpu(src->fpg_sz) / geo->csecs; in nvme_nvm_setup_12()
690 ret = blk_rq_map_kern(q, rq, buf, geo->csecs * rqd->nr_ppas, in nvme_nvm_submit_io()
962 geo->csecs = 1 << ns->lba_shift; in nvme_nvm_register()
1070 return scnprintf(page, PAGE_SIZE, "%u\n", geo->csecs); in nvm_dev_attr_show_12()