Searched refs:pfn_hi (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/drivers/iommu/
H A Diova.c157 else if (limit_pfn < curr_iova->pfn_hi) __alloc_and_insert_iova_range()
162 if ((curr_iova->pfn_hi + size + pad_size) <= limit_pfn) __alloc_and_insert_iova_range()
183 new->pfn_hi = new->pfn_lo + size - 1; __alloc_and_insert_iova_range()
303 if ((pfn >= iova->pfn_lo) && (pfn <= iova->pfn_hi)) { find_iova()
381 unsigned long pfn_lo, unsigned long pfn_hi) __is_range_overlap()
385 if ((pfn_lo <= iova->pfn_hi) && (pfn_hi >= iova->pfn_lo)) __is_range_overlap()
391 alloc_and_init_iova(unsigned long pfn_lo, unsigned long pfn_hi) alloc_and_init_iova() argument
398 iova->pfn_hi = pfn_hi; alloc_and_init_iova()
406 unsigned long pfn_lo, unsigned long pfn_hi) __insert_new_range()
410 iova = alloc_and_init_iova(pfn_lo, pfn_hi); __insert_new_range()
419 unsigned long *pfn_lo, unsigned long *pfn_hi) __adjust_overlap_range()
423 if (*pfn_hi > iova->pfn_hi) __adjust_overlap_range()
424 *pfn_lo = iova->pfn_hi + 1; __adjust_overlap_range()
431 * @pfn_hi:- higher pfn adderss
432 * This function allocates reserves the address range from pfn_lo to pfn_hi so
437 unsigned long pfn_lo, unsigned long pfn_hi) reserve_iova()
446 if (__is_range_overlap(node, pfn_lo, pfn_hi)) { reserve_iova()
448 __adjust_overlap_range(iova, &pfn_lo, &pfn_hi); reserve_iova()
450 (pfn_hi <= iova->pfn_hi)) reserve_iova()
461 iova = __insert_new_range(iovad, pfn_lo, pfn_hi); reserve_iova()
485 new_iova = reserve_iova(to, iova->pfn_lo, iova->pfn_hi); copy_reserved_iova()
495 unsigned long pfn_lo, unsigned long pfn_hi) split_and_remove_iova()
506 if (iova->pfn_hi > pfn_hi) { split_and_remove_iova()
507 next = alloc_and_init_iova(pfn_hi + 1, iova->pfn_hi); split_and_remove_iova()
521 iova->pfn_hi = pfn_hi; split_and_remove_iova()
380 __is_range_overlap(struct rb_node *node, unsigned long pfn_lo, unsigned long pfn_hi) __is_range_overlap() argument
405 __insert_new_range(struct iova_domain *iovad, unsigned long pfn_lo, unsigned long pfn_hi) __insert_new_range() argument
418 __adjust_overlap_range(struct iova *iova, unsigned long *pfn_lo, unsigned long *pfn_hi) __adjust_overlap_range() argument
436 reserve_iova(struct iova_domain *iovad, unsigned long pfn_lo, unsigned long pfn_hi) reserve_iova() argument
494 split_and_remove_iova(struct iova_domain *iovad, struct iova *iova, unsigned long pfn_lo, unsigned long pfn_hi) split_and_remove_iova() argument
H A Dintel-iommu.c3222 last_pfn = mm_to_dma_pfn(iova->pfn_hi + 1) - 1; intel_unmap()
4093 iova->pfn_hi); intel_iommu_memory_notifier()
4103 start_vpfn = iova->pfn_hi + 1; intel_iommu_memory_notifier()
/linux-4.1.27/include/linux/
H A Diova.h22 unsigned long pfn_hi; /* IOMMU dish out addr hi */ member in struct:iova
38 return iova->pfn_hi - iova->pfn_lo + 1; iova_size()
82 unsigned long pfn_hi);
89 struct iova *iova, unsigned long pfn_lo, unsigned long pfn_hi);

Completed in 166 milliseconds