Home
last modified time | relevance | path

Searched refs:lbasize (Results 1 – 10 of 10) sorted by relevance

/drivers/nvdimm/
Dbtt_devs.c64 return nd_sector_size_show(nd_btt->lbasize, btt_lbasize_supported, buf); in sector_size_show()
75 rc = nd_sector_size_store(dev, buf, &nd_btt->lbasize, in sector_size_store()
182 unsigned long lbasize, u8 *uuid, in __nd_btt_create() argument
198 nd_btt->lbasize = lbasize; in __nd_btt_create()
285 nd_btt->lbasize = le32_to_cpu(btt_sb->external_lbasize); in __nd_btt_probe()
Dblk.c26 return nsblk->lbasize - ((nsblk->lbasize >= 4096) ? 4096 : 512); in nsblk_meta_size()
31 return roundup(nsblk->lbasize, INT_LBASIZE_ALIGNMENT); in nsblk_internal_lbasize()
36 return nsblk->lbasize - nsblk_meta_size(nsblk); in nsblk_sector_size()
Dcore.c298 unsigned long lbasize; in nd_sector_size_store() local
304 rc = kstrtoul(buf, 0, &lbasize); in nd_sector_size_store()
309 if (lbasize == supported[i]) in nd_sector_size_store()
313 *current_lbasize = lbasize; in nd_sector_size_store()
Dbtt.c657 arena->external_lbasize = btt->lbasize; in alloc_arena()
951 return btt->lbasize - btt->sector_size; in btt_meta_size()
1438 u32 lbasize, u8 *uuid, struct nd_region *nd_region) in btt_init() argument
1450 btt->lbasize = lbasize; in btt_init()
1451 btt->sector_size = ((lbasize >= 4096) ? 4096 : 512); in btt_init()
1521 if (!nd_btt->uuid || !nd_btt->ndns || !nd_btt->lbasize) { in nvdimm_namespace_attach_btt()
1533 btt = btt_init(nd_btt, rawsize, nd_btt->lbasize, nd_btt->uuid, in nvdimm_namespace_attach_btt()
Dlabel.h97 __le64 lbasize; member
Dbtt.h221 u32 lbasize; member
Dnamespace_devs.c307 if (!nsblk->uuid || !nsblk->lbasize || !ndd) in __nd_namespace_blk_validate()
385 else if (!nsblk->uuid || !nsblk->lbasize) in nd_namespace_label_update()
1297 return nd_sector_size_show(nsblk->lbasize, ns_lbasize_supported, buf); in sector_size_show()
1315 rc = nd_sector_size_store(dev, buf, &nsblk->lbasize, in sector_size_store()
1552 if (!nsblk->lbasize) { in nvdimm_namespace_common_probe()
2021 nsblk->lbasize = __le64_to_cpu(nd_label->lbasize); in create_namespace_blk()
Dclaim.c125 nd_btt->lbasize = 0; in nd_detach_and_reset()
Dnd.h185 unsigned long lbasize; member
Dlabel.c729 nd_label->lbasize = __cpu_to_le64(nsblk->lbasize); in __blk_label_update()