Lines Matching refs:claim
145 if (ndns->claim && is_nd_btt(ndns->claim)) in nvdimm_namespace_disk_name()
205 if (dev->driver || to_ndns(dev)->claim) in __alt_name_store()
236 dev_WARN_ONCE(dev, dev->driver || to_ndns(dev)->claim, in nd_namespace_label_update()
238 if (dev->driver || to_ndns(dev)->claim) in nd_namespace_label_update()
755 if (dev->driver || ndns->claim) in __size_store()
829 if (val == 0 && id != 0 && nd_region->ns_seed != dev && !ndns->claim) in __size_store()
1042 if (to_ndns(dev)->claim) in uuid_store()
1116 if (to_ndns(dev)->claim) in sector_size_store()
1236 rc = sprintf(buf, "%s\n", ndns->claim ? dev_name(ndns->claim) : ""); in holder_show()
1247 if (dev->driver || ndns->claim) in __holder_class_store()
1315 struct device *claim; in mode_show() local
1320 claim = ndns->claim; in mode_show()
1321 if (claim && is_nd_btt(claim)) in mode_show()
1323 else if (claim && is_nd_pfn(claim)) in mode_show()
1325 else if (claim && is_nd_dax(claim)) in mode_show()
1327 else if (!claim && pmem_should_map_pages(dev)) in mode_show()
1459 if (dev_WARN_ONCE(&ndns->dev, ndns->claim != dev, in nvdimm_namespace_common_probe()
1462 dev_name(ndns->claim))) in nvdimm_namespace_common_probe()
1466 if (ndns->claim) { in nvdimm_namespace_common_probe()
1468 dev_name(ndns->claim)); in nvdimm_namespace_common_probe()