Lines Matching defs:ndns
372 struct nd_namespace_common *ndns)
374 struct nd_namespace_io *nsio = to_nd_namespace_io(&ndns->dev);
394 rc = devm_namespace_enable(dev, ndns, nd_info_block_reserve());
407 devm_namespace_disable(dev, ndns);
419 dev_name(&ndns->dev))) {
466 blk_queue_logical_block_size(q, pmem_sector_size(ndns));
481 nvdimm_namespace_disk_name(ndns, disk->disk_name);
518 struct nd_namespace_common *ndns;
520 ndns = nvdimm_namespace_common_probe(dev);
521 if (IS_ERR(ndns))
522 return PTR_ERR(ndns);
525 return nvdimm_namespace_attach_btt(ndns);
528 return pmem_attach_disk(dev, ndns);
530 ret = devm_namespace_enable(dev, ndns, nd_info_block_reserve());
534 ret = nd_btt_probe(dev, ndns);
549 ret = nd_pfn_probe(dev, ndns);
555 ret = nd_dax_probe(dev, ndns);
562 devm_namespace_disable(dev, ndns);
564 return pmem_attach_disk(dev, ndns);
595 struct nd_namespace_common *ndns;
607 ndns = nd_btt->ndns;
608 nd_region = to_nd_region(ndns->dev.parent);
609 nsio = to_nd_namespace_io(&ndns->dev);
623 ndns = nd_pfn->ndns;
628 ndns = to_ndns(dev);
631 nsio = to_nd_namespace_io(&ndns->dev);