Lines Matching full:claim
147 if (ndns->claim && is_nd_btt(ndns->claim)) in nvdimm_namespace_disk_name()
207 if (dev->driver || to_ndns(dev)->claim) in __alt_name_store()
238 dev_WARN_ONCE(dev, dev->driver || to_ndns(dev)->claim, in nd_namespace_label_update()
240 if (dev->driver || to_ndns(dev)->claim) in nd_namespace_label_update()
761 if (dev->driver || ndns->claim) in __size_store()
835 if (val == 0 && id != 0 && nd_region->ns_seed != dev && !ndns->claim) in __size_store()
1050 if (to_ndns(dev)->claim) in uuid_store()
1124 if (to_ndns(dev)->claim) in sector_size_store()
1244 rc = sprintf(buf, "%s\n", ndns->claim ? dev_name(ndns->claim) : ""); in holder_show()
1255 if (dev->driver || ndns->claim) in __holder_class_store()
1323 struct device *claim; in mode_show() local
1328 claim = ndns->claim; in mode_show()
1329 if (claim && is_nd_btt(claim)) in mode_show()
1331 else if (claim && is_nd_pfn(claim)) in mode_show()
1333 else if (claim && is_nd_dax(claim)) in mode_show()
1335 else if (!claim && pmem_should_map_pages(dev)) in mode_show()
1467 if (dev_WARN_ONCE(&ndns->dev, ndns->claim != dev, in nvdimm_namespace_common_probe()
1468 "host (%s) vs claim (%s) mismatch\n", in nvdimm_namespace_common_probe()
1470 dev_name(ndns->claim))) in nvdimm_namespace_common_probe()
1474 if (ndns->claim) { in nvdimm_namespace_common_probe()
1476 dev_name(ndns->claim)); in nvdimm_namespace_common_probe()