Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/nvdimm/
Dregion_devs.c70 int nd_region_activate(struct nd_region *nd_region) in nd_region_activate()
129 struct nd_region *nd_region = to_nd_region(dev); in nd_region_release() local
178 struct nd_region *nd_region = container_of(dev, struct nd_region, dev); in to_nd_region() local
185 struct device *nd_region_dev(struct nd_region *nd_region) in nd_region_dev()
195 struct nd_region *nd_region = to_nd_region(dev); in to_nd_blk_region() local
202 void *nd_region_provider_data(struct nd_region *nd_region) in nd_region_provider_data()
228 int nd_region_to_nstype(struct nd_region *nd_region) in nd_region_to_nstype()
255 struct nd_region *nd_region = to_nd_region(dev); in size_show() local
273 struct nd_region *nd_region = to_nd_region(dev); in deep_flush_show() local
287 struct nd_region *nd_region = to_nd_region(dev); in deep_flush_store() local
[all …]
Dnd.h142 struct nd_region { struct
143 struct device dev;
144 struct ida ns_ida;
145 struct ida btt_ida;
146 struct ida pfn_ida;
170 struct nd_region nd_region; argument
275 static inline struct device *nd_btt_create(struct nd_region *nd_region) in nd_btt_create()
309 static inline struct device *nd_pfn_create(struct nd_region *nd_region) in nd_pfn_create()
337 static inline struct device *nd_dax_create(struct nd_region *nd_region) in nd_dax_create()
Dnamespace_devs.c33 struct nd_region *nd_region = to_nd_region(dev->parent); in namespace_pmem_release() local
45 struct nd_region *nd_region = to_nd_region(dev->parent); in namespace_blk_release() local
140 struct nd_region *nd_region = to_nd_region(dev->parent); in pmem_should_map_pages() local
188 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nvdimm_namespace_disk_name() local
247 struct nd_region *nd_region = to_nd_region(dev->parent); in nstype_show() local
301 struct nd_region *nd_region = to_nd_region(nsblk->common.dev.parent); in nd_namespace_blk_size() local
319 struct nd_region *nd_region = to_nd_region(nsblk->common.dev.parent); in __nd_namespace_blk_validate() local
376 static int nd_namespace_label_update(struct nd_region *nd_region, in nd_namespace_label_update()
415 struct nd_region *nd_region = to_nd_region(dev->parent); in alt_name_store() local
451 static int scan_free(struct nd_region *nd_region, in scan_free()
[all …]
Ddax_devs.c23 struct nd_region *nd_region = to_nd_region(dev->parent); in nd_dax_release() local
61 static struct nd_dax *nd_dax_alloc(struct nd_region *nd_region) in nd_dax_alloc()
87 struct device *nd_dax_create(struct nd_region *nd_region) in nd_dax_create()
109 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nd_dax_probe() local
Dregion.c25 struct nd_region *nd_region = to_nd_region(dev); in nd_region_probe() local
99 struct nd_region *nd_region = to_nd_region(dev); in nd_region_remove() local
131 struct nd_region *nd_region = to_nd_region(dev); in nd_region_notify() local
Dbtt_devs.c26 struct nd_region *nd_region = to_nd_region(dev->parent); in nd_btt_release() local
181 static struct device *__nd_btt_create(struct nd_region *nd_region, in __nd_btt_create()
217 struct device *nd_btt_create(struct nd_region *nd_region) in nd_btt_create()
328 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nd_btt_probe() local
Ddimm_devs.c241 struct nd_region *nd_region = &ndbr->nd_region; in nd_blk_region_to_dimm() local
437 struct nd_region *nd_region; in alias_dpa_busy() local
512 resource_size_t nd_blk_available_dpa(struct nd_region *nd_region) in nd_blk_available_dpa()
545 resource_size_t nd_pmem_max_contiguous_dpa(struct nd_region *nd_region, in nd_pmem_max_contiguous_dpa()
585 resource_size_t nd_pmem_available_dpa(struct nd_region *nd_region, in nd_pmem_available_dpa()
Dpfn_devs.c27 struct nd_region *nd_region = to_nd_region(dev->parent); in nd_pfn_release() local
325 static struct nd_pfn *nd_pfn_alloc(struct nd_region *nd_region) in nd_pfn_alloc()
349 struct device *nd_pfn_create(struct nd_region *nd_region) in nd_pfn_create()
490 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nd_pfn_probe() local
600 struct nd_region *nd_region; in nd_pfn_init() local
Dlabel.c388 struct nd_region *nd_region = NULL; in nd_label_reserve_dpa() local
626 static int __pmem_label_update(struct nd_region *nd_region, in __pmem_label_update()
772 static int __blk_label_update(struct nd_region *nd_region, in __blk_label_update()
1120 int nd_pmem_namespace_label_update(struct nd_region *nd_region, in nd_pmem_namespace_label_update()
1155 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_make_request() local
352 struct nd_region *nd_region = to_nd_region(dev->parent); in pmem_attach_disk() local
543 struct nd_region *nd_region; in nd_pmem_notify() local
Dbus.c168 void nvdimm_region_notify(struct nd_region *nd_region, enum nvdimm_event event) in nvdimm_region_notify()
187 struct nd_region *nd_region; in nvdimm_clear_badblocks_region() local
571 struct nd_region *nd_region = to_nd_region(dev->parent); in nvdimm_revalidate_disk() local
Dbadrange.c277 void nvdimm_badblocks_populate(struct nd_region *nd_region, in nvdimm_badblocks_populate()
Dclaim.c86 struct nd_region *nd_region = to_nd_region(dev->parent); in is_idle() local
Dblk.c62 struct nd_region *nd_region; in to_ndbr() local
Dbtt.c1591 u32 lbasize, u8 *uuid, struct nd_region *nd_region) in btt_init()
1673 struct nd_region *nd_region; in nvdimm_namespace_attach_btt() local
Dbtt.h235 struct nd_region *nd_region; member
/Linux-v4.19/drivers/acpi/nfit/
Dnfit.h130 struct nd_region *nd_region; member
246 struct nd_region *nd_region; member
Dcore.c1989 struct nd_region *nd_region = to_nd_region(dev); in range_index_show() local
2297 struct nd_region *nd_region = nfit_blk->nd_region; in acpi_nfit_blk_region_do_io() local
2534 struct nd_region *nd_region = nfit_spa->nd_region; in ars_complete() local
/Linux-v4.19/tools/testing/nvdimm/test/
Dnfit.c637 struct nd_region *nd_region; in nfit_test_search_region_spa() local
658 struct nd_region *nd_region = NULL; in nfit_test_search_spa() local
2311 struct nd_region *nd_region = &ndbr->nd_region; in nfit_test_blk_do_io() local