Home
last modified time | relevance | path

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

/drivers/iommu/
Diova.c23 unsigned long limit_pfn);
117 __get_cached_rbnode(struct iova_domain *iovad, unsigned long limit_pfn) in __get_cached_rbnode() argument
119 if (limit_pfn <= iovad->dma_32bit_pfn) in __get_cached_rbnode()
181 unsigned long size, unsigned long limit_pfn, in __alloc_and_insert_iova_range() argument
195 if (limit_pfn <= iovad->dma_32bit_pfn && in __alloc_and_insert_iova_range()
199 curr = __get_cached_rbnode(iovad, limit_pfn); in __alloc_and_insert_iova_range()
202 limit_pfn = min(limit_pfn, curr_iova->pfn_lo); in __alloc_and_insert_iova_range()
203 new_pfn = (limit_pfn - size) & align_mask; in __alloc_and_insert_iova_range()
209 if (limit_pfn < size || new_pfn < iovad->start_pfn) { in __alloc_and_insert_iova_range()
295 unsigned long limit_pfn, in alloc_iova() argument
[all …]