Searched refs:pfn_sb (Results 1 – 5 of 5) sorted by relevance
205 struct nd_pfn_sb *pfn_sb = nd_pfn->pfn_sb; in resource_show() local206 u64 offset = __le64_to_cpu(pfn_sb->dataoff); in resource_show()208 u32 start_pad = __le32_to_cpu(pfn_sb->start_pad); in resource_show()231 struct nd_pfn_sb *pfn_sb = nd_pfn->pfn_sb; in size_show() local232 u64 offset = __le64_to_cpu(pfn_sb->dataoff); in size_show()234 u32 start_pad = __le32_to_cpu(pfn_sb->start_pad); in size_show()235 u32 end_trunc = __le32_to_cpu(pfn_sb->end_trunc); in size_show()365 struct nd_pfn_sb *pfn_sb = nd_pfn->pfn_sb; in nd_pfn_clear_memmap_errors() local374 meta_start = (SZ_4K + sizeof(*pfn_sb)) >> 9; in nd_pfn_clear_memmap_errors()375 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()
381 struct nd_pfn_sb *pfn_sb; in pmem_attach_disk() local434 pfn_sb = nd_pfn->pfn_sb; in pmem_attach_disk()435 pmem->data_offset = le64_to_cpu(pfn_sb->dataoff); in pmem_attach_disk()621 struct nd_pfn_sb *pfn_sb = nd_pfn->pfn_sb; in nd_pmem_notify() local625 __le32_to_cpu(pfn_sb->start_pad); in nd_pmem_notify()626 end_trunc = __le32_to_cpu(pfn_sb->end_trunc); in nd_pmem_notify()
208 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()