Searched refs:pfn_sb (Results 1 – 5 of 5) sorted by relevance
217 struct nd_pfn_sb *pfn_sb = nd_pfn->pfn_sb; in resource_show() local218 u64 offset = __le64_to_cpu(pfn_sb->dataoff); in resource_show()220 u32 start_pad = __le32_to_cpu(pfn_sb->start_pad); in resource_show()243 struct nd_pfn_sb *pfn_sb = nd_pfn->pfn_sb; in size_show() local244 u64 offset = __le64_to_cpu(pfn_sb->dataoff); in size_show()246 u32 start_pad = __le32_to_cpu(pfn_sb->start_pad); in size_show()247 u32 end_trunc = __le32_to_cpu(pfn_sb->end_trunc); in size_show()358 struct nd_pfn_sb *pfn_sb = nd_pfn->pfn_sb; in nd_pfn_validate() local362 if (!pfn_sb || !ndns) in nd_pfn_validate()368 if (nvdimm_read_bytes(ndns, SZ_4K, pfn_sb, sizeof(*pfn_sb))) in nd_pfn_validate()[all …]
108 struct nd_pfn_sb *pfn_sb; in nd_dax_probe() local121 pfn_sb = devm_kzalloc(dev, sizeof(*pfn_sb), GFP_KERNEL); in nd_dax_probe()122 nd_pfn->pfn_sb = pfn_sb; in nd_dax_probe()
246 struct nd_pfn_sb *pfn_sb; in pmem_attach_disk() local288 pfn_sb = nd_pfn->pfn_sb; in pmem_attach_disk()289 pmem->data_offset = le64_to_cpu(pfn_sb->dataoff); in pmem_attach_disk()413 struct nd_pfn_sb *pfn_sb = nd_pfn->pfn_sb; in nd_pmem_notify() local417 __le32_to_cpu(pfn_sb->start_pad); in nd_pmem_notify()418 end_trunc = __le32_to_cpu(pfn_sb->end_trunc); in nd_pmem_notify()
204 struct nd_pfn_sb *pfn_sb; member
65 struct nd_pfn_sb *pfn_sb; in dax_pmem_probe() local88 pfn_sb = nd_pfn->pfn_sb; in dax_pmem_probe()122 res.start += le64_to_cpu(pfn_sb->dataoff); in dax_pmem_probe()129 le32_to_cpu(pfn_sb->align), addr, PFN_DEV|PFN_MAP); in dax_pmem_probe()