Home
last modified time | relevance | path

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

/drivers/nvdimm/
Dregion_devs.c71 int nd_region_activate(struct nd_region *nd_region) in nd_region_activate()
130 struct nd_region *nd_region = to_nd_region(dev); in nd_region_release() local
174 struct nd_region *nd_region = container_of(dev, struct nd_region, dev); in to_nd_region() local
183 struct nd_region *nd_region = to_nd_region(dev); in to_nd_blk_region() local
190 void *nd_region_provider_data(struct nd_region *nd_region) in nd_region_provider_data()
216 int nd_region_to_nstype(struct nd_region *nd_region) in nd_region_to_nstype()
243 struct nd_region *nd_region = to_nd_region(dev); in size_show() local
261 struct nd_region *nd_region = to_nd_region(dev); in mappings_show() local
270 struct nd_region *nd_region = to_nd_region(dev); in nstype_show() local
279 struct nd_region *nd_region = to_nd_region(dev); in set_cookie_show() local
[all …]
Dnd.h141 struct nd_region { struct
142 struct device dev;
143 struct ida ns_ida;
167 struct nd_region nd_region; argument
265 static inline struct device *nd_btt_create(struct nd_region *nd_region) in nd_btt_create()
292 static inline struct device *nd_pfn_create(struct nd_region *nd_region) in nd_pfn_create()
320 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
169 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nvdimm_namespace_disk_name() local
228 struct nd_region *nd_region = to_nd_region(dev->parent); in nstype_show() local
282 struct nd_region *nd_region = to_nd_region(nsblk->common.dev.parent); in nd_namespace_blk_size() local
300 struct nd_region *nd_region = to_nd_region(nsblk->common.dev.parent); in __nd_namespace_blk_validate() local
357 static int nd_namespace_label_update(struct nd_region *nd_region, in nd_namespace_label_update()
396 struct nd_region *nd_region = to_nd_region(dev->parent); in alt_name_store() local
432 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
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()
300 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nd_btt_probe() local
Dregion.c24 struct nd_region *nd_region = to_nd_region(dev); in nd_region_probe() local
83 struct nd_region *nd_region = to_nd_region(dev); in nd_region_remove() local
Dpfn_devs.c27 struct nd_region *nd_region = to_nd_region(dev->parent); in nd_pfn_release() local
313 static struct nd_pfn *nd_pfn_alloc(struct nd_region *nd_region) in nd_pfn_alloc()
337 struct device *nd_pfn_create(struct nd_region *nd_region) in nd_pfn_create()
478 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nd_pfn_probe() local
579 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
394 struct nd_region *nd_region; in alias_dpa_busy() local
469 resource_size_t nd_blk_available_dpa(struct nd_region *nd_region) in nd_blk_available_dpa()
511 resource_size_t nd_pmem_available_dpa(struct nd_region *nd_region, in nd_pmem_available_dpa()
Dpmem.c153 struct nd_region *nd_region = to_region(pmem); in pmem_make_request() local
241 struct nd_region *nd_region = to_nd_region(dev->parent); in pmem_attach_disk() local
388 struct nd_region *nd_region; in nd_pmem_notify() local
Dlabel.c296 struct nd_region *nd_region = NULL; in nd_label_reserve_dpa() local
493 static int __pmem_label_update(struct nd_region *nd_region, in __pmem_label_update()
622 static int __blk_label_update(struct nd_region *nd_region, in __blk_label_update()
922 int nd_pmem_namespace_label_update(struct nd_region *nd_region, in nd_pmem_namespace_label_update()
957 int nd_blk_namespace_label_update(struct nd_region *nd_region, in nd_blk_namespace_label_update()
Dclaim.c81 struct nd_region *nd_region = to_nd_region(dev->parent); in is_idle() local
Dbus.c162 void nvdimm_region_notify(struct nd_region *nd_region, enum nvdimm_event event) in nvdimm_region_notify()
507 struct nd_region *nd_region = to_nd_region(dev->parent); in nvdimm_revalidate_disk() local
Dblk.c62 struct nd_region *nd_region; in to_ndbr() local
Dbtt.c1438 u32 lbasize, u8 *uuid, struct nd_region *nd_region) in btt_init()
1517 struct nd_region *nd_region; in nvdimm_namespace_attach_btt() local
Dbtt.h223 struct nd_region *nd_region; member
Dcore.c531 void nvdimm_badblocks_populate(struct nd_region *nd_region, in nvdimm_badblocks_populate()
/drivers/acpi/nfit/
Dnfit.h91 struct nd_region *nd_region; member
200 struct nd_region *nd_region; member
Dcore.c1578 struct nd_region *nd_region = to_nd_region(dev); in range_index_show() local
1819 struct nd_region *nd_region = nfit_blk->nd_region; in acpi_nfit_blk_region_do_io() local