Home
last modified time | relevance | path

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

/linux/drivers/nvdimm/
H A Dregion_devs.c63 static int nd_region_invalidate_memregion(struct nd_region *nd_region) in nd_region_invalidate_memregion()
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
190 struct nd_region *nd_region = container_of(dev, struct nd_region, dev); in to_nd_region() local
197 struct device *nd_region_dev(struct nd_region *nd_region) in nd_region_dev()
205 void *nd_region_provider_data(struct nd_region *nd_region) in nd_region_provider_data()
219 int nd_region_to_nstype(struct nd_region *nd_region) in nd_region_to_nstype()
241 static unsigned long long region_size(struct nd_region *nd_region) in region_size()
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
[all …]
H A 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()
557 static inline struct device *nd_btt_create(struct nd_region *nd_region) in nd_btt_create()
587 static inline struct device *nd_pfn_create(struct nd_region *nd_region) in nd_pfn_create()
622 static inline struct device *nd_dax_create(struct nd_region *nd_region) in nd_dax_create()
H A Dnamespace_devs.c27 struct nd_region *nd_region = to_nd_region(dev->parent); in namespace_pmem_release() local
92 struct nd_region *nd_region = to_nd_region(dev->parent); in pmem_should_map_pages() local
144 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()
345 static int shrink_dpa_allocation(struct nd_region *nd_region, in shrink_dpa_allocation()
363 struct nd_region *nd_region, struct nd_mapping *nd_mapping, in init_dpa_allocation()
396 static void space_valid(struct nd_region *nd_region, struct nvdimm_drvdata *ndd, in space_valid()
[all …]
H A Dregion.c18 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 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
H A Dpfn_devs.c20 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
629 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nd_pfn_probe() local
733 struct nd_region *nd_region; in nd_pfn_init() local
H A Ddimm_devs.c707 static unsigned long dpa_align(struct nd_region *nd_region) in dpa_align()
731 resource_size_t nd_pmem_max_contiguous_dpa(struct nd_region *nd_region, in nd_pmem_max_contiguous_dpa()
778 resource_size_t nd_pmem_available_dpa(struct nd_region *nd_region, in nd_pmem_available_dpa()
H A Dlabel.c409 struct nd_region *nd_region = NULL; in nd_label_reserve_dpa() local
874 static int __pmem_label_update(struct nd_region *nd_region, in __pmem_label_update()
1057 int nd_pmem_namespace_label_update(struct nd_region *nd_region, in nd_pmem_namespace_label_update()
H A Dclaim.c61 struct nd_region *nd_region = to_nd_region(dev->parent); in is_idle() local
H A Dbadrange.c269 void nvdimm_badblocks_populate(struct nd_region *nd_region, in nvdimm_badblocks_populate()
H A Dbtt.c1562 struct nd_region *nd_region) in btt_init()
1644 struct nd_region *nd_region; in nvdimm_namespace_attach_btt() local
H A Dbtt.h228 struct nd_region *nd_region; member
/linux/drivers/acpi/nfit/
H A Dnfit.h165 struct nd_region *nd_region; member
300 struct nd_region *nd_region; member
H A Dcore.c2176 struct nd_region *nd_region = to_nd_region(dev); in range_index_show() local
2430 struct nd_region *nd_region = nfit_spa->nd_region; in ars_complete() local
/linux/drivers/cxl/
H A Dpmem.c360 static void unregister_nvdimm_region(void *nd_region) in unregister_nvdimm_region()
H A Dcxl.h561 struct nd_region *nd_region; member
/linux/tools/testing/nvdimm/test/
H A Dndtest.c389 struct nd_region *nd_region = to_nd_region(dev); in range_index_show() local
H A 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