Searched refs:npfns (Results 1 – 4 of 4) sorted by relevance
700 nd_pfn->npfns = le64_to_cpu(pfn_sb->npfns); in __nvdimm_setup_pfn()702 nd_pfn->npfns = PHYS_PFN((range_len(range) - offset)); in __nvdimm_setup_pfn()703 if (le64_to_cpu(nd_pfn->pfn_sb->npfns) > nd_pfn->npfns) in __nvdimm_setup_pfn()706 le64_to_cpu(nd_pfn->pfn_sb->npfns), in __nvdimm_setup_pfn()707 nd_pfn->npfns); in __nvdimm_setup_pfn()724 unsigned long npfns, align; in nd_pfn_init() local767 npfns = PHYS_PFN(size - SZ_8K); in nd_pfn_init()795 offset = ALIGN(start + SZ_8K + MAX_STRUCT_PAGE_SIZE * npfns, align) in nd_pfn_init()808 npfns = PHYS_PFN(size - offset - end_trunc); in nd_pfn_init()811 pfn_sb->npfns = cpu_to_le64(npfns); in nd_pfn_init()
24 __le64 npfns; member
206 unsigned long npfns; member
64 size_t ndmas, npfns; in ib_init_umem_odp() local79 npfns = (end - start) >> PAGE_SHIFT; in ib_init_umem_odp()81 npfns, sizeof(*umem_odp->pfn_list), GFP_KERNEL); in ib_init_umem_odp()