Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/nvdimm/
Dpfn_devs.c700 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() local
767 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()
Dpfn.h24 __le64 npfns; member
Dnd.h206 unsigned long npfns; member
/Linux-v5.10/drivers/infiniband/core/
Dumem_odp.c64 size_t ndmas, npfns; in ib_init_umem_odp() local
79 npfns = (end - start) >> PAGE_SHIFT; in ib_init_umem_odp()
81 npfns, sizeof(*umem_odp->pfn_list), GFP_KERNEL); in ib_init_umem_odp()