Searched refs:nd_namespace_common (Results 1 – 10 of 10) sorted by relevance
/linux-4.4.14/drivers/nvdimm/ |
D | claim.c | 20 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 …]
|
D | nd-core.h | 82 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,
|
D | nd.h | 139 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 …]
|
D | pmem.c | 36 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()
|
D | btt_devs.c | 163 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()
|
D | pfn_devs.c | 183 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()
|
D | blk.c | 214 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()
|
D | btt.c | 40 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()
|
D | namespace_devs.c | 154 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/ |
D | nd.h | 39 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()
|