Lines Matching refs:ndns
41 struct nd_namespace_common *ndns = nd_btt->ndns; in arena_read_bytes() local
45 return nvdimm_read_bytes(ndns, offset, buf, n, flags); in arena_read_bytes()
52 struct nd_namespace_common *ndns = nd_btt->ndns; in arena_write_bytes() local
56 return nvdimm_write_bytes(ndns, offset, buf, n, flags); in arena_write_bytes()
975 const uuid_t *parent_uuid = nd_dev_to_uuid(&nd_btt->ndns->dev); in btt_arena_write_layout()
1518 struct nd_namespace_common *ndns = nd_btt->ndns; in btt_blk_init() local
1525 nvdimm_namespace_disk_name(ndns, btt->btt_disk->disk_name); in btt_blk_init()
1598 nsio = to_nd_namespace_io(&nd_btt->ndns->dev); in btt_init()
1659 int nvdimm_namespace_attach_btt(struct nd_namespace_common *ndns) in nvdimm_namespace_attach_btt() argument
1661 struct nd_btt *nd_btt = to_nd_btt(ndns->claim); in nvdimm_namespace_attach_btt()
1668 if (!nd_btt->uuid || !nd_btt->ndns || !nd_btt->lbasize) { in nvdimm_namespace_attach_btt()
1677 size = nvdimm_namespace_capacity(ndns); in nvdimm_namespace_attach_btt()
1678 rc = devm_namespace_enable(&nd_btt->dev, ndns, size); in nvdimm_namespace_attach_btt()
1688 nd_btt_version(nd_btt, ndns, btt_sb); in nvdimm_namespace_attach_btt()
1693 dev_name(&ndns->dev), in nvdimm_namespace_attach_btt()