Lines Matching refs:start
386 * Elements are sorted by start address and overlapping segments
394 nr = iommu_alloc_resv_region(new->start, new->length, new->prot, new->type);
399 /* First add the new element based on start address sorting */
402 if (nr->start < iter->start || (nr->start == iter->start && nr->type <= iter->type)) {
411 phys_addr_t top_end, iter_end = iter->start + iter->length - 1;
426 top_end = top->start + top->length - 1;
428 if (iter->start > top_end + 1) {
431 top->length = max(top_end, iter_end) - top->start + 1;
489 str += sprintf(str, "0x%016llx 0x%016llx %s\n", (long long int)region->start,
490 (long long int)(region->start + region->length - 1), iommu_group_resv_type_string[region->type]);
745 dma_addr_t start, end, addr;
751 start = ALIGN(entry->start, pg_size);
752 end = ALIGN(entry->start + entry->length, pg_size);
758 for (addr = start; addr < end; addr += pg_size) {
2641 phys_addr_t start;
2661 if (len && s_phys != start + len) {
2662 ret = iommu_map_ext(domain, iova + mapped, start, len, prot, gfp);
2675 start = s_phys;
2866 struct iommu_resv_region *iommu_alloc_resv_region(phys_addr_t start, size_t length, int prot, enum iommu_resv_type type)
2876 region->start = start;