Lines Matching refs:gather
429 static inline void iommu_iotlb_gather_init(struct iommu_iotlb_gather *gather) in iommu_iotlb_gather_init() argument
431 *gather = (struct iommu_iotlb_gather) { in iommu_iotlb_gather_init()
563 struct iommu_iotlb_gather *gather, in iommu_iotlb_gather_add_page() argument
573 if (gather->pgsize != size || in iommu_iotlb_gather_add_page()
574 end + 1 < gather->start || start > gather->end + 1) { in iommu_iotlb_gather_add_page()
575 if (gather->pgsize) in iommu_iotlb_gather_add_page()
576 iommu_iotlb_sync(domain, gather); in iommu_iotlb_gather_add_page()
577 gather->pgsize = size; in iommu_iotlb_gather_add_page()
580 if (gather->end < end) in iommu_iotlb_gather_add_page()
581 gather->end = end; in iommu_iotlb_gather_add_page()
583 if (gather->start > start) in iommu_iotlb_gather_add_page()
584 gather->start = start; in iommu_iotlb_gather_add_page()
954 static inline void iommu_iotlb_gather_init(struct iommu_iotlb_gather *gather) in iommu_iotlb_gather_init() argument
959 struct iommu_iotlb_gather *gather, in iommu_iotlb_gather_add_page() argument