Lines Matching defs:ndns
41 struct nd_namespace_common *ndns = nd_btt->ndns;
45 return nvdimm_read_bytes(ndns, offset, buf, n, flags);
52 struct nd_namespace_common *ndns = nd_btt->ndns;
56 return nvdimm_write_bytes(ndns, offset, buf, n, flags);
975 const uuid_t *parent_uuid = nd_dev_to_uuid(&nd_btt->ndns->dev);
1503 struct nd_namespace_common *ndns = nd_btt->ndns;
1510 nvdimm_namespace_disk_name(ndns, btt->btt_disk->disk_name);
1584 nsio = to_nd_namespace_io(&nd_btt->ndns->dev);
1645 int nvdimm_namespace_attach_btt(struct nd_namespace_common *ndns)
1647 struct nd_btt *nd_btt = to_nd_btt(ndns->claim);
1654 if (!nd_btt->uuid || !nd_btt->ndns || !nd_btt->lbasize) {
1663 size = nvdimm_namespace_capacity(ndns);
1664 rc = devm_namespace_enable(&nd_btt->dev, ndns, size);
1674 nd_btt_version(nd_btt, ndns, btt_sb);
1679 dev_name(&ndns->dev),