Lines Matching refs:ULONG_MAX
119 if (length == 0 || length >= ULONG_MAX / 2) in iopt_alloc_iova()
137 PAGE_SIZE, ULONG_MAX - PAGE_SIZE) { in iopt_alloc_iova()
140 allowed_span.last_used = ULONG_MAX - PAGE_SIZE; in iopt_alloc_iova()
575 rc = iopt_unmap_iova_range(iopt, 0, ULONG_MAX, unmapped); in iopt_unmap_all()
591 for (allowed = iopt_allowed_iter_first(iopt, 0, ULONG_MAX); allowed; in iopt_set_allow_iova()
592 allowed = iopt_allowed_iter_next(allowed, 0, ULONG_MAX)) { in iopt_set_allow_iova()
631 for (reserved = iopt_reserved_iter_first(iopt, 0, ULONG_MAX); reserved; in __iopt_remove_reserved_iova()
633 next = iopt_reserved_iter_next(reserved, 0, ULONG_MAX); in __iopt_remove_reserved_iova()
676 ULONG_MAX))) { in iopt_destroy_table()
713 for (area = iopt_area_iter_first(iopt, 0, ULONG_MAX); area; in iopt_unfill_domain()
714 area = iopt_area_iter_next(area, 0, ULONG_MAX)) { in iopt_unfill_domain()
732 for (area = iopt_area_iter_first(iopt, 0, ULONG_MAX); area; in iopt_unfill_domain()
733 area = iopt_area_iter_next(area, 0, ULONG_MAX)) { in iopt_unfill_domain()
766 for (area = iopt_area_iter_first(iopt, 0, ULONG_MAX); area; in iopt_fill_domain()
767 area = iopt_area_iter_next(area, 0, ULONG_MAX)) { in iopt_fill_domain()
791 for (area = iopt_area_iter_first(iopt, 0, ULONG_MAX); area; in iopt_fill_domain()
792 area = iopt_area_iter_next(area, 0, ULONG_MAX)) { in iopt_fill_domain()
821 for (area = iopt_area_iter_first(iopt, 0, ULONG_MAX); area; in iopt_check_iova_alignment()
822 area = iopt_area_iter_next(area, 0, ULONG_MAX)) in iopt_check_iova_alignment()
887 if (geometry->aperture_end != ULONG_MAX) { in iopt_table_add_domain()
889 ULONG_MAX, domain); in iopt_table_add_domain()