Lines Matching refs:to_ndns
90 struct nd_namespace_common *ndns = to_ndns(dev); in pmem_should_map_pages()
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()
746 struct nd_namespace_common *ndns = to_ndns(dev); in __size_store()
921 nvdimm_namespace_capacity(to_ndns(dev))); in size_show()
1041 if (to_ndns(dev)->claim) in uuid_store()
1115 if (to_ndns(dev)->claim) in sector_size_store()
1231 struct nd_namespace_common *ndns = to_ndns(dev); in holder_show()
1244 struct nd_namespace_common *ndns = to_ndns(dev); in __holder_class_store()
1289 struct nd_namespace_common *ndns = to_ndns(dev); in holder_class_show()
1313 struct nd_namespace_common *ndns = to_ndns(dev); in mode_show()
1346 to_ndns(dev)->force_raw = force_raw; in force_raw_store()
1353 return sprintf(buf, "%d\n", to_ndns(dev)->force_raw); in force_raw_show()
1464 ndns = to_ndns(dev); in nvdimm_namespace_common_probe()