Home
last modified time | relevance | path

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

/drivers/iommu/
Dintel-iommu.c2231 unsigned long lvl_pages = 0; in __domain_mapping() local
2269 lvl_pages = lvl_to_nr_pages(largepage_lvl); in __domain_mapping()
2271 nr_superpages = sg_res / lvl_pages; in __domain_mapping()
2272 end_pfn = iov_pfn + nr_superpages * lvl_pages - 1; in __domain_mapping()
2302 lvl_pages = lvl_to_nr_pages(largepage_lvl); in __domain_mapping()
2304 BUG_ON(nr_pages < lvl_pages); in __domain_mapping()
2305 BUG_ON(sg_res < lvl_pages); in __domain_mapping()
2307 nr_pages -= lvl_pages; in __domain_mapping()
2308 iov_pfn += lvl_pages; in __domain_mapping()
2309 phys_pfn += lvl_pages; in __domain_mapping()
[all …]