Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/nvdimm/
Dpfn_devs.c204 struct nd_pfn_sb *pfn_sb = nd_pfn->pfn_sb; in resource_show() local
205 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() local
231 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() local
376 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 …]
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.c481 struct nd_pfn_sb *pfn_sb; in pmem_attach_disk() local
534 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() local
725 __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()
Dnd.h474 struct nd_pfn_sb *pfn_sb; member
/linux-6.1.9/drivers/dax/
Dpmem.c15 struct nd_pfn_sb *pfn_sb; in __dax_pmem_probe() local
40 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()