Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/nvdimm/
A Dpfn_devs.c704 nd_pfn->npfns = le64_to_cpu(pfn_sb->npfns); in __nvdimm_setup_pfn()
706 nd_pfn->npfns = PHYS_PFN((range_len(range) - offset)); in __nvdimm_setup_pfn()
707 if (le64_to_cpu(nd_pfn->pfn_sb->npfns) > nd_pfn->npfns) in __nvdimm_setup_pfn()
710 le64_to_cpu(nd_pfn->pfn_sb->npfns), in __nvdimm_setup_pfn()
711 nd_pfn->npfns); in __nvdimm_setup_pfn()
728 unsigned long npfns, align; in nd_pfn_init() local
765 npfns = PHYS_PFN(size - SZ_8K); in nd_pfn_init()
781 unsigned long page_map_size = MAX_STRUCT_PAGE_SIZE * npfns; in nd_pfn_init()
800 page_map_size = sizeof(struct page) * npfns; in nd_pfn_init()
819 npfns = PHYS_PFN(size - offset - end_trunc); in nd_pfn_init()
[all …]
A Dpfn.h24 __le64 npfns; member
A Dnd.h472 unsigned long npfns; member
/linux-6.3-rc2/drivers/iommu/iommufd/
A Dpages.c269 u32 *npfns; member
280 batch->npfns[0] = 0; in batch_clear()
297 batch->npfns[0] = keep_pfns; in batch_clear_carry()
311 batch->npfns[0] -= skip_pfns; in batch_skip_carry()
357 batch->npfns[batch->end - 1]++; in batch_add_pfn()
365 batch->npfns[batch->end] = 1; in batch_add_pfn()
631 if (batch->npfns[cur] > first_page_off) in batch_unpin()
633 first_page_off -= batch->npfns[cur]; in batch_unpin()
639 batch->npfns[cur] - first_page_off); in batch_unpin()
684 if (npage == batch->npfns[cur]) { in batch_rw()
[all …]
/linux-6.3-rc2/drivers/infiniband/core/
A Dumem_odp.c62 size_t ndmas, npfns; in ib_init_umem_odp() local
77 npfns = (end - start) >> PAGE_SHIFT; in ib_init_umem_odp()
79 npfns, sizeof(*umem_odp->pfn_list), GFP_KERNEL); in ib_init_umem_odp()

Completed in 19 milliseconds