Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
Dnd.h56 struct nd_namespace_common { struct
61 int (*rw_bytes)(struct nd_namespace_common *, resource_size_t offset, argument
65 static inline struct nd_namespace_common *to_ndns(struct device *dev) in to_ndns()
67 return container_of(dev, struct nd_namespace_common, dev); in to_ndns()
79 struct nd_namespace_common common;
113 struct nd_namespace_common common;
149 static inline int nvdimm_read_bytes(struct nd_namespace_common *ndns, in nvdimm_read_bytes()
168 static inline int nvdimm_write_bytes(struct nd_namespace_common *ndns, in nvdimm_write_bytes()
/Linux-v4.19/drivers/nvdimm/
Dclaim.c21 void __nd_detach_ndns(struct device *dev, struct nd_namespace_common **_ndns) in __nd_detach_ndns()
23 struct nd_namespace_common *ndns = *_ndns; in __nd_detach_ndns()
38 struct nd_namespace_common **_ndns) in nd_detach_ndns()
40 struct nd_namespace_common *ndns = *_ndns; in nd_detach_ndns()
51 bool __nd_attach_ndns(struct device *dev, struct nd_namespace_common *attach, in __nd_attach_ndns()
52 struct nd_namespace_common **_ndns) in __nd_attach_ndns()
66 bool nd_attach_ndns(struct device *dev, struct nd_namespace_common *attach, in nd_attach_ndns()
67 struct nd_namespace_common **_ndns) in nd_attach_ndns()
84 static bool is_idle(struct device *dev, struct nd_namespace_common *ndns) in is_idle()
121 struct nd_namespace_common **_ndns) in nd_detach_and_reset()
[all …]
Dnd-core.h123 resource_size_t __nvdimm_namespace_capacity(struct nd_namespace_common *ndns);
124 void nd_detach_ndns(struct device *dev, struct nd_namespace_common **_ndns);
125 void __nd_detach_ndns(struct device *dev, struct nd_namespace_common **_ndns);
126 bool nd_attach_ndns(struct device *dev, struct nd_namespace_common *attach,
127 struct nd_namespace_common **_ndns);
128 bool __nd_attach_ndns(struct device *dev, struct nd_namespace_common *attach,
129 struct nd_namespace_common **_ndns);
131 struct nd_namespace_common **_ndns, const char *buf,
Dnd.h186 struct nd_namespace_common *ndns;
211 struct nd_namespace_common *ndns;
260 int nd_btt_probe(struct device *dev, struct nd_namespace_common *ndns);
265 struct nd_namespace_common *ndns) in nd_btt_probe()
290 int nd_pfn_probe(struct device *dev, struct nd_namespace_common *ndns);
294 struct nd_namespace_common *ndns);
299 struct nd_namespace_common *ndns) in nd_pfn_probe()
322 int nd_dax_probe(struct device *dev, struct nd_namespace_common *ndns);
327 struct nd_namespace_common *ndns) in nd_dax_probe()
359 resource_size_t nvdimm_namespace_capacity(struct nd_namespace_common *ndns);
[all …]
Dbtt_devs.c183 struct nd_namespace_common *ndns) in __nd_btt_create()
263 int nd_btt_version(struct nd_btt *nd_btt, struct nd_namespace_common *ndns, in nd_btt_version()
299 struct nd_namespace_common *ndns, struct btt_sb *btt_sb) in __nd_btt_probe()
323 int nd_btt_probe(struct device *dev, struct nd_namespace_common *ndns) in nd_btt_probe()
Dpfn_devs.c223 struct nd_namespace_common *ndns = nd_pfn->ndns; in resource_show()
249 struct nd_namespace_common *ndns = nd_pfn->ndns; in size_show()
305 struct nd_namespace_common *ndns) in nd_pfn_devinit()
371 struct nd_namespace_common *ndns = nd_pfn->ndns; in nd_pfn_validate()
484 int nd_pfn_probe(struct device *dev, struct nd_namespace_common *ndns) in nd_pfn_probe()
552 struct nd_namespace_common *ndns = nd_pfn->ndns; in __nvdimm_setup_pfn()
596 struct nd_namespace_common *ndns = nd_pfn->ndns; in nd_pfn_init()
Dnamespace_devs.c162 unsigned int pmem_sector_size(struct nd_namespace_common *ndns) in pmem_sector_size()
185 const char *nvdimm_namespace_disk_name(struct nd_namespace_common *ndns, in nvdimm_namespace_disk_name()
979 struct nd_namespace_common *ndns = to_ndns(dev); in __size_store()
1116 resource_size_t __nvdimm_namespace_capacity(struct nd_namespace_common *ndns) in __nvdimm_namespace_capacity()
1135 resource_size_t nvdimm_namespace_capacity(struct nd_namespace_common *ndns) in nvdimm_namespace_capacity()
1147 bool nvdimm_namespace_locked(struct nd_namespace_common *ndns) in nvdimm_namespace_locked()
1492 struct nd_namespace_common *ndns = to_ndns(dev); in holder_show()
1505 struct nd_namespace_common *ndns = to_ndns(dev); in __holder_class_store()
1550 struct nd_namespace_common *ndns = to_ndns(dev); in holder_class_show()
1574 struct nd_namespace_common *ndns = to_ndns(dev); in mode_show()
[all …]
Dblk.c212 static int nsblk_rw_bytes(struct nd_namespace_common *ndns, in nsblk_rw_bytes()
300 struct nd_namespace_common *ndns; in nd_blk_probe()
Dpmem.c349 struct nd_namespace_common *ndns) in pmem_attach_disk()
493 struct nd_namespace_common *ndns; in nd_pmem_probe()
545 struct nd_namespace_common *ndns; in nd_pmem_notify()
Dbtt.h243 int nd_btt_version(struct nd_btt *nd_btt, struct nd_namespace_common *ndns,
Ddax_devs.c102 int nd_dax_probe(struct device *dev, struct nd_namespace_common *ndns) in nd_dax_probe()
Dbtt.c49 struct nd_namespace_common *ndns = nd_btt->ndns; in arena_read_bytes()
60 struct nd_namespace_common *ndns = nd_btt->ndns; in arena_write_bytes()
1520 struct nd_namespace_common *ndns = nd_btt->ndns; in btt_blk_init()
1670 int nvdimm_namespace_attach_btt(struct nd_namespace_common *ndns) in nvdimm_namespace_attach_btt()
Dlabel.c630 struct nd_namespace_common *ndns = &nspm->nsio.common; in __pmem_label_update()
778 struct nd_namespace_common *ndns = &nsblk->common; in __blk_label_update()
Dbus.c850 struct nd_namespace_common *ndns = NULL; in nd_pmem_forget_poison_check()
/Linux-v4.19/drivers/dax/
Dpmem.c70 struct nd_namespace_common *ndns; in dax_pmem_probe()