Home
last modified time | relevance | path

Searched refs:mw_cunits (Results 1 – 3 of 3) sorted by relevance

/drivers/nvme/host/
Dlightnvm.c208 __le32 mw_cunits; member
327 geo->mw_cunits = geo->ws_opt << 3; /* default to MLC safe values */ in nvme_nvm_setup_12()
415 geo->mw_cunits = le32_to_cpu(id->mw_cunits); in nvme_nvm_setup_20()
1121 return scnprintf(page, PAGE_SIZE, "%u\n", geo->mw_cunits); in nvm_dev_attr_show_20()
1183 static NVM_DEV_ATTR_20_RO(mw_cunits);
/drivers/lightnvm/
Dpblk-init.c184 threshold = geo->mw_cunits * geo->all_luns; in pblk_rwb_init()
185 pgs_in_buffer = (max(geo->mw_cunits, geo->ws_opt) + geo->ws_opt) in pblk_rwb_init()
Dpblk-recovery.c295 int distance = geo->mw_cunits * geo->all_luns * geo->ws_opt; in pblk_pad_distance()