Lines Matching defs:ndns
450 struct nd_namespace_common *ndns)
452 struct nd_namespace_io *nsio = to_nd_namespace_io(&ndns->dev);
470 rc = devm_namespace_enable(dev, ndns, nd_info_block_reserve());
483 devm_namespace_disable(dev, ndns);
495 dev_name(&ndns->dev))) {
543 blk_queue_logical_block_size(q, pmem_sector_size(ndns));
552 nvdimm_namespace_disk_name(ndns, disk->disk_name);
602 struct nd_namespace_common *ndns;
604 ndns = nvdimm_namespace_common_probe(dev);
605 if (IS_ERR(ndns))
606 return PTR_ERR(ndns);
609 return nvdimm_namespace_attach_btt(ndns);
612 return pmem_attach_disk(dev, ndns);
614 ret = devm_namespace_enable(dev, ndns, nd_info_block_reserve());
618 ret = nd_btt_probe(dev, ndns);
633 ret = nd_pfn_probe(dev, ndns);
639 ret = nd_dax_probe(dev, ndns);
646 devm_namespace_disable(dev, ndns);
648 return pmem_attach_disk(dev, ndns);
677 struct nd_namespace_common *ndns;
686 ndns = nd_btt->ndns;
687 nd_region = to_nd_region(ndns->dev.parent);
688 nsio = to_nd_namespace_io(&ndns->dev);
702 ndns = nd_pfn->ndns;
707 ndns = to_ndns(dev);
710 nsio = to_nd_namespace_io(&ndns->dev);