Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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
145 struct nd_region *nd_region = container_of(dev, struct nd_region, dev); in to_nd_region() local
152 struct device *nd_region_dev(struct nd_region *nd_region) in nd_region_dev()
162 struct nd_region *nd_region = to_nd_region(dev); in to_nd_blk_region() local
169 void *nd_region_provider_data(struct nd_region *nd_region) in nd_region_provider_data()
195 int nd_region_to_nstype(struct nd_region *nd_region) in nd_region_to_nstype()
219 static unsigned long long region_size(struct nd_region *nd_region) in region_size()
235 struct nd_region *nd_region = to_nd_region(dev); in size_show() local
244 struct nd_region *nd_region = to_nd_region(dev); in deep_flush_show() local
[all …]
Dnd.h138 struct nd_region { struct
159 int (*flush)(struct nd_region *nd_region, struct bio *bio); argument
168 struct nd_region nd_region; member
292 static inline struct device *nd_btt_create(struct nd_region *nd_region) in nd_btt_create()
322 static inline struct device *nd_pfn_create(struct nd_region *nd_region) in nd_pfn_create()
350 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
38 struct nd_region *nd_region = to_nd_region(dev->parent); in namespace_blk_release() local
107 struct nd_region *nd_region = to_nd_region(dev->parent); in pmem_should_map_pages() local
159 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nvdimm_namespace_disk_name() local
218 struct nd_region *nd_region = to_nd_region(dev->parent); in nstype_show() local
271 struct nd_region *nd_region = to_nd_region(nsblk->common.dev.parent); in nd_namespace_blk_size() local
289 struct nd_region *nd_region = to_nd_region(nsblk->common.dev.parent); in __nd_namespace_blk_validate() local
346 static int nd_namespace_label_update(struct nd_region *nd_region, in nd_namespace_label_update()
385 struct nd_region *nd_region = to_nd_region(dev->parent); in alt_name_store() local
421 static int scan_free(struct nd_region *nd_region, in scan_free()
[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
92 struct nd_region *nd_region = to_nd_region(dev); in nd_region_remove() local
124 struct nd_region *nd_region = to_nd_region(dev); in nd_region_notify() 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()
Dbtt_devs.c18 struct nd_region *nd_region = to_nd_region(dev->parent); in nd_btt_release() local
182 static struct device *__nd_btt_create(struct nd_region *nd_region, in __nd_btt_create()
225 struct device *nd_btt_create(struct nd_region *nd_region) in nd_btt_create()
336 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nd_btt_probe() local
Dpfn_devs.c19 struct nd_region *nd_region = to_nd_region(dev->parent); in nd_pfn_release() local
316 static struct nd_pfn *nd_pfn_alloc(struct nd_region *nd_region) in nd_pfn_alloc()
339 struct device *nd_pfn_create(struct nd_region *nd_region) in nd_pfn_create()
362 struct nd_region *nd_region = to_nd_region(nd_pfn->dev.parent); in nd_pfn_clear_memmap_errors() local
619 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nd_pfn_probe() local
723 struct nd_region *nd_region; in nd_pfn_init() local
Ddimm_devs.c216 struct nd_region *nd_region = &ndbr->nd_region; in nd_blk_region_to_dimm() local
696 static unsigned long dpa_align(struct nd_region *nd_region) in dpa_align()
716 struct nd_region *nd_region; in alias_dpa_busy() local
800 resource_size_t nd_blk_available_dpa(struct nd_region *nd_region) in nd_blk_available_dpa()
844 resource_size_t nd_pmem_max_contiguous_dpa(struct nd_region *nd_region, in nd_pmem_max_contiguous_dpa()
896 resource_size_t nd_pmem_available_dpa(struct nd_region *nd_region, in nd_pmem_available_dpa()
Dvirtio_pmem.c36 struct nd_region *nd_region; in virtio_pmem_probe() local
Dlabel.c386 struct nd_region *nd_region = NULL; in nd_label_reserve_dpa() local
759 static int __pmem_label_update(struct nd_region *nd_region, in __pmem_label_update()
897 static int __blk_label_update(struct nd_region *nd_region, in __blk_label_update()
1255 int nd_pmem_namespace_label_update(struct nd_region *nd_region, in nd_pmem_namespace_label_update()
1303 int nd_blk_namespace_label_update(struct nd_region *nd_region, in nd_blk_namespace_label_update()
Dpmem.c201 struct nd_region *nd_region = to_region(pmem); in pmem_submit_bio() local
375 struct nd_region *nd_region = to_nd_region(dev->parent); in pmem_attach_disk() local
593 struct nd_region *nd_region; in nd_pmem_notify() local
Dbus.c159 void nvdimm_region_notify(struct nd_region *nd_region, enum nvdimm_event event) in nvdimm_region_notify()
178 struct nd_region *nd_region; in nvdimm_clear_badblocks_region() local
634 struct nd_region *nd_region = to_nd_region(dev->parent); in nvdimm_check_and_set_ro() local
688 struct nd_region *nd_region = NULL; in nvdimm_dev_to_target_node() local
Dbadrange.c269 void nvdimm_badblocks_populate(struct nd_region *nd_region, in nvdimm_badblocks_populate()
Dclaim.c78 struct nd_region *nd_region = to_nd_region(dev->parent); in is_idle() local
Dblk.c54 struct nd_region *nd_region; in to_ndbr() local
Dbtt.c1588 u32 lbasize, u8 *uuid, struct nd_region *nd_region) in btt_init()
1670 struct nd_region *nd_region; in nvdimm_namespace_attach_btt() local
Dbtt.h229 struct nd_region *nd_region; member
/kernel/linux/linux-5.10/drivers/dax/pmem/
Dcore.c24 struct nd_region *nd_region = to_nd_region(dev->parent); in __dax_pmem_probe() local
/kernel/linux/linux-5.10/drivers/acpi/nfit/
Dnfit.h165 struct nd_region *nd_region; member
306 struct nd_region *nd_region; member
Dcore.c2248 struct nd_region *nd_region = to_nd_region(dev); in range_index_show() local
2551 struct nd_region *nd_region = nfit_blk->nd_region; in acpi_nfit_blk_region_do_io() local
2792 struct nd_region *nd_region = nfit_spa->nd_region; in ars_complete() local
/kernel/linux/linux-5.10/tools/testing/nvdimm/test/
Dnfit.c648 struct nd_region *nd_region; in nfit_test_search_region_spa() local
669 struct nd_region *nd_region = NULL; in nfit_test_search_spa() local
2843 struct nd_region *nd_region = &ndbr->nd_region; in nfit_test_blk_do_io() local