Searched refs:nd_namespace_common (Results 1 - 14 of 14) sorted by relevance

/linux-master/include/linux/
H A Dnd.h94 * struct nd_namespace_common - core infrastructure of a namespace
101 struct nd_namespace_common { struct
106 int (*rw_bytes)(struct nd_namespace_common *, resource_size_t offset,
110 static inline struct nd_namespace_common *to_ndns(struct device *dev)
112 return container_of(dev, struct nd_namespace_common, dev);
124 struct nd_namespace_common common;
168 static inline int nvdimm_read_bytes(struct nd_namespace_common *ndns,
187 static inline int nvdimm_write_bytes(struct nd_namespace_common *ndns,
/linux-master/drivers/nvdimm/
H A Dclaim.c14 void __nd_detach_ndns(struct device *dev, struct nd_namespace_common **_ndns)
16 struct nd_namespace_common *ndns = *_ndns;
31 struct nd_namespace_common **_ndns)
33 struct nd_namespace_common *ndns = *_ndns;
44 bool __nd_attach_ndns(struct device *dev, struct nd_namespace_common *attach,
45 struct nd_namespace_common **_ndns)
59 bool nd_attach_ndns(struct device *dev, struct nd_namespace_common *attach,
60 struct nd_namespace_common **_ndns)
77 static bool is_idle(struct device *dev, struct nd_namespace_common *ndns)
114 struct nd_namespace_common **_ndn
[all...]
H A Dnd-core.h136 resource_size_t __nvdimm_namespace_capacity(struct nd_namespace_common *ndns);
137 void nd_detach_ndns(struct device *dev, struct nd_namespace_common **_ndns);
138 void __nd_detach_ndns(struct device *dev, struct nd_namespace_common **_ndns);
139 bool nd_attach_ndns(struct device *dev, struct nd_namespace_common *attach,
140 struct nd_namespace_common **_ndns);
141 bool __nd_attach_ndns(struct device *dev, struct nd_namespace_common *attach,
142 struct nd_namespace_common **_ndns);
144 struct nd_namespace_common **_ndns, const char *buf,
H A Dnd.h450 struct nd_namespace_common *ndns;
475 struct nd_namespace_common *ndns;
543 int nd_btt_probe(struct device *dev, struct nd_namespace_common *ndns);
548 struct nd_namespace_common *ndns)
569 int nd_pfn_probe(struct device *dev, struct nd_namespace_common *ndns);
573 struct nd_namespace_common *ndns);
578 struct nd_namespace_common *ndns)
601 int nd_dax_probe(struct device *dev, struct nd_namespace_common *ndns);
606 struct nd_namespace_common *ndns)
638 resource_size_t nvdimm_namespace_capacity(struct nd_namespace_common *ndn
[all...]
H A Dbtt_devs.c185 struct nd_namespace_common *ndns)
275 int nd_btt_version(struct nd_btt *nd_btt, struct nd_namespace_common *ndns,
311 struct nd_namespace_common *ndns, struct btt_sb *btt_sb)
335 int nd_btt_probe(struct device *dev, struct nd_namespace_common *ndns)
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)
H A Dpfn_devs.c208 struct nd_namespace_common *ndns = nd_pfn->ndns;
234 struct nd_namespace_common *ndns = nd_pfn->ndns;
299 struct nd_namespace_common *ndns)
367 struct nd_namespace_common *ndns = nd_pfn->ndns;
459 struct nd_namespace_common *ndns = nd_pfn->ndns;
622 int nd_pfn_probe(struct device *dev, struct nd_namespace_common *ndns)
691 struct nd_namespace_common *ndns = nd_pfn->ndns;
729 struct nd_namespace_common *ndns = nd_pfn->ndns;
H A Dnamespace_devs.c93 struct nd_namespace_common *ndns = to_ndns(dev);
118 unsigned int pmem_sector_size(struct nd_namespace_common *ndns)
141 const char *nvdimm_namespace_disk_name(struct nd_namespace_common *ndns,
753 struct nd_namespace_common *ndns = to_ndns(dev);
875 resource_size_t __nvdimm_namespace_capacity(struct nd_namespace_common *ndns)
892 resource_size_t nvdimm_namespace_capacity(struct nd_namespace_common *ndns)
904 bool nvdimm_namespace_locked(struct nd_namespace_common *ndns)
1240 struct nd_namespace_common *ndns = to_ndns(dev);
1253 struct nd_namespace_common *ndns = to_ndns(dev);
1298 struct nd_namespace_common *ndn
[all...]
H A Dpmem.c450 struct nd_namespace_common *ndns)
605 struct nd_namespace_common *ndns;
680 struct nd_namespace_common *ndns;
H A Dbtt.c42 struct nd_namespace_common *ndns = nd_btt->ndns;
53 struct nd_namespace_common *ndns = nd_btt->ndns;
1498 struct nd_namespace_common *ndns = nd_btt->ndns;
1642 int nvdimm_namespace_attach_btt(struct nd_namespace_common *ndns)
H A Dlabel.c877 struct nd_namespace_common *ndns = &nspm->nsio.common;
H A Dbus.c955 struct nd_namespace_common *ndns = NULL;
/linux-master/drivers/dax/
H A Dpmem.c20 struct nd_namespace_common *ndns;

Completed in 333 milliseconds