Home
last modified time | relevance | path

Searched refs:ws_opt (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/nvme/host/
Dlightnvm.c207 __le32 ws_opt; member
326 geo->ws_opt = sec_per_pg; in nvme_nvm_setup_12()
327 geo->mw_cunits = geo->ws_opt << 3; /* default to MLC safe values */ in nvme_nvm_setup_12()
360 geo->ws_opt <<= 1; in nvme_nvm_setup_12()
363 geo->ws_opt <<= 2; in nvme_nvm_setup_12()
414 geo->ws_opt = le32_to_cpu(id->ws_opt); in nvme_nvm_setup_20()
1118 return scnprintf(page, PAGE_SIZE, "%u\n", geo->ws_opt); in nvm_dev_attr_show_20()
1183 static NVM_DEV_ATTR_20_RO(ws_opt);
/kernel/linux/linux-5.10/drivers/lightnvm/
Dpblk-init.c190 pgs_in_buffer = (max(geo->mw_cunits, geo->ws_opt) + geo->ws_opt) in pblk_rwb_init()
264 udst->sec_stripe = geo->ws_opt; in pblk_set_addrf_20()
392 pblk->min_write_pgs = geo->ws_opt; in pblk_core_init()
911 bb_distance = (geo->all_luns) * geo->ws_opt; in pblk_line_mg_init()
913 bitmap_set(l_mg->bb_template, i, geo->ws_opt); in pblk_line_mg_init()
960 lm->smeta_sec = i * geo->ws_opt; in pblk_line_meta_init()
974 lm->emeta_sec[0] = i * geo->ws_opt; in pblk_line_meta_init()
Dpblk-core.c674 return bit * geo->ws_opt; in pblk_line_smeta_start()
1075 off = bit * geo->ws_opt; in pblk_line_init_bb()
1085 off = bit * geo->ws_opt; in pblk_line_init_bb()
1103 off -= geo->ws_opt; in pblk_line_init_bb()
1105 bitmap_set(line->invalid_bitmap, off, geo->ws_opt); in pblk_line_init_bb()
1106 emeta_secs -= geo->ws_opt; in pblk_line_init_bb()
Dpblk-recovery.c295 int distance = geo->mw_cunits * geo->all_luns * geo->ws_opt; in pblk_pad_distance()
Dcore.c1152 dev->name, dev->geo.ws_min, dev->geo.ws_opt, in nvm_init()
/kernel/linux/linux-5.10/include/linux/
Dlightnvm.h363 u32 ws_opt; /* optimal write size */ member