Searched refs:clba (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.4/drivers/lightnvm/ |
D | pblk-init.c | 277 div_u64_rem(geo->clba, pblk->min_write_pgs, &mod); in pblk_set_addrf() 655 int sec_meta, blk_meta, clba; in pblk_set_provision() local 693 blk_meta = DIV_ROUND_UP(sec_meta, geo->clba); in pblk_set_provision() 695 clba = (geo->clba / pblk->min_write_pgs) * pblk->min_write_pgs_data; in pblk_set_provision() 696 pblk->capacity = (provisioned - blk_meta) * clba; in pblk_set_provision() 941 lm->sec_per_line = geo->clba * geo->all_luns; in pblk_line_meta_init() 983 lm->emeta_sec[0], geo->clba); in pblk_line_meta_init() 1247 tqueue->limits.discard_granularity = geo->clba * geo->csecs; in pblk_init()
|
D | pblk-rl.c | 222 blk_meta = DIV_ROUND_UP(sec_meta, geo->clba); in pblk_rl_init()
|
D | core.c | 218 sec_per_lun = dev->geo.clba * dev->geo.num_chk; in nvm_create_tgt_dev() 905 meta->wp = geo->clba; in nvm_bb_chunk_scan() 986 meta->cnlb = dev->geo.clba; in nvm_bb_to_chunk()
|
D | pblk-sysfs.c | 332 geo->clba); in pblk_sysfs_lines_info()
|
D | pblk.h | 1254 ppa->m.sec < geo->clba) in pblk_boundary_ppa_checks()
|
D | pblk-core.c | 1080 line->sec_in_line -= geo->clba; in pblk_line_init_bb()
|
/Linux-v5.4/drivers/nvme/host/ |
D | lightnvm.c | 202 __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() 1111 return scnprintf(page, PAGE_SIZE, "%u\n", geo->clba); in nvm_dev_attr_show_20() 1178 static NVM_DEV_ATTR_20_RO(clba);
|
/Linux-v5.4/include/linux/ |
D | lightnvm.h | 355 u32 clba; /* sectors per chunk */ member 627 if (ppa->m.sec == geo->clba) in nvm_next_ppa_in_chk()
|