Home
last modified time | relevance | path

Searched defs:nd_region (Results 1 – 23 of 23) sorted by relevance

/linux-5.19.10/drivers/nvdimm/
Dregion_devs.c62 int nd_region_activate(struct nd_region *nd_region) in nd_region_activate()
126 struct nd_region *nd_region = to_nd_region(dev); in nd_region_release() local
142 struct nd_region *nd_region = container_of(dev, struct nd_region, dev); in to_nd_region() local
149 struct device *nd_region_dev(struct nd_region *nd_region) in nd_region_dev()
157 void *nd_region_provider_data(struct nd_region *nd_region) in nd_region_provider_data()
171 int nd_region_to_nstype(struct nd_region *nd_region) in nd_region_to_nstype()
193 static unsigned long long region_size(struct nd_region *nd_region) in region_size()
209 struct nd_region *nd_region = to_nd_region(dev); in size_show() local
218 struct nd_region *nd_region = to_nd_region(dev); in deep_flush_show() local
232 struct nd_region *nd_region = to_nd_region(dev); in deep_flush_store() local
[all …]
Dnd.h403 struct nd_region { struct
424 int (*flush)(struct nd_region *nd_region, struct bio *bio); argument
428 static inline bool nsl_validate_nlabel(struct nd_region *nd_region, in nsl_validate_nlabel()
558 static inline struct device *nd_btt_create(struct nd_region *nd_region) in nd_btt_create()
588 static inline struct device *nd_pfn_create(struct nd_region *nd_region) in nd_pfn_create()
616 static inline struct device *nd_dax_create(struct nd_region *nd_region) in nd_dax_create()
Dnamespace_devs.c26 struct nd_region *nd_region = to_nd_region(dev->parent); in namespace_pmem_release() local
89 struct nd_region *nd_region = to_nd_region(dev->parent); in pmem_should_map_pages() local
141 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nvdimm_namespace_disk_name() local
188 struct nd_region *nd_region = to_nd_region(dev->parent); in nstype_show() local
235 static int nd_namespace_label_update(struct nd_region *nd_region, in nd_namespace_label_update()
264 struct nd_region *nd_region = to_nd_region(dev->parent); in alt_name_store() local
296 static int scan_free(struct nd_region *nd_region, in scan_free()
343 static int shrink_dpa_allocation(struct nd_region *nd_region, in shrink_dpa_allocation()
361 struct nd_region *nd_region, struct nd_mapping *nd_mapping, in init_dpa_allocation()
394 static void space_valid(struct nd_region *nd_region, struct nvdimm_drvdata *ndd, in space_valid()
[all …]
Ddax_devs.c15 struct nd_region *nd_region = to_nd_region(dev->parent); in nd_dax_release() local
47 static struct nd_dax *nd_dax_alloc(struct nd_region *nd_region) in nd_dax_alloc()
72 struct device *nd_dax_create(struct nd_region *nd_region) in nd_dax_create()
94 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nd_dax_probe() local
Dregion.c17 struct nd_region *nd_region = to_nd_region(dev); in nd_region_probe() local
84 struct nd_region *nd_region = to_nd_region(dev); in nd_region_remove() local
114 struct nd_region *nd_region = to_nd_region(dev); in nd_region_notify() local
Dbtt_devs.c17 struct nd_region *nd_region = to_nd_region(dev->parent); in nd_btt_release() local
183 static struct device *__nd_btt_create(struct nd_region *nd_region, in __nd_btt_create()
227 struct device *nd_btt_create(struct nd_region *nd_region) in nd_btt_create()
340 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nd_btt_probe() local
Dnd_virtio.c38 static int virtio_pmem_flush(struct nd_region *nd_region) in virtio_pmem_flush()
101 int async_pmem_flush(struct nd_region *nd_region, struct bio *bio) in async_pmem_flush()
Dpfn_devs.c18 struct nd_region *nd_region = to_nd_region(dev->parent); in nd_pfn_release() local
318 static struct nd_pfn *nd_pfn_alloc(struct nd_region *nd_region) in nd_pfn_alloc()
341 struct device *nd_pfn_create(struct nd_region *nd_region) in nd_pfn_create()
364 struct nd_region *nd_region = to_nd_region(nd_pfn->dev.parent); in nd_pfn_clear_memmap_errors() local
621 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nd_pfn_probe() local
725 struct nd_region *nd_region; in nd_pfn_init() local
Dvirtio_pmem.c36 struct nd_region *nd_region; in virtio_pmem_probe() local
Dbus.c148 void nvdimm_region_notify(struct nd_region *nd_region, enum nvdimm_event event) in nvdimm_region_notify()
167 struct nd_region *nd_region; in nvdimm_clear_badblocks_region() local
613 struct nd_region *nd_region = to_nd_region(dev->parent); in nvdimm_check_and_set_ro() local
665 struct nd_region *nd_region = NULL; in nvdimm_dev_to_target_node() local
Dpmem.c209 struct nd_region *nd_region = to_region(pmem); in pmem_submit_bio() local
460 struct nd_region *nd_region = to_nd_region(dev->parent); in pmem_attach_disk() local
679 struct nd_region *nd_region; in pmem_revalidate_poison() local
Ddimm_devs.c695 static unsigned long dpa_align(struct nd_region *nd_region) in dpa_align()
716 resource_size_t nd_pmem_max_contiguous_dpa(struct nd_region *nd_region, in nd_pmem_max_contiguous_dpa()
761 resource_size_t nd_pmem_available_dpa(struct nd_region *nd_region, in nd_pmem_available_dpa()
Dlabel.c409 struct nd_region *nd_region = NULL; in nd_label_reserve_dpa() local
873 static int __pmem_label_update(struct nd_region *nd_region, in __pmem_label_update()
1056 int nd_pmem_namespace_label_update(struct nd_region *nd_region, in nd_pmem_namespace_label_update()
Dbadrange.c269 void nvdimm_badblocks_populate(struct nd_region *nd_region, in nvdimm_badblocks_populate()
Dclaim.c79 struct nd_region *nd_region = to_nd_region(dev->parent); in is_idle() local
Dbtt.c1580 struct nd_region *nd_region) in btt_init()
1662 struct nd_region *nd_region; in nvdimm_namespace_attach_btt() local
Dbtt.h228 struct nd_region *nd_region; member
/linux-5.19.10/drivers/dax/
Dpmem.c24 struct nd_region *nd_region = to_nd_region(dev->parent); in __dax_pmem_probe() local
/linux-5.19.10/drivers/acpi/nfit/
Dnfit.h165 struct nd_region *nd_region; member
300 struct nd_region *nd_region; member
Dcore.c2172 struct nd_region *nd_region = to_nd_region(dev); in range_index_show() local
2431 struct nd_region *nd_region = nfit_spa->nd_region; in ars_complete() local
/linux-5.19.10/tools/testing/nvdimm/test/
Dndtest.c444 struct nd_region *nd_region = to_nd_region(dev); in range_index_show() local
Dnfit.c645 struct nd_region *nd_region; in nfit_test_search_region_spa() local
666 struct nd_region *nd_region = NULL; in nfit_test_search_spa() local
/linux-5.19.10/arch/powerpc/platforms/pseries/
Dpapr_scm.c129 static int papr_scm_pmem_flush(struct nd_region *nd_region, in papr_scm_pmem_flush()