Searched refs:nd_dax (Results 1 – 6 of 6) 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()26 struct nd_dax *to_nd_dax(struct device *dev) in to_nd_dax()28 struct nd_dax *nd_dax = container_of(dev, struct nd_dax, nd_pfn.dev); in to_nd_dax() local31 return nd_dax; in to_nd_dax()47 static struct nd_dax *nd_dax_alloc(struct nd_region *nd_region) in nd_dax_alloc()50 struct nd_dax *nd_dax; in nd_dax_alloc() local53 nd_dax = kzalloc_obj(*nd_dax); in nd_dax_alloc()54 if (!nd_dax) in nd_dax_alloc()[all …]
477 struct nd_dax {597 struct nd_dax *to_nd_dax(struct device *dev);602 static inline struct device *nd_dax_devinit(struct nd_dax *nd_dax,605 if (!nd_dax) in nd_dax_devinit() 607 return nd_pfn_devinit(&nd_dax->nd_pfn, ndns); in nd_dax_devinit() 478 struct nd_dax { global() struct 479 nd_pfnnd_dax global() argument 603 nd_dax_devinit(struct nd_dax * nd_dax,struct nd_namespace_common * ndns) nd_dax_devinit() argument
85 struct nd_dax *nd_dax = to_nd_dax(dev); in to_nd_pfn_safe() local87 return &nd_dax->nd_pfn; in to_nd_pfn_safe()
955 struct nd_dax *nd_dax = is_nd_dax(dev) ? to_nd_dax(dev) : NULL; in nd_pmem_forget_poison_check() local960 if (nd_dax || !dev->driver) in nd_pmem_forget_poison_check()966 if (nd_btt || nd_pfn || nd_dax) { in nd_pmem_forget_poison_check()971 else if (nd_dax) in nd_pmem_forget_poison_check()972 ndns = nd_dax->nd_pfn.ndns; in nd_pmem_forget_poison_check()
896 struct nd_dax *nd_dax = to_nd_dax(dev); in nd_region_advance_seeds() 900 if (nd_region->ns_seed == &nd_dax->nd_pfn.ndns->dev) in nd_region_advance_seeds() 894 struct nd_dax *nd_dax = to_nd_dax(dev); nd_region_advance_seeds() local
1435 struct nd_dax *nd_dax = is_nd_dax(dev) ? to_nd_dax(dev) : NULL; in nvdimm_namespace_common_probe() local1439 if (nd_btt || nd_pfn || nd_dax) { in nvdimm_namespace_common_probe()1444 else if (nd_dax) in nvdimm_namespace_common_probe()1445 ndns = nd_dax->nd_pfn.ndns; in nvdimm_namespace_common_probe()