Searched refs:nd_namespace_common (Results 1 – 15 of 15) sorted by relevance
/Linux-v5.15/include/linux/ |
D | nd.h | 49 struct nd_namespace_common { struct 54 int (*rw_bytes)(struct nd_namespace_common *, resource_size_t offset, argument 58 static inline struct nd_namespace_common *to_ndns(struct device *dev) in to_ndns() 60 return container_of(dev, struct nd_namespace_common, dev); in to_ndns() 72 struct nd_namespace_common common; 106 struct nd_namespace_common common; 142 static inline int nvdimm_read_bytes(struct nd_namespace_common *ndns, in nvdimm_read_bytes() 161 static inline int nvdimm_write_bytes(struct nd_namespace_common *ndns, in nvdimm_write_bytes()
|
/Linux-v5.15/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.h | 334 struct nd_namespace_common *ndns; 359 struct nd_namespace_common *ndns; 427 int nd_btt_probe(struct device *dev, struct nd_namespace_common *ndns); 432 struct nd_namespace_common *ndns) in nd_btt_probe() 453 int nd_pfn_probe(struct device *dev, struct nd_namespace_common *ndns); 457 struct nd_namespace_common *ndns); 462 struct nd_namespace_common *ndns) in nd_pfn_probe() 485 int nd_dax_probe(struct device *dev, struct nd_namespace_common *ndns); 490 struct nd_namespace_common *ndns) in nd_dax_probe() 522 resource_size_t nvdimm_namespace_capacity(struct nd_namespace_common *ndns); [all …]
|
D | nd-core.h | 157 resource_size_t __nvdimm_namespace_capacity(struct nd_namespace_common *ndns); 158 void nd_detach_ndns(struct device *dev, struct nd_namespace_common **_ndns); 159 void __nd_detach_ndns(struct device *dev, struct nd_namespace_common **_ndns); 160 bool nd_attach_ndns(struct device *dev, struct nd_namespace_common *attach, 161 struct nd_namespace_common **_ndns); 162 bool __nd_attach_ndns(struct device *dev, struct nd_namespace_common *attach, 163 struct nd_namespace_common **_ndns); 165 struct nd_namespace_common **_ndns, const char *buf,
|
D | btt_devs.c | 184 struct nd_namespace_common *ndns) in __nd_btt_create() 271 int nd_btt_version(struct nd_btt *nd_btt, struct nd_namespace_common *ndns, in nd_btt_version() 307 struct nd_namespace_common *ndns, struct btt_sb *btt_sb) in __nd_btt_probe() 331 int nd_btt_probe(struct device *dev, struct nd_namespace_common *ndns) in nd_btt_probe()
|
D | pfn_devs.c | 207 struct nd_namespace_common *ndns = nd_pfn->ndns; in resource_show() 233 struct nd_namespace_common *ndns = nd_pfn->ndns; in size_show() 296 struct nd_namespace_common *ndns) in nd_pfn_devinit() 363 struct nd_namespace_common *ndns = nd_pfn->ndns; in nd_pfn_clear_memmap_errors() 454 struct nd_namespace_common *ndns = nd_pfn->ndns; in nd_pfn_validate() 613 int nd_pfn_probe(struct device *dev, struct nd_namespace_common *ndns) in nd_pfn_probe() 682 struct nd_namespace_common *ndns = nd_pfn->ndns; in __nvdimm_setup_pfn() 720 struct nd_namespace_common *ndns = nd_pfn->ndns; in nd_pfn_init()
|
D | namespace_devs.c | 108 struct nd_namespace_common *ndns = to_ndns(dev); in pmem_should_map_pages() 133 unsigned int pmem_sector_size(struct nd_namespace_common *ndns) in pmem_sector_size() 156 const char *nvdimm_namespace_disk_name(struct nd_namespace_common *ndns, in nvdimm_namespace_disk_name() 954 struct nd_namespace_common *ndns = to_ndns(dev); in __size_store() 1091 resource_size_t __nvdimm_namespace_capacity(struct nd_namespace_common *ndns) in __nvdimm_namespace_capacity() 1110 resource_size_t nvdimm_namespace_capacity(struct nd_namespace_common *ndns) in nvdimm_namespace_capacity() 1122 bool nvdimm_namespace_locked(struct nd_namespace_common *ndns) in nvdimm_namespace_locked() 1482 struct nd_namespace_common *ndns = to_ndns(dev); in holder_show() 1495 struct nd_namespace_common *ndns = to_ndns(dev); in __holder_class_store() 1540 struct nd_namespace_common *ndns = to_ndns(dev); in holder_class_show() [all …]
|
D | blk.c | 205 static int nsblk_rw_bytes(struct nd_namespace_common *ndns, in nsblk_rw_bytes() 277 struct nd_namespace_common *ndns; in nd_blk_probe()
|
D | dax_devs.c | 87 int nd_dax_probe(struct device *dev, struct nd_namespace_common *ndns) in nd_dax_probe()
|
D | btt.h | 236 int nd_btt_version(struct nd_btt *nd_btt, struct nd_namespace_common *ndns,
|
D | pmem.c | 348 struct nd_namespace_common *ndns) in pmem_attach_disk() 480 struct nd_namespace_common *ndns; in nd_pmem_probe() 555 struct nd_namespace_common *ndns; in pmem_revalidate_poison()
|
D | btt.c | 42 struct nd_namespace_common *ndns = nd_btt->ndns; in arena_read_bytes() 53 struct nd_namespace_common *ndns = nd_btt->ndns; in arena_write_bytes() 1522 struct nd_namespace_common *ndns = nd_btt->ndns; in btt_blk_init() 1657 int nvdimm_namespace_attach_btt(struct nd_namespace_common *ndns) in nvdimm_namespace_attach_btt()
|
D | label.c | 818 struct nd_namespace_common *ndns = &nspm->nsio.common; in __pmem_label_update() 1000 struct nd_namespace_common *ndns = &nsblk->common; in __blk_label_update()
|
D | bus.c | 951 struct nd_namespace_common *ndns = NULL; in nd_pmem_forget_poison_check()
|
/Linux-v5.15/drivers/dax/pmem/ |
D | core.c | 21 struct nd_namespace_common *ndns; in __dax_pmem_probe()
|