Lines Matching refs:claim
144 if (ndns->claim && is_nd_btt(ndns->claim)) in nvdimm_namespace_disk_name()
204 if (dev->driver || to_ndns(dev)->claim) in __alt_name_store()
235 dev_WARN_ONCE(dev, dev->driver || to_ndns(dev)->claim, in nd_namespace_label_update()
237 if (dev->driver || to_ndns(dev)->claim) in nd_namespace_label_update()
754 if (dev->driver || ndns->claim) in __size_store()
828 if (val == 0 && id != 0 && nd_region->ns_seed != dev && !ndns->claim) in __size_store()
1041 if (to_ndns(dev)->claim) in uuid_store()
1115 if (to_ndns(dev)->claim) in sector_size_store()
1235 rc = sprintf(buf, "%s\n", ndns->claim ? dev_name(ndns->claim) : ""); in holder_show()
1246 if (dev->driver || ndns->claim) in __holder_class_store()
1314 struct device *claim; in mode_show() local
1319 claim = ndns->claim; in mode_show()
1320 if (claim && is_nd_btt(claim)) in mode_show()
1322 else if (claim && is_nd_pfn(claim)) in mode_show()
1324 else if (claim && is_nd_dax(claim)) in mode_show()
1326 else if (!claim && pmem_should_map_pages(dev)) in mode_show()
1458 if (dev_WARN_ONCE(&ndns->dev, ndns->claim != dev, in nvdimm_namespace_common_probe()
1461 dev_name(ndns->claim))) in nvdimm_namespace_common_probe()
1465 if (ndns->claim) { in nvdimm_namespace_common_probe()
1467 dev_name(ndns->claim)); in nvdimm_namespace_common_probe()