Lines Matching refs:gather
396 static inline void iommu_iotlb_gather_init(struct iommu_iotlb_gather *gather) in iommu_iotlb_gather_init() argument
398 *gather = (struct iommu_iotlb_gather) { in iommu_iotlb_gather_init()
515 struct iommu_iotlb_gather *gather, in iommu_iotlb_gather_add_page() argument
525 if (gather->pgsize != size || in iommu_iotlb_gather_add_page()
526 end < gather->start || start > gather->end) { in iommu_iotlb_gather_add_page()
527 if (gather->pgsize) in iommu_iotlb_gather_add_page()
528 iommu_tlb_sync(domain, gather); in iommu_iotlb_gather_add_page()
529 gather->pgsize = size; in iommu_iotlb_gather_add_page()
532 if (gather->end < end) in iommu_iotlb_gather_add_page()
533 gather->end = end; in iommu_iotlb_gather_add_page()
535 if (gather->start > start) in iommu_iotlb_gather_add_page()
536 gather->start = start; in iommu_iotlb_gather_add_page()
888 static inline void iommu_iotlb_gather_init(struct iommu_iotlb_gather *gather) in iommu_iotlb_gather_init() argument
893 struct iommu_iotlb_gather *gather, in iommu_iotlb_gather_add_page() argument