Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/nvdimm/
Dpfn_devs.c206 struct nd_pfn_sb *pfn_sb = nd_pfn->pfn_sb; in resource_show() local
207 u64 offset = __le64_to_cpu(pfn_sb->dataoff); in resource_show()
209 u32 start_pad = __le32_to_cpu(pfn_sb->start_pad); in resource_show()
232 struct nd_pfn_sb *pfn_sb = nd_pfn->pfn_sb; in size_show() local
233 u64 offset = __le64_to_cpu(pfn_sb->dataoff); in size_show()
235 u32 start_pad = __le32_to_cpu(pfn_sb->start_pad); in size_show()
236 u32 end_trunc = __le32_to_cpu(pfn_sb->end_trunc); in size_show()
369 struct nd_pfn_sb *pfn_sb = nd_pfn->pfn_sb; in nd_pfn_clear_memmap_errors() local
378 meta_start = (SZ_4K + sizeof(*pfn_sb)) >> 9; in nd_pfn_clear_memmap_errors()
379 meta_num = (le64_to_cpu(pfn_sb->dataoff) >> 9) - meta_start; in nd_pfn_clear_memmap_errors()
[all …]
Ddax_devs.c93 struct nd_pfn_sb *pfn_sb; in nd_dax_probe() local
114 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()
Dpmem.c466 struct nd_pfn_sb *pfn_sb; in pmem_attach_disk() local
521 pfn_sb = nd_pfn->pfn_sb; in pmem_attach_disk()
522 pmem->data_offset = le64_to_cpu(pfn_sb->dataoff); in pmem_attach_disk()
701 struct nd_pfn_sb *pfn_sb = nd_pfn->pfn_sb; in pmem_revalidate_poison() local
705 __le32_to_cpu(pfn_sb->start_pad); in pmem_revalidate_poison()
706 end_trunc = __le32_to_cpu(pfn_sb->end_trunc); in pmem_revalidate_poison()
Dnd.h474 struct nd_pfn_sb *pfn_sb; member
/linux-6.12.1/drivers/dax/
Dpmem.c15 struct nd_pfn_sb *pfn_sb; in __dax_pmem_probe() local
39 pfn_sb = nd_pfn->pfn_sb; in __dax_pmem_probe()
40 offset = le64_to_cpu(pfn_sb->dataoff); in __dax_pmem_probe()
56 nd_region->target_node, le32_to_cpu(pfn_sb->align), in __dax_pmem_probe()