nd_dax 21 drivers/dax/pmem/core.c struct nd_dax *nd_dax = to_nd_dax(dev); nd_dax 22 drivers/dax/pmem/core.c struct nd_pfn *nd_pfn = &nd_dax->nd_pfn; nd_dax 909 drivers/nvdimm/bus.c struct nd_dax *nd_dax = is_nd_dax(dev) ? to_nd_dax(dev) : NULL; nd_dax 914 drivers/nvdimm/bus.c if (nd_dax || !dev->driver) nd_dax 920 drivers/nvdimm/bus.c if (nd_btt || nd_pfn || nd_dax) { nd_dax 925 drivers/nvdimm/bus.c else if (nd_dax) nd_dax 926 drivers/nvdimm/bus.c ndns = nd_dax->nd_pfn.ndns; nd_dax 103 drivers/nvdimm/claim.c struct nd_dax *nd_dax = to_nd_dax(dev); nd_dax 105 drivers/nvdimm/claim.c return &nd_dax->nd_pfn; nd_dax 16 drivers/nvdimm/dax_devs.c struct nd_dax *nd_dax = to_nd_dax(dev); nd_dax 17 drivers/nvdimm/dax_devs.c struct nd_pfn *nd_pfn = &nd_dax->nd_pfn; nd_dax 23 drivers/nvdimm/dax_devs.c kfree(nd_dax); nd_dax 37 drivers/nvdimm/dax_devs.c struct nd_dax *to_nd_dax(struct device *dev) nd_dax 39 drivers/nvdimm/dax_devs.c struct nd_dax *nd_dax = container_of(dev, struct nd_dax, nd_pfn.dev); nd_dax 42 drivers/nvdimm/dax_devs.c return nd_dax; nd_dax 53 drivers/nvdimm/dax_devs.c static struct nd_dax *nd_dax_alloc(struct nd_region *nd_region) nd_dax 56 drivers/nvdimm/dax_devs.c struct nd_dax *nd_dax; nd_dax 59 drivers/nvdimm/dax_devs.c nd_dax = kzalloc(sizeof(*nd_dax), GFP_KERNEL); nd_dax 60 drivers/nvdimm/dax_devs.c if (!nd_dax) nd_dax 63 drivers/nvdimm/dax_devs.c nd_pfn = &nd_dax->nd_pfn; nd_dax 66 drivers/nvdimm/dax_devs.c kfree(nd_dax); nd_dax 76 drivers/nvdimm/dax_devs.c return nd_dax; nd_dax 82 drivers/nvdimm/dax_devs.c struct nd_dax *nd_dax; nd_dax 87 drivers/nvdimm/dax_devs.c nd_dax = nd_dax_alloc(nd_region); nd_dax 88 drivers/nvdimm/dax_devs.c if (nd_dax) nd_dax 89 drivers/nvdimm/dax_devs.c dev = nd_pfn_devinit(&nd_dax->nd_pfn, NULL); nd_dax 97 drivers/nvdimm/dax_devs.c struct nd_dax *nd_dax; nd_dax 115 drivers/nvdimm/dax_devs.c nd_dax = nd_dax_alloc(nd_region); nd_dax 116 drivers/nvdimm/dax_devs.c nd_pfn = &nd_dax->nd_pfn; nd_dax 1687 drivers/nvdimm/namespace_devs.c struct nd_dax *nd_dax = is_nd_dax(dev) ? to_nd_dax(dev) : NULL; nd_dax 1691 drivers/nvdimm/namespace_devs.c if (nd_btt || nd_pfn || nd_dax) { nd_dax 1696 drivers/nvdimm/namespace_devs.c else if (nd_dax) nd_dax 1697 drivers/nvdimm/namespace_devs.c ndns = nd_dax->nd_pfn.ndns; nd_dax 324 drivers/nvdimm/nd.h struct nd_dax *to_nd_dax(struct device *dev); nd_dax 741 drivers/nvdimm/region_devs.c struct nd_dax *nd_dax = to_nd_dax(dev); nd_dax 745 drivers/nvdimm/region_devs.c if (nd_region->ns_seed == &nd_dax->nd_pfn.ndns->dev)