Home
last modified time | relevance | path

Searched refs:to_nd_region (Results 1 – 12 of 12) 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()
69 struct nd_region *to_nd_region(struct device *dev) in to_nd_region() function
76 EXPORT_SYMBOL_GPL(to_nd_region);
80 struct nd_region *nd_region = to_nd_region(dev); in to_nd_blk_region()
140 struct nd_region *nd_region = to_nd_region(dev); in size_show()
158 struct nd_region *nd_region = to_nd_region(dev); in mappings_show()
167 struct nd_region *nd_region = to_nd_region(dev); in nstype_show()
176 struct nd_region *nd_region = to_nd_region(dev); in set_cookie_show()
224 struct nd_region *nd_region = to_nd_region(dev); in available_size_show()
262 struct nd_region *nd_region = to_nd_region(dev); in namespace_seed_show()
[all …]
Dregion.c24 struct nd_region *nd_region = to_nd_region(dev); in nd_region_probe()
82 struct nd_region *nd_region = to_nd_region(dev); in nd_region_remove()
Dnamespace_devs.c40 struct nd_region *nd_region = to_nd_region(dev->parent); in namespace_blk_release()
135 struct nd_region *nd_region = to_nd_region(dev->parent); in pmem_should_map_pages()
157 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nvdimm_namespace_disk_name()
212 struct nd_region *nd_region = to_nd_region(dev->parent); in nstype_show()
266 struct nd_region *nd_region = to_nd_region(nsblk->common.dev.parent); in nd_namespace_blk_size()
284 struct nd_region *nd_region = to_nd_region(nsblk->common.dev.parent); in __nd_namespace_blk_validate()
380 struct nd_region *nd_region = to_nd_region(dev->parent); in alt_name_store()
725 nd_region = to_nd_region(dev); in __reserve_free_pmem()
850 struct nd_region *nd_region = to_nd_region(dev->parent); in __size_store()
944 struct nd_region *nd_region = to_nd_region(dev->parent); in size_store()
[all …]
Dpmem.c249 nd_region = to_nd_region(nd_pfn->dev.parent); in nd_pfn_init()
324 nd_region = to_nd_region(dev->parent); in nvdimm_namespace_attach_pfn()
375 struct nd_region *nd_region = to_nd_region(dev->parent); in nd_pmem_probe()
Dbtt_devs.c26 struct nd_region *nd_region = to_nd_region(dev->parent); in nd_btt_release()
281 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nd_btt_probe()
Dpfn_devs.c26 struct nd_region *nd_region = to_nd_region(dev->parent); in nd_pfn_release()
310 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nd_pfn_probe()
Dbus.c44 return nd_region_to_nstype(to_nd_region(dev->parent)); in to_nd_device_type()
56 set_dev_node(dev, to_nd_region(dev)->numa_node); in nvdimm_bus_uevent()
239 struct nd_region *nd_region = to_nd_region(dev->parent); in nvdimm_revalidate_disk()
Dclaim.c80 struct nd_region *nd_region = to_nd_region(dev->parent); in is_idle()
Dnd.h244 struct nd_region *to_nd_region(struct device *dev);
Dbtt.c1401 nd_region = to_nd_region(nd_btt->dev.parent); in nvdimm_namespace_attach_btt()
/linux-4.4.14/include/linux/
Dlibnvdimm.h126 struct nd_region *to_nd_region(struct device *dev);
/linux-4.4.14/drivers/acpi/
Dnfit.c927 struct nd_region *nd_region = to_nd_region(dev); in range_index_show()
1371 nfit_blk->nd_region = to_nd_region(dev); in acpi_nfit_blk_region_enable()