Home
last modified time | relevance | path

Searched refs:pfn_sb (Results 1 – 5 of 5) sorted by relevance

/drivers/nvdimm/
Dpfn_devs.c217 struct nd_pfn_sb *pfn_sb = nd_pfn->pfn_sb; in resource_show() local
218 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() local
244 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() local
362 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 …]
Ddax_devs.c108 struct nd_pfn_sb *pfn_sb; in nd_dax_probe() local
121 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()
Dpmem.c246 struct nd_pfn_sb *pfn_sb; in pmem_attach_disk() local
288 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() local
417 __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()
Dnd.h204 struct nd_pfn_sb *pfn_sb; member
/drivers/dax/
Dpmem.c65 struct nd_pfn_sb *pfn_sb; in dax_pmem_probe() local
88 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()