Searched refs:nd_pfn (Results 1 – 5 of 5) sorted by relevance
87 struct nd_pfn *to_nd_pfn_safe(struct device *dev) in is_idle() 91 * need to be careful to correct device-to-nd_pfn conversion. in is_idle() 99 return &nd_dax->nd_pfn; in to_nd_pfn_safe() 120 struct nd_pfn *nd_pfn = to_nd_pfn_safe(dev); in nd_detach_and_reset() 122 kfree(nd_pfn->uuid); in nd_detach_and_reset() 123 nd_pfn->uuid = NULL; in nd_detach_and_reset() 124 nd_pfn->mode = PFN_MODE_NONE; in nd_detach_and_reset() 127 struct nd_pfn *nd_pfn = to_nd_pfn_safe(dev); nd_detach_and_reset() local
956 struct nd_pfn *nd_pfn = is_nd_pfn(dev) ? to_nd_pfn(dev) : NULL; in nd_pmem_forget_poison_check() local 968 if (nd_btt || nd_pfn || nd_dax) { in nd_pmem_forget_poison_check() 971 else if (nd_pfn) in nd_pmem_forget_poison_check() 972 ndns = nd_pfn->ndns; in nd_pmem_forget_poison_check() 974 ndns = nd_dax->nd_pfn.ndns; in nd_pmem_forget_poison_check()
52 struct nd_pfn *nd_pfn = to_nd_pfn(dev); in is_uuid_busy() local54 uuid2 = nd_pfn->uuid; in is_uuid_busy()1440 struct nd_pfn *nd_pfn = is_nd_pfn(dev) ? to_nd_pfn(dev) : NULL; in nvdimm_namespace_common_probe() local1445 if (nd_btt || nd_pfn || nd_dax) { in nvdimm_namespace_common_probe()1448 else if (nd_pfn) in nvdimm_namespace_common_probe()1449 ndns = nd_pfn->ndns; in nvdimm_namespace_common_probe()1451 ndns = nd_dax->nd_pfn.ndns; in nvdimm_namespace_common_probe()
146 struct nd_pfn *to_nd_pfn_safe(struct device *dev);
904 struct nd_pfn *nd_pfn = to_nd_pfn(dev); in nd_region_advance_seeds() local908 if (nd_region->ns_seed == &nd_pfn->ndns->dev) in nd_region_advance_seeds()915 if (nd_region->ns_seed == &nd_dax->nd_pfn.ndns->dev) in nd_region_advance_seeds()