Home
last modified time | relevance | path

Searched refs:npfns (Results 1 – 3 of 3) sorted by relevance

/drivers/nvdimm/
Dpfn_devs.c547 nd_pfn->npfns = le64_to_cpu(pfn_sb->npfns); in __nvdimm_setup_pfn()
550 nd_pfn->npfns = PFN_SECTION_ALIGN_UP((resource_size(res) in __nvdimm_setup_pfn()
552 if (le64_to_cpu(nd_pfn->pfn_sb->npfns) > nd_pfn->npfns) in __nvdimm_setup_pfn()
555 le64_to_cpu(nd_pfn->pfn_sb->npfns), in __nvdimm_setup_pfn()
556 nd_pfn->npfns); in __nvdimm_setup_pfn()
581 unsigned long npfns; in nd_pfn_init() local
647 npfns = PFN_SECTION_ALIGN_UP((size - start_pad - end_trunc - SZ_8K) in nd_pfn_init()
654 offset = ALIGN(start + SZ_8K + 64 * npfns + dax_label_reserve, in nd_pfn_init()
668 npfns = (size - offset - start_pad - end_trunc) / SZ_4K; in nd_pfn_init()
671 pfn_sb->npfns = cpu_to_le64(npfns); in nd_pfn_init()
Dpfn.h32 __le64 npfns; member
Dnd.h202 unsigned long npfns; member