Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/nvdimm/
Dregion_devs.c27 struct nd_region *nd_region = to_nd_region(dev); in nd_region_release() local
71 struct nd_region *nd_region = container_of(dev, struct nd_region, dev); in to_nd_region() local
80 struct nd_region *nd_region = to_nd_region(dev); in to_nd_blk_region() local
87 void *nd_region_provider_data(struct nd_region *nd_region) in nd_region_provider_data()
113 int nd_region_to_nstype(struct nd_region *nd_region) in nd_region_to_nstype()
140 struct nd_region *nd_region = to_nd_region(dev); in size_show() local
158 struct nd_region *nd_region = to_nd_region(dev); in mappings_show() local
167 struct nd_region *nd_region = to_nd_region(dev); in nstype_show() local
176 struct nd_region *nd_region = to_nd_region(dev); in set_cookie_show() local
188 resource_size_t nd_region_available_dpa(struct nd_region *nd_region) in nd_region_available_dpa()
[all …]
Dnd.h98 struct nd_region { struct
99 struct device dev;
123 struct nd_region nd_region; argument
210 static inline struct device *nd_btt_create(struct nd_region *nd_region) in nd_btt_create()
233 static inline struct device *nd_pfn_create(struct nd_region *nd_region) in nd_pfn_create()
Dnamespace_devs.c40 struct nd_region *nd_region = to_nd_region(dev->parent); in namespace_blk_release() local
135 struct nd_region *nd_region = to_nd_region(dev->parent); in pmem_should_map_pages() local
157 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nvdimm_namespace_disk_name() local
212 struct nd_region *nd_region = to_nd_region(dev->parent); in nstype_show() local
266 struct nd_region *nd_region = to_nd_region(nsblk->common.dev.parent); in nd_namespace_blk_size() local
284 struct nd_region *nd_region = to_nd_region(nsblk->common.dev.parent); in __nd_namespace_blk_validate() local
341 static int nd_namespace_label_update(struct nd_region *nd_region, in nd_namespace_label_update()
380 struct nd_region *nd_region = to_nd_region(dev->parent); in alt_name_store() local
416 static int scan_free(struct nd_region *nd_region, in scan_free()
474 static int shrink_dpa_allocation(struct nd_region *nd_region, in shrink_dpa_allocation()
[all …]
Dregion.c24 struct nd_region *nd_region = to_nd_region(dev); in nd_region_probe() local
82 struct nd_region *nd_region = to_nd_region(dev); in nd_region_remove() local
Dpfn_devs.c26 struct nd_region *nd_region = to_nd_region(dev->parent); in nd_pfn_release() local
181 static struct device *__nd_pfn_create(struct nd_region *nd_region, in __nd_pfn_create()
221 struct device *nd_pfn_create(struct nd_region *nd_region) in nd_pfn_create()
310 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nd_pfn_probe() local
Dbtt_devs.c26 struct nd_region *nd_region = to_nd_region(dev->parent); in nd_btt_release() local
161 static struct device *__nd_btt_create(struct nd_region *nd_region, in __nd_btt_create()
197 struct device *nd_btt_create(struct nd_region *nd_region) in nd_btt_create()
281 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nd_btt_probe() local
Dpmem.c230 struct nd_region *nd_region; in nd_pfn_init() local
315 struct nd_region *nd_region; in nvdimm_namespace_attach_pfn() local
375 struct nd_region *nd_region = to_nd_region(dev->parent); in nd_pmem_probe() 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()
606 static int __blk_label_update(struct nd_region *nd_region, in __blk_label_update()
881 int nd_pmem_namespace_label_update(struct nd_region *nd_region, in nd_pmem_namespace_label_update()
909 int nd_blk_namespace_label_update(struct nd_region *nd_region, in nd_blk_namespace_label_update()
Dclaim.c80 struct nd_region *nd_region = to_nd_region(dev->parent); in is_idle() local
Ddimm_devs.c214 struct nd_region *nd_region = &ndbr->nd_region; in nd_blk_region_to_dimm() local
423 resource_size_t nd_pmem_available_dpa(struct nd_region *nd_region, in nd_pmem_available_dpa()
Dbtt.c1306 u32 lbasize, u8 *uuid, struct nd_region *nd_region) in btt_init()
1390 struct nd_region *nd_region; in nvdimm_namespace_attach_btt() local
Dbtt.h180 struct nd_region *nd_region; member
Dbus.c239 struct nd_region *nd_region = to_nd_region(dev->parent); in nvdimm_revalidate_disk() local
/linux-4.4.14/drivers/acpi/
Dnfit.h142 struct nd_region *nd_region; member
Dnfit.c927 struct nd_region *nd_region = to_nd_region(dev); in range_index_show() local
1167 struct nd_region *nd_region = nfit_blk->nd_region; in acpi_nfit_blk_region_do_io() local
/linux-4.4.14/tools/testing/nvdimm/test/
Dnfit.c1145 struct nd_region *nd_region = &ndbr->nd_region; in nfit_test_blk_do_io() local