Home
last modified time | relevance | path

Searched refs:nd_dax (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/drivers/nvdimm/
Ddax_devs.c24 struct nd_dax *nd_dax = to_nd_dax(dev); in nd_dax_release() local
25 struct nd_pfn *nd_pfn = &nd_dax->nd_pfn; in nd_dax_release()
31 kfree(nd_dax); in nd_dax_release()
45 struct nd_dax *to_nd_dax(struct device *dev) in to_nd_dax()
47 struct nd_dax *nd_dax = container_of(dev, struct nd_dax, nd_pfn.dev); in to_nd_dax() local
50 return nd_dax; in to_nd_dax()
61 static struct nd_dax *nd_dax_alloc(struct nd_region *nd_region) in nd_dax_alloc()
64 struct nd_dax *nd_dax; in nd_dax_alloc() local
67 nd_dax = kzalloc(sizeof(*nd_dax), GFP_KERNEL); in nd_dax_alloc()
68 if (!nd_dax) in nd_dax_alloc()
[all …]
Dclaim.c111 struct nd_dax *nd_dax = to_nd_dax(dev); in to_nd_pfn_safe() local
113 return &nd_dax->nd_pfn; in to_nd_pfn_safe()
Dbus.c849 struct nd_dax *nd_dax = is_nd_dax(dev) ? to_nd_dax(dev) : NULL; in nd_pmem_forget_poison_check() local
854 if (nd_dax || !dev->driver) in nd_pmem_forget_poison_check()
860 if (nd_btt || nd_pfn || nd_dax) { in nd_pmem_forget_poison_check()
865 else if (nd_dax) in nd_pmem_forget_poison_check()
866 ndns = nd_dax->nd_pfn.ndns; in nd_pmem_forget_poison_check()
Dnd.h214 struct nd_dax { struct
320 struct nd_dax *to_nd_dax(struct device *dev);
Dregion_devs.c767 struct nd_dax *nd_dax = to_nd_dax(dev); in nd_region_notify_driver_action() local
773 if (nd_region->ns_seed == &nd_dax->nd_pfn.ndns->dev) in nd_region_notify_driver_action()
Dnamespace_devs.c1677 struct nd_dax *nd_dax = is_nd_dax(dev) ? to_nd_dax(dev) : NULL; in nvdimm_namespace_common_probe() local
1681 if (nd_btt || nd_pfn || nd_dax) { in nvdimm_namespace_common_probe()
1686 else if (nd_dax) in nvdimm_namespace_common_probe()
1687 ndns = nd_dax->nd_pfn.ndns; in nvdimm_namespace_common_probe()
/Linux-v4.19/drivers/dax/
Dpmem.c71 struct nd_dax *nd_dax = to_nd_dax(dev); in dax_pmem_probe() local
72 struct nd_pfn *nd_pfn = &nd_dax->nd_pfn; in dax_pmem_probe()