Home
last modified time | relevance | path

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

/drivers/nvdimm/
A Dpfn_devs.c710 nd_pfn->npfns = le64_to_cpu(pfn_sb->npfns); in __nvdimm_setup_pfn()
712 nd_pfn->npfns = PHYS_PFN((range_len(range) - offset)); in __nvdimm_setup_pfn()
713 if (le64_to_cpu(nd_pfn->pfn_sb->npfns) > nd_pfn->npfns) in __nvdimm_setup_pfn()
716 le64_to_cpu(nd_pfn->pfn_sb->npfns), in __nvdimm_setup_pfn()
717 nd_pfn->npfns); in __nvdimm_setup_pfn()
734 unsigned long npfns, align; in nd_pfn_init() local
771 npfns = PHYS_PFN(size - SZ_8K); in nd_pfn_init()
787 unsigned long page_map_size = MAX_STRUCT_PAGE_SIZE * npfns; in nd_pfn_init()
806 page_map_size = sizeof(struct page) * npfns; in nd_pfn_init()
826 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
/drivers/iommu/iommufd/
A Dpages.c270 u32 *npfns; member
281 batch->npfns[0] = 0; in batch_clear()
300 batch->npfns[0] = keep_pfns; in batch_clear_carry()
312 batch->npfns[0] -= skip_pfns; in batch_skip_carry()
358 batch->npfns[end - 1] += nr; in batch_add_pfn_num()
361 batch->npfns[end] = nr; in batch_add_pfn_num()
373 batch->npfns[batch->end - 1] -= nr; in batch_remove_pfn_num()
374 if (batch->npfns[batch->end - 1] == 0) in batch_remove_pfn_num()
683 first_page_off -= batch->npfns[cur]; in batch_unpin()
734 if (npage == batch->npfns[cur]) { in batch_rw()
[all …]

Completed in 18 milliseconds