Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/nvdimm/
Dclaim.c20 void __nd_detach_ndns(struct device *dev, struct nd_namespace_common **_ndns) in __nd_detach_ndns()
22 struct nd_namespace_common *ndns = *_ndns; in __nd_detach_ndns()
33 struct nd_namespace_common **_ndns) in nd_detach_ndns()
35 struct nd_namespace_common *ndns = *_ndns; in nd_detach_ndns()
46 bool __nd_attach_ndns(struct device *dev, struct nd_namespace_common *attach, in __nd_attach_ndns()
47 struct nd_namespace_common **_ndns) in __nd_attach_ndns()
60 bool nd_attach_ndns(struct device *dev, struct nd_namespace_common *attach, in nd_attach_ndns()
61 struct nd_namespace_common **_ndns) in nd_attach_ndns()
78 static bool is_idle(struct device *dev, struct nd_namespace_common *ndns) in is_idle()
94 struct nd_namespace_common **_ndns) in nd_detach_and_reset()
[all …]
Dnd-core.h82 resource_size_t __nvdimm_namespace_capacity(struct nd_namespace_common *ndns);
83 void nd_detach_ndns(struct device *dev, struct nd_namespace_common **_ndns);
84 void __nd_detach_ndns(struct device *dev, struct nd_namespace_common **_ndns);
85 bool nd_attach_ndns(struct device *dev, struct nd_namespace_common *attach,
86 struct nd_namespace_common **_ndns);
87 bool __nd_attach_ndns(struct device *dev, struct nd_namespace_common *attach,
88 struct nd_namespace_common **_ndns);
90 struct nd_namespace_common **_ndns, const char *buf,
Dnd.h139 struct nd_namespace_common *ndns;
159 struct nd_namespace_common *ndns;
196 int nd_btt_probe(struct nd_namespace_common *ndns, void *drvdata);
200 static inline int nd_btt_probe(struct nd_namespace_common *ndns, void *drvdata) in nd_btt_probe()
218 int nd_pfn_probe(struct nd_namespace_common *ndns, void *drvdata);
223 static inline int nd_pfn_probe(struct nd_namespace_common *ndns, void *drvdata) in nd_pfn_probe()
259 resource_size_t nvdimm_namespace_capacity(struct nd_namespace_common *ndns);
260 struct nd_namespace_common *nvdimm_namespace_common_probe(struct device *dev);
261 int nvdimm_namespace_attach_btt(struct nd_namespace_common *ndns);
262 int nvdimm_namespace_detach_btt(struct nd_namespace_common *ndns);
[all …]
Dpmem.c36 struct nd_namespace_common *ndns;
167 struct nd_namespace_common *ndns, struct pmem_device *pmem) in pmem_attach_disk()
205 static int pmem_rw_bytes(struct nd_namespace_common *ndns, in pmem_rw_bytes()
229 struct nd_namespace_common *ndns = nd_pfn->ndns; in nd_pfn_init()
293 static int nvdimm_namespace_detach_pfn(struct nd_namespace_common *ndns) in nvdimm_namespace_detach_pfn()
309 static int nvdimm_namespace_attach_pfn(struct nd_namespace_common *ndns) in nvdimm_namespace_attach_pfn()
376 struct nd_namespace_common *ndns; in nd_pmem_probe()
Dbtt_devs.c163 struct nd_namespace_common *ndns) in __nd_btt_create()
252 struct nd_namespace_common *ndns, struct btt_sb *btt_sb) in __nd_btt_probe()
276 int nd_btt_probe(struct nd_namespace_common *ndns, void *drvdata) in nd_btt_probe()
Dpfn_devs.c183 struct nd_namespace_common *ndns) in __nd_pfn_create()
233 struct nd_namespace_common *ndns = nd_pfn->ndns; in nd_pfn_validate()
304 int nd_pfn_probe(struct nd_namespace_common *ndns, void *drvdata) in nd_pfn_probe()
Dblk.c214 static int nd_blk_rw_bytes(struct nd_namespace_common *ndns, in nd_blk_rw_bytes()
240 static int nd_blk_attach_disk(struct nd_namespace_common *ndns, in nd_blk_attach_disk()
295 struct nd_namespace_common *ndns; in nd_blk_probe()
Dbtt.c40 struct nd_namespace_common *ndns = nd_btt->ndns; in arena_read_bytes()
51 struct nd_namespace_common *ndns = nd_btt->ndns; in arena_write_bytes()
1234 struct nd_namespace_common *ndns = nd_btt->ndns; in btt_blk_init()
1387 int nvdimm_namespace_attach_btt(struct nd_namespace_common *ndns) in nvdimm_namespace_attach_btt()
1412 int nvdimm_namespace_detach_btt(struct nd_namespace_common *ndns) in nvdimm_namespace_detach_btt()
Dnamespace_devs.c154 const char *nvdimm_namespace_disk_name(struct nd_namespace_common *ndns, in nvdimm_namespace_disk_name()
985 resource_size_t __nvdimm_namespace_capacity(struct nd_namespace_common *ndns) in __nvdimm_namespace_capacity()
1004 resource_size_t nvdimm_namespace_capacity(struct nd_namespace_common *ndns) in nvdimm_namespace_capacity()
1256 struct nd_namespace_common *ndns = to_ndns(dev); in holder_show()
1341 struct nd_namespace_common *nvdimm_namespace_common_probe(struct device *dev) in nvdimm_namespace_common_probe()
1345 struct nd_namespace_common *ndns; in nvdimm_namespace_common_probe()
/linux-4.4.14/include/linux/
Dnd.h39 struct nd_namespace_common { struct
43 int (*rw_bytes)(struct nd_namespace_common *, resource_size_t offset, argument
47 static inline struct nd_namespace_common *to_ndns(struct device *dev) in to_ndns()
49 return container_of(dev, struct nd_namespace_common, dev); in to_ndns()
58 struct nd_namespace_common common;
84 struct nd_namespace_common common;
119 static inline int nvdimm_read_bytes(struct nd_namespace_common *ndns, in nvdimm_read_bytes()
137 static inline int nvdimm_write_bytes(struct nd_namespace_common *ndns, in nvdimm_write_bytes()