Searched refs:nd_dax (Results 1 – 7 of 7) sorted by relevance
16 struct nd_dax *nd_dax = to_nd_dax(dev); in nd_dax_release() local17 struct nd_pfn *nd_pfn = &nd_dax->nd_pfn; in nd_dax_release()23 kfree(nd_dax); in nd_dax_release()37 struct nd_dax *to_nd_dax(struct device *dev) in to_nd_dax()39 struct nd_dax *nd_dax = container_of(dev, struct nd_dax, nd_pfn.dev); in to_nd_dax() local42 return nd_dax; in to_nd_dax()53 static struct nd_dax *nd_dax_alloc(struct nd_region *nd_region) in nd_dax_alloc()56 struct nd_dax *nd_dax; in nd_dax_alloc() local59 nd_dax = kzalloc(sizeof(*nd_dax), GFP_KERNEL); in nd_dax_alloc()60 if (!nd_dax) in nd_dax_alloc()[all …]
103 struct nd_dax *nd_dax = to_nd_dax(dev); in to_nd_pfn_safe() local105 return &nd_dax->nd_pfn; in to_nd_pfn_safe()
909 struct nd_dax *nd_dax = is_nd_dax(dev) ? to_nd_dax(dev) : NULL; in nd_pmem_forget_poison_check() local914 if (nd_dax || !dev->driver) in nd_pmem_forget_poison_check()920 if (nd_btt || nd_pfn || nd_dax) { in nd_pmem_forget_poison_check()925 else if (nd_dax) in nd_pmem_forget_poison_check()926 ndns = nd_dax->nd_pfn.ndns; in nd_pmem_forget_poison_check()
211 struct nd_dax { struct324 struct nd_dax *to_nd_dax(struct device *dev);
741 struct nd_dax *nd_dax = to_nd_dax(dev); in nd_region_advance_seeds() local745 if (nd_region->ns_seed == &nd_dax->nd_pfn.ndns->dev) in nd_region_advance_seeds()
1687 struct nd_dax *nd_dax = is_nd_dax(dev) ? to_nd_dax(dev) : NULL; in nvdimm_namespace_common_probe() local1691 if (nd_btt || nd_pfn || nd_dax) { in nvdimm_namespace_common_probe()1696 else if (nd_dax) in nvdimm_namespace_common_probe()1697 ndns = nd_dax->nd_pfn.ndns; in nvdimm_namespace_common_probe()
21 struct nd_dax *nd_dax = to_nd_dax(dev); in __dax_pmem_probe() local22 struct nd_pfn *nd_pfn = &nd_dax->nd_pfn; in __dax_pmem_probe()