Searched refs:pfn_sb (Results 1 – 5 of 5) sorted by relevance
204 struct nd_pfn_sb *pfn_sb = nd_pfn->pfn_sb; in resource_show() local205 u64 offset = __le64_to_cpu(pfn_sb->dataoff); in resource_show()207 u32 start_pad = __le32_to_cpu(pfn_sb->start_pad); in resource_show()230 struct nd_pfn_sb *pfn_sb = nd_pfn->pfn_sb; in size_show() local231 u64 offset = __le64_to_cpu(pfn_sb->dataoff); in size_show()233 u32 start_pad = __le32_to_cpu(pfn_sb->start_pad); in size_show()234 u32 end_trunc = __le32_to_cpu(pfn_sb->end_trunc); in size_show()367 struct nd_pfn_sb *pfn_sb = nd_pfn->pfn_sb; in nd_pfn_clear_memmap_errors() local376 meta_start = (SZ_4K + sizeof(*pfn_sb)) >> 9; in nd_pfn_clear_memmap_errors()377 meta_num = (le64_to_cpu(pfn_sb->dataoff) >> 9) - meta_start; in nd_pfn_clear_memmap_errors()[all …]
93 struct nd_pfn_sb *pfn_sb; in nd_dax_probe() local114 pfn_sb = devm_kmalloc(dev, sizeof(*pfn_sb), GFP_KERNEL); in nd_dax_probe()115 nd_pfn->pfn_sb = pfn_sb; in nd_dax_probe()
481 struct nd_pfn_sb *pfn_sb; in pmem_attach_disk() local534 pfn_sb = nd_pfn->pfn_sb; in pmem_attach_disk()535 pmem->data_offset = le64_to_cpu(pfn_sb->dataoff); in pmem_attach_disk()721 struct nd_pfn_sb *pfn_sb = nd_pfn->pfn_sb; in pmem_revalidate_poison() local725 __le32_to_cpu(pfn_sb->start_pad); in pmem_revalidate_poison()726 end_trunc = __le32_to_cpu(pfn_sb->end_trunc); in pmem_revalidate_poison()
474 struct nd_pfn_sb *pfn_sb; member
15 struct nd_pfn_sb *pfn_sb; in __dax_pmem_probe() local40 pfn_sb = nd_pfn->pfn_sb; in __dax_pmem_probe()41 offset = le64_to_cpu(pfn_sb->dataoff); in __dax_pmem_probe()57 nd_region->target_node, le32_to_cpu(pfn_sb->align), in __dax_pmem_probe()