Home
last modified time | relevance | path

Searched refs:clba (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/lightnvm/
Dpblk-init.c282 div_u64_rem(geo->clba, pblk->min_write_pgs, &mod); in pblk_set_addrf()
660 int sec_meta, blk_meta, clba; in pblk_set_provision() local
698 blk_meta = DIV_ROUND_UP(sec_meta, geo->clba); in pblk_set_provision()
700 clba = (geo->clba / pblk->min_write_pgs) * pblk->min_write_pgs_data; in pblk_set_provision()
701 pblk->capacity = (provisioned - blk_meta) * clba; in pblk_set_provision()
946 lm->sec_per_line = geo->clba * geo->all_luns; in pblk_line_meta_init()
988 lm->emeta_sec[0], geo->clba); in pblk_line_meta_init()
1252 tqueue->limits.discard_granularity = geo->clba * geo->csecs; in pblk_init()
Dpblk-rl.c222 blk_meta = DIV_ROUND_UP(sec_meta, geo->clba); in pblk_rl_init()
Dcore.c218 sec_per_lun = dev->geo.clba * dev->geo.num_chk; in nvm_create_tgt_dev()
899 meta->wp = geo->clba; in nvm_bb_chunk_scan()
980 meta->cnlb = dev->geo.clba; in nvm_bb_to_chunk()
Dpblk-sysfs.c332 geo->clba); in pblk_sysfs_lines_info()
Dpblk.h1254 ppa->m.sec < geo->clba) in pblk_boundary_ppa_checks()
Dpblk-core.c1080 line->sec_in_line -= geo->clba; in pblk_line_init_bb()
/kernel/linux/linux-5.10/drivers/nvme/host/
Dlightnvm.c202 __le32 clba; member
320 geo->clba = sec_per_pl * pg_per_blk; in nvme_nvm_setup_12()
323 geo->total_secs = geo->clba * geo->all_chunks; in nvme_nvm_setup_12()
408 geo->clba = le32_to_cpu(id->clba); in nvme_nvm_setup_20()
411 geo->total_secs = geo->clba * geo->all_chunks; in nvme_nvm_setup_20()
1114 return scnprintf(page, PAGE_SIZE, "%u\n", geo->clba); in nvm_dev_attr_show_20()
1181 static NVM_DEV_ATTR_20_RO(clba);
/kernel/linux/linux-5.10/include/linux/
Dlightnvm.h355 u32 clba; /* sectors per chunk */ member
627 if (ppa->m.sec == geo->clba) in nvm_next_ppa_in_chk()