]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/nvdimm/nd-core.h
Merge git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending
[karo-tx-linux.git] / drivers / nvdimm / nd-core.h
index e1970c71ad1c53b3e74a0e976232c34daa594a9a..159aed53204249ce6e9da13fcaa0b58406a1f2f6 100644 (file)
@@ -80,4 +80,13 @@ struct resource *nsblk_add_resource(struct nd_region *nd_region,
 int nvdimm_num_label_slots(struct nvdimm_drvdata *ndd);
 void get_ndd(struct nvdimm_drvdata *ndd);
 resource_size_t __nvdimm_namespace_capacity(struct nd_namespace_common *ndns);
+void nd_detach_ndns(struct device *dev, struct nd_namespace_common **_ndns);
+void __nd_detach_ndns(struct device *dev, struct nd_namespace_common **_ndns);
+bool nd_attach_ndns(struct device *dev, struct nd_namespace_common *attach,
+               struct nd_namespace_common **_ndns);
+bool __nd_attach_ndns(struct device *dev, struct nd_namespace_common *attach,
+               struct nd_namespace_common **_ndns);
+ssize_t nd_namespace_store(struct device *dev,
+               struct nd_namespace_common **_ndns, const char *buf,
+               size_t len);
 #endif /* __ND_CORE_H__ */