Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/nvdimm/
Dpfn_devs.c205 struct nd_pfn_sb *pfn_sb = nd_pfn->pfn_sb; in resource_show() local
206 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() local
232 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() local
374 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 …]
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.c381 struct nd_pfn_sb *pfn_sb; in pmem_attach_disk() local
434 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() local
625 __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()
Dnd.h208 struct nd_pfn_sb *pfn_sb; member
/Linux-v5.10/drivers/dax/pmem/
Dcore.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()