Searched refs:nd_namespace_common (Results 1 – 14 of 14) sorted by relevance
/linux-6.1.9/drivers/nvdimm/ |
D | claim.c | 14 void __nd_detach_ndns(struct device *dev, struct nd_namespace_common **_ndns) in __nd_detach_ndns() 16 struct nd_namespace_common *ndns = *_ndns; in __nd_detach_ndns() 31 struct nd_namespace_common **_ndns) in nd_detach_ndns() 33 struct nd_namespace_common *ndns = *_ndns; in nd_detach_ndns() 44 bool __nd_attach_ndns(struct device *dev, struct nd_namespace_common *attach, in __nd_attach_ndns() 45 struct nd_namespace_common **_ndns) in __nd_attach_ndns() 59 bool nd_attach_ndns(struct device *dev, struct nd_namespace_common *attach, in nd_attach_ndns() 60 struct nd_namespace_common **_ndns) in nd_attach_ndns() 77 static bool is_idle(struct device *dev, struct nd_namespace_common *ndns) in is_idle() 114 struct nd_namespace_common **_ndns) in nd_detach_and_reset() [all …]
|
D | nd-core.h | 135 resource_size_t __nvdimm_namespace_capacity(struct nd_namespace_common *ndns); 136 void nd_detach_ndns(struct device *dev, struct nd_namespace_common **_ndns); 137 void __nd_detach_ndns(struct device *dev, struct nd_namespace_common **_ndns); 138 bool nd_attach_ndns(struct device *dev, struct nd_namespace_common *attach, 139 struct nd_namespace_common **_ndns); 140 bool __nd_attach_ndns(struct device *dev, struct nd_namespace_common *attach, 141 struct nd_namespace_common **_ndns); 143 struct nd_namespace_common **_ndns, const char *buf,
|
D | nd.h | 450 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) in nd_btt_probe() 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) in nd_pfn_probe() 601 int nd_dax_probe(struct device *dev, struct nd_namespace_common *ndns); 606 struct nd_namespace_common *ndns) in nd_dax_probe() 638 resource_size_t nvdimm_namespace_capacity(struct nd_namespace_common *ndns); [all …]
|
D | btt_devs.c | 185 struct nd_namespace_common *ndns) in __nd_btt_create() 275 int nd_btt_version(struct nd_btt *nd_btt, struct nd_namespace_common *ndns, in nd_btt_version() 311 struct nd_namespace_common *ndns, struct btt_sb *btt_sb) in __nd_btt_probe() 335 int nd_btt_probe(struct device *dev, struct nd_namespace_common *ndns) in nd_btt_probe()
|
D | pfn_devs.c | 206 struct nd_namespace_common *ndns = nd_pfn->ndns; in resource_show() 232 struct nd_namespace_common *ndns = nd_pfn->ndns; in size_show() 297 struct nd_namespace_common *ndns) in nd_pfn_devinit() 365 struct nd_namespace_common *ndns = nd_pfn->ndns; in nd_pfn_clear_memmap_errors() 456 struct nd_namespace_common *ndns = nd_pfn->ndns; in nd_pfn_validate() 615 int nd_pfn_probe(struct device *dev, struct nd_namespace_common *ndns) in nd_pfn_probe() 684 struct nd_namespace_common *ndns = nd_pfn->ndns; in __nvdimm_setup_pfn() 722 struct nd_namespace_common *ndns = nd_pfn->ndns; in nd_pfn_init()
|
D | namespace_devs.c | 90 struct nd_namespace_common *ndns = to_ndns(dev); in pmem_should_map_pages() 115 unsigned int pmem_sector_size(struct nd_namespace_common *ndns) in pmem_sector_size() 138 const char *nvdimm_namespace_disk_name(struct nd_namespace_common *ndns, in nvdimm_namespace_disk_name() 746 struct nd_namespace_common *ndns = to_ndns(dev); in __size_store() 868 resource_size_t __nvdimm_namespace_capacity(struct nd_namespace_common *ndns) in __nvdimm_namespace_capacity() 885 resource_size_t nvdimm_namespace_capacity(struct nd_namespace_common *ndns) in nvdimm_namespace_capacity() 897 bool nvdimm_namespace_locked(struct nd_namespace_common *ndns) in nvdimm_namespace_locked() 1231 struct nd_namespace_common *ndns = to_ndns(dev); in holder_show() 1244 struct nd_namespace_common *ndns = to_ndns(dev); in __holder_class_store() 1289 struct nd_namespace_common *ndns = to_ndns(dev); in holder_class_show() [all …]
|
D | btt.h | 236 int nd_btt_version(struct nd_btt *nd_btt, struct nd_namespace_common *ndns,
|
D | dax_devs.c | 87 int nd_dax_probe(struct device *dev, struct nd_namespace_common *ndns) in nd_dax_probe()
|
D | pmem.c | 472 struct nd_namespace_common *ndns) in pmem_attach_disk() 623 struct nd_namespace_common *ndns; in nd_pmem_probe() 698 struct nd_namespace_common *ndns; in pmem_revalidate_poison()
|
D | btt.c | 41 struct nd_namespace_common *ndns = nd_btt->ndns; in arena_read_bytes() 52 struct nd_namespace_common *ndns = nd_btt->ndns; in arena_write_bytes() 1518 struct nd_namespace_common *ndns = nd_btt->ndns; in btt_blk_init() 1659 int nvdimm_namespace_attach_btt(struct nd_namespace_common *ndns) in nvdimm_namespace_attach_btt()
|
D | label.c | 877 struct nd_namespace_common *ndns = &nspm->nsio.common; in __pmem_label_update()
|
D | bus.c | 942 struct nd_namespace_common *ndns = NULL; in nd_pmem_forget_poison_check()
|
/linux-6.1.9/include/linux/ |
D | nd.h | 101 struct nd_namespace_common { struct 106 int (*rw_bytes)(struct nd_namespace_common *, resource_size_t offset, argument 110 static inline struct nd_namespace_common *to_ndns(struct device *dev) in to_ndns() 112 return container_of(dev, struct nd_namespace_common, dev); in to_ndns() 124 struct nd_namespace_common common; 168 static inline int nvdimm_read_bytes(struct nd_namespace_common *ndns, in nvdimm_read_bytes() 187 static inline int nvdimm_write_bytes(struct nd_namespace_common *ndns, in nvdimm_write_bytes()
|
/linux-6.1.9/drivers/dax/ |
D | pmem.c | 21 struct nd_namespace_common *ndns; in __dax_pmem_probe()
|