Lines Matching refs:gather
402 static inline void iommu_iotlb_gather_init(struct iommu_iotlb_gather *gather) in iommu_iotlb_gather_init() argument
404 *gather = (struct iommu_iotlb_gather) { in iommu_iotlb_gather_init()
536 struct iommu_iotlb_gather *gather, in iommu_iotlb_gather_add_page() argument
546 if (gather->pgsize != size || in iommu_iotlb_gather_add_page()
547 end < gather->start || start > gather->end) { in iommu_iotlb_gather_add_page()
548 if (gather->pgsize) in iommu_iotlb_gather_add_page()
549 iommu_iotlb_sync(domain, gather); in iommu_iotlb_gather_add_page()
550 gather->pgsize = size; in iommu_iotlb_gather_add_page()
553 if (gather->end < end) in iommu_iotlb_gather_add_page()
554 gather->end = end; in iommu_iotlb_gather_add_page()
556 if (gather->start > start) in iommu_iotlb_gather_add_page()
557 gather->start = start; in iommu_iotlb_gather_add_page()
924 static inline void iommu_iotlb_gather_init(struct iommu_iotlb_gather *gather) in iommu_iotlb_gather_init() argument
929 struct iommu_iotlb_gather *gather, in iommu_iotlb_gather_add_page() argument