Home
last modified time | relevance | path

Searched refs:to_ndns (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/nvdimm/
Dnamespace_devs.c133 struct nd_namespace_common *ndns = to_ndns(dev); in pmem_should_map_pages()
266 if (dev->driver || to_ndns(dev)->claim) in __alt_name_store()
374 dev_WARN_ONCE(dev, dev->driver || to_ndns(dev)->claim, in nd_namespace_label_update()
376 if (dev->driver || to_ndns(dev)->claim) in nd_namespace_label_update()
974 struct nd_namespace_common *ndns = to_ndns(dev); in __size_store()
1166 nvdimm_namespace_capacity(to_ndns(dev))); in size_show()
1292 if (to_ndns(dev)->claim) in uuid_store()
1381 if (to_ndns(dev)->claim) in sector_size_store()
1502 struct nd_namespace_common *ndns = to_ndns(dev); in holder_show()
1515 struct nd_namespace_common *ndns = to_ndns(dev); in __holder_class_store()
[all …]
Dclaim.c178 ndns = to_ndns(found); in nd_namespace_store()
Dpmem.c599 ndns = to_ndns(dev); in nd_pmem_notify()
Dbus.c931 ndns = to_ndns(dev); in nd_pmem_forget_poison_check()
/Linux-v5.4/include/linux/
Dnd.h57 static inline struct nd_namespace_common *to_ndns(struct device *dev) in to_ndns() function