Lines Matching refs:lbasize
139 if (nspm->lbasize == 0 || nspm->lbasize == 512) in pmem_sector_size()
141 else if (nspm->lbasize == 4096) in pmem_sector_size()
145 nspm->lbasize); in pmem_sector_size()
296 if (!nsblk->uuid || !nsblk->lbasize || !ndd) in __nd_namespace_blk_validate()
374 else if (!nsblk->uuid || !nsblk->lbasize) in nd_namespace_label_update()
1325 return nd_size_select_show(nsblk->lbasize, in sector_size_show()
1332 return nd_size_select_show(nspm->lbasize, in sector_size_show()
1343 unsigned long *lbasize; in sector_size_store() local
1349 lbasize = &nsblk->lbasize; in sector_size_store()
1354 lbasize = &nspm->lbasize; in sector_size_store()
1364 rc = nd_size_select_store(dev, buf, lbasize, supported); in sector_size_store()
1776 if (!nsblk->lbasize) { in nvdimm_namespace_common_probe()
2048 nspm->lbasize = __le64_to_cpu(label0->lbasize); in create_namespace_pmem()
2291 nsblk->lbasize = __le64_to_cpu(nd_label->lbasize); in create_namespace_blk()