Searched refs:to_ndns (Results 1 – 3 of 3) sorted by relevance
235 if (dev->driver || to_ndns(dev)->claim) in __alt_name_store()344 dev_WARN_ONCE(dev, dev->driver || to_ndns(dev)->claim, in nd_namespace_label_update()346 if (dev->driver || to_ndns(dev)->claim) in nd_namespace_label_update()858 if (dev->driver || to_ndns(dev)->claim) in __size_store()1020 nvdimm_namespace_capacity(to_ndns(dev))); in size_show()1126 if (to_ndns(dev)->claim) in uuid_store()1194 if (to_ndns(dev)->claim) in sector_size_store()1256 struct nd_namespace_common *ndns = to_ndns(dev); in holder_show()1276 to_ndns(dev)->force_raw = force_raw; in force_raw_store()1283 return sprintf(buf, "%d\n", to_ndns(dev)->force_raw); in force_raw_show()[all …]
159 ndns = to_ndns(found); in nd_namespace_store()
47 static inline struct nd_namespace_common *to_ndns(struct device *dev) in to_ndns() function