Home
last modified time | relevance | path

Searched refs:nd_namespace_common (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/nvdimm/
A Dclaim.c14 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()
45 struct nd_namespace_common **_ndns) in __nd_attach_ndns()
60 struct nd_namespace_common **_ndns) in nd_attach_ndns()
114 struct nd_namespace_common **_ndns) in nd_detach_and_reset()
136 struct nd_namespace_common **_ndns, const char *buf, in nd_namespace_store()
139 struct nd_namespace_common *ndns; in nd_namespace_store()
252 static int nsio_rw_bytes(struct nd_namespace_common *ndns, in nsio_rw_bytes()
[all …]
A Dnd.h461 struct nd_namespace_common *ndns;
486 struct nd_namespace_common *ndns;
554 int nd_btt_probe(struct device *dev, struct nd_namespace_common *ndns);
559 struct nd_namespace_common *ndns) in nd_btt_probe()
584 struct nd_namespace_common *ndns);
589 struct nd_namespace_common *ndns) in nd_pfn_probe()
617 struct nd_namespace_common *ndns) in nd_dax_probe()
650 bool nvdimm_namespace_locked(struct nd_namespace_common *ndns);
652 int nvdimm_namespace_attach_btt(struct nd_namespace_common *ndns);
656 unsigned int pmem_sector_size(struct nd_namespace_common *ndns);
[all …]
A Dnd-core.h158 resource_size_t __nvdimm_namespace_capacity(struct nd_namespace_common *ndns);
159 void nd_detach_ndns(struct device *dev, struct nd_namespace_common **_ndns);
160 void __nd_detach_ndns(struct device *dev, struct nd_namespace_common **_ndns);
161 bool nd_attach_ndns(struct device *dev, struct nd_namespace_common *attach,
162 struct nd_namespace_common **_ndns);
163 bool __nd_attach_ndns(struct device *dev, struct nd_namespace_common *attach,
164 struct nd_namespace_common **_ndns);
166 struct nd_namespace_common **_ndns, const char *buf,
A Dpfn_devs.c207 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()
A Dbtt_devs.c184 struct nd_namespace_common *ndns) in __nd_btt_create()
273 int nd_btt_version(struct nd_btt *nd_btt, struct nd_namespace_common *ndns, in nd_btt_version()
309 struct nd_namespace_common *ndns, struct btt_sb *btt_sb) in __nd_btt_probe()
333 int nd_btt_probe(struct device *dev, struct nd_namespace_common *ndns) in nd_btt_probe()
A Dnamespace_devs.c108 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()
953 struct nd_namespace_common *ndns = to_ndns(dev); in __size_store()
1109 resource_size_t nvdimm_namespace_capacity(struct nd_namespace_common *ndns) in nvdimm_namespace_capacity()
1121 bool nvdimm_namespace_locked(struct nd_namespace_common *ndns) in nvdimm_namespace_locked()
1484 struct nd_namespace_common *ndns = to_ndns(dev); in holder_show()
1497 struct nd_namespace_common *ndns = to_ndns(dev); in __holder_class_store()
1542 struct nd_namespace_common *ndns = to_ndns(dev); in holder_class_show()
1566 struct nd_namespace_common *ndns = to_ndns(dev); in mode_show()
[all …]
A Dblk.c204 static int nsblk_rw_bytes(struct nd_namespace_common *ndns, in nsblk_rw_bytes()
285 struct nd_namespace_common *ndns; in nd_blk_probe()
A Dpmem.c390 struct nd_namespace_common *ndns) in pmem_attach_disk()
533 struct nd_namespace_common *ndns; in nd_pmem_probe()
608 struct nd_namespace_common *ndns; in pmem_revalidate_poison()
A Dbtt.h236 int nd_btt_version(struct nd_btt *nd_btt, struct nd_namespace_common *ndns,
A Ddax_devs.c87 int nd_dax_probe(struct device *dev, struct nd_namespace_common *ndns) in nd_dax_probe()
A Dbtt.c42 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()
1521 struct nd_namespace_common *ndns = nd_btt->ndns; in btt_blk_init()
1662 int nvdimm_namespace_attach_btt(struct nd_namespace_common *ndns) in nvdimm_namespace_attach_btt()
A Dlabel.c881 struct nd_namespace_common *ndns = &nspm->nsio.common; in __pmem_label_update()
1063 struct nd_namespace_common *ndns = &nsblk->common; in __blk_label_update()
A Dbus.c951 struct nd_namespace_common *ndns = NULL; in nd_pmem_forget_poison_check()
/linux/include/linux/
A Dnd.h49 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/drivers/dax/pmem/
A Dcore.c21 struct nd_namespace_common *ndns; in __dax_pmem_probe()

Completed in 35 milliseconds