Home
last modified time | relevance | path

Searched refs:nd_namespace_common (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/nvdimm/
H A Dclaim.c14 void __nd_detach_ndns(struct device *dev, struct nd_namespace_common **_ndns) in __nd_detach_ndns()
16 struct nd_namespace_common *ndns = *_ndns; in __nd_detach_ndns()
31 struct nd_namespace_common **_ndns) in nd_detach_ndns()
33 struct nd_namespace_common *ndns = *_ndns; in nd_detach_ndns()
43 bool __nd_attach_ndns(struct device *dev, struct nd_namespace_common *attach, in __nd_attach_ndns()
44 struct nd_namespace_common **_ndns) in __nd_attach_ndns()
58 static bool is_idle(struct device *dev, struct nd_namespace_common *ndns) in is_idle()
95 struct nd_namespace_common **_ndns) in nd_detach_and_reset()
117 struct nd_namespace_common **_ndns, const char *buf, in nd_namespace_store()
120 struct nd_namespace_common *ndns; in nd_namespace_store()
[all …]
H A Dnd.h450 struct nd_namespace_common *ndns;
475 struct nd_namespace_common *ndns;
542 int nd_btt_probe(struct device *dev, struct nd_namespace_common *ndns);
547 struct nd_namespace_common *ndns) in nd_btt_probe()
568 int nd_pfn_probe(struct device *dev, struct nd_namespace_common *ndns);
572 struct nd_namespace_common *ndns);
577 struct nd_namespace_common *ndns) in nd_pfn_probe()
600 int nd_dax_probe(struct device *dev, struct nd_namespace_common *ndns);
604 struct nd_namespace_common *ndns) in nd_dax_devinit()
612 struct nd_namespace_common *ndns) in nd_dax_probe()
[all …]
H A Dnd-core.h134 resource_size_t __nvdimm_namespace_capacity(struct nd_namespace_common *ndns);
135 void nd_detach_ndns(struct device *dev, struct nd_namespace_common **_ndns);
136 void __nd_detach_ndns(struct device *dev, struct nd_namespace_common **_ndns);
137 bool __nd_attach_ndns(struct device *dev, struct nd_namespace_common *attach,
138 struct nd_namespace_common **_ndns);
140 struct nd_namespace_common **_ndns, const char *buf,
H A Dpfn_devs.c197 struct nd_namespace_common *ndns = nd_pfn->ndns; in resource_show()
223 struct nd_namespace_common *ndns = nd_pfn->ndns; in size_show()
288 struct nd_namespace_common *ndns) in nd_pfn_devinit()
356 struct nd_namespace_common *ndns = nd_pfn->ndns; in nd_pfn_clear_memmap_errors()
449 struct nd_namespace_common *ndns = nd_pfn->ndns; in nd_pfn_validate()
612 int nd_pfn_probe(struct device *dev, struct nd_namespace_common *ndns) in nd_pfn_probe()
681 struct nd_namespace_common *ndns = nd_pfn->ndns; in __nvdimm_setup_pfn()
719 struct nd_namespace_common *ndns = nd_pfn->ndns; in nd_pfn_init()
H A Dbtt_devs.c178 struct nd_namespace_common *ndns) in __nd_btt_create()
268 int nd_btt_version(struct nd_btt *nd_btt, struct nd_namespace_common *ndns, in nd_btt_version()
304 struct nd_namespace_common *ndns, struct btt_sb *btt_sb) in __nd_btt_probe()
328 int nd_btt_probe(struct device *dev, struct nd_namespace_common *ndns) in nd_btt_probe()
H A Dnamespace_devs.c93 struct nd_namespace_common *ndns = to_ndns(dev); in pmem_should_map_pages()
118 unsigned int pmem_sector_size(struct nd_namespace_common *ndns) in pmem_sector_size()
141 const char *nvdimm_namespace_disk_name(struct nd_namespace_common *ndns, in nvdimm_namespace_disk_name()
751 struct nd_namespace_common *ndns = to_ndns(dev); in __size_store()
870 resource_size_t __nvdimm_namespace_capacity(struct nd_namespace_common *ndns) in __nvdimm_namespace_capacity()
887 resource_size_t nvdimm_namespace_capacity(struct nd_namespace_common *ndns) in nvdimm_namespace_capacity()
894 bool nvdimm_namespace_locked(struct nd_namespace_common *ndns) in nvdimm_namespace_locked()
1236 struct nd_namespace_common *ndns = to_ndns(dev); in holder_show()
1249 struct nd_namespace_common *ndns = to_ndns(dev); in __holder_class_store()
1292 struct nd_namespace_common *ndns = to_ndns(dev); in holder_class_show()
[all …]
H A Dbtt.h236 int nd_btt_version(struct nd_btt *nd_btt, struct nd_namespace_common *ndns,
H A Ddax_devs.c87 int nd_dax_probe(struct device *dev, struct nd_namespace_common *ndns) in nd_dax_probe()
H A Dlabel.c878 struct nd_namespace_common *ndns = &nspm->nsio.common; in __pmem_label_update()
H A Dbus.c955 struct nd_namespace_common *ndns = NULL; in nd_pmem_forget_poison_check()
/linux/include/linux/
H A Dnd.h97 struct nd_namespace_common { struct
102 int (*rw_bytes)(struct nd_namespace_common *, resource_size_t offset, argument
106 static inline struct nd_namespace_common *to_ndns(struct device *dev) in to_ndns()
108 return container_of(dev, struct nd_namespace_common, dev); in to_ndns()
120 struct nd_namespace_common common;
164 static inline int nvdimm_read_bytes(struct nd_namespace_common *ndns, in nvdimm_read_bytes()
183 static inline int nvdimm_write_bytes(struct nd_namespace_common *ndns, in nvdimm_write_bytes()