/openbmc/linux/drivers/nvdimm/ |
H A D | region_devs.c | 105 int nd_region_activate(struct nd_region *nd_region) in nd_region_activate() 173 struct nd_region *nd_region = to_nd_region(dev); in nd_region_release() local 257 struct nd_region *nd_region = to_nd_region(dev); in size_show() local 266 struct nd_region *nd_region = to_nd_region(dev); in deep_flush_show() local 280 struct nd_region *nd_region = to_nd_region(dev); in deep_flush_store() local 297 struct nd_region *nd_region = to_nd_region(dev); in mappings_show() local 306 struct nd_region *nd_region = to_nd_region(dev); in nstype_show() local 315 struct nd_region *nd_region = to_nd_region(dev); in set_cookie_show() local 1004 struct nd_region *nd_region; in nd_region_create() local 1233 struct nd_region *nd_region; member [all …]
|
H A D | nd.h | 403 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()
|
H A D | namespace_devs.c | 27 struct nd_region *nd_region = to_nd_region(dev->parent); in namespace_pmem_release() local 90 struct nd_region *nd_region = to_nd_region(dev->parent); in pmem_should_map_pages() local 186 struct nd_region *nd_region = to_nd_region(dev->parent); in nstype_show() local 262 struct nd_region *nd_region = to_nd_region(dev->parent); in alt_name_store() local 294 static int scan_free(struct nd_region *nd_region, in scan_free() 574 static int merge_dpa(struct nd_region *nd_region, in merge_dpa() 608 struct nd_region *nd_region; in __reserve_free_pmem() local 746 struct nd_region *nd_region = to_nd_region(dev->parent); in __size_store() local 838 struct nd_region *nd_region = to_nd_region(dev->parent); in size_store() local 903 struct nd_region *nd_region = to_nd_region(dev->parent); in nvdimm_namespace_locked() local [all …]
|
H A D | dax_devs.c | 15 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
|
H A D | region.c | 18 struct nd_region *nd_region = to_nd_region(dev); in nd_region_probe() local 85 struct nd_region *nd_region = to_nd_region(dev); in nd_region_remove() local 125 struct nd_region *nd_region = to_nd_region(dev); in nd_region_notify() local
|
H A D | btt_devs.c | 17 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
|
H A D | nd_virtio.c | 38 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()
|
H A D | pfn_devs.c | 20 struct nd_region *nd_region = to_nd_region(dev->parent); in nd_pfn_release() local 320 static struct nd_pfn *nd_pfn_alloc(struct nd_region *nd_region) in nd_pfn_alloc() 343 struct device *nd_pfn_create(struct nd_region *nd_region) in nd_pfn_create() 366 struct nd_region *nd_region = to_nd_region(nd_pfn->dev.parent); in nd_pfn_clear_memmap_errors() local 628 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nd_pfn_probe() local 732 struct nd_region *nd_region; in nd_pfn_init() local
|
H A D | virtio_pmem.c | 35 struct nd_region *nd_region; in virtio_pmem_probe() local
|
H A D | bus.c | 148 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 626 struct nd_region *nd_region = to_nd_region(dev->parent); in nvdimm_check_and_set_ro() local 678 struct nd_region *nd_region = NULL; in nvdimm_dev_to_target_node() local
|
H A D | pmem.c | 210 struct nd_region *nd_region = to_region(pmem); in pmem_submit_bio() local 453 struct nd_region *nd_region = to_nd_region(dev->parent); in pmem_attach_disk() local 675 struct nd_region *nd_region; in pmem_revalidate_poison() local
|
H A D | dimm_devs.c | 705 static unsigned long dpa_align(struct nd_region *nd_region) in dpa_align() 726 resource_size_t nd_pmem_max_contiguous_dpa(struct nd_region *nd_region, in nd_pmem_max_contiguous_dpa() 771 resource_size_t nd_pmem_available_dpa(struct nd_region *nd_region, in nd_pmem_available_dpa()
|
H A D | label.c | 409 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()
|
H A D | badrange.c | 269 void nvdimm_badblocks_populate(struct nd_region *nd_region, in nvdimm_badblocks_populate()
|
H A D | claim.c | 79 struct nd_region *nd_region = to_nd_region(dev->parent); in is_idle() local
|
H A D | btt.c | 1566 struct nd_region *nd_region) in btt_init() 1648 struct nd_region *nd_region; in nvdimm_namespace_attach_btt() local
|
H A D | btt.h | 228 struct nd_region *nd_region; member
|
/openbmc/linux/drivers/dax/ |
H A D | pmem.c | 23 struct nd_region *nd_region = to_nd_region(dev->parent); in __dax_pmem_probe() local
|
/openbmc/linux/drivers/cxl/ |
H A D | pmem.c | 291 static void unregister_nvdimm_region(void *nd_region) in unregister_nvdimm_region()
|
H A D | cxl.h | 550 struct nd_region *nd_region; member
|
/openbmc/linux/drivers/acpi/nfit/ |
H A D | nfit.h | 165 struct nd_region *nd_region; member 300 struct nd_region *nd_region; member
|
H A D | core.c | 2172 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
|
/openbmc/linux/tools/testing/nvdimm/test/ |
H A D | ndtest.c | 383 struct nd_region *nd_region = to_nd_region(dev); in range_index_show() local
|
H A D | nfit.c | 645 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
|
/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A D | papr_scm.c | 129 static int papr_scm_pmem_flush(struct nd_region *nd_region, in papr_scm_pmem_flush()
|