Lines Matching refs:ndns
238 struct nd_namespace_common *ndns) in pmem_attach_disk() argument
240 struct nd_namespace_io *nsio = to_nd_namespace_io(&ndns->dev); in pmem_attach_disk()
329 nvdimm_namespace_disk_name(ndns, disk->disk_name); in pmem_attach_disk()
348 struct nd_namespace_common *ndns; in nd_pmem_probe() local
350 ndns = nvdimm_namespace_common_probe(dev); in nd_pmem_probe()
351 if (IS_ERR(ndns)) in nd_pmem_probe()
352 return PTR_ERR(ndns); in nd_pmem_probe()
354 if (devm_nsio_enable(dev, to_nd_namespace_io(&ndns->dev))) in nd_pmem_probe()
358 return nvdimm_namespace_attach_btt(ndns); in nd_pmem_probe()
361 return pmem_attach_disk(dev, ndns); in nd_pmem_probe()
364 if (nd_btt_probe(dev, ndns) == 0 || nd_pfn_probe(dev, ndns) == 0 in nd_pmem_probe()
365 || nd_dax_probe(dev, ndns) == 0) in nd_pmem_probe()
369 return pmem_attach_disk(dev, ndns); in nd_pmem_probe()
390 struct nd_namespace_common *ndns; in nd_pmem_notify() local
401 ndns = nd_btt->ndns; in nd_pmem_notify()
402 nd_region = to_nd_region(ndns->dev.parent); in nd_pmem_notify()
403 nsio = to_nd_namespace_io(&ndns->dev); in nd_pmem_notify()
415 ndns = nd_pfn->ndns; in nd_pmem_notify()
420 ndns = to_ndns(dev); in nd_pmem_notify()
423 nsio = to_nd_namespace_io(&ndns->dev); in nd_pmem_notify()