Lines Matching defs:end
83 range->end = start;
88 range->allocations = (IOPCIRange *) &range->end;
96 range->end = range->start + range->size;
108 IOPCIScalar end;
112 end = start + size;
115 if (((start >= range->start) && (start < range->end))
116 || ((end > range->start) && (end <= range->end))
117 || ((start < range->start) && (end > range->end)))
123 if (end == range->start)
126 range->size = range->end - range->start;
131 if (start == range->end)
133 if ((nextRange = range->next) && (nextRange->start == end))
135 if (nextRange->allocations != (IOPCIRange *) &nextRange->end)
137 end = nextRange->end;
141 range->end = end;
142 range->size = end - range->start;
147 if (range->start > end)
180 IOPCIScalar start, end, saving;
184 end = 0;
194 end = range->end;
200 end = IOPCIScalarAlign(end, alignment);
206 headRange->end = end;
208 headRange->proposedSize = end - start;
247 last = range->end;
253 if (headRange->end > last)
254 last = headRange->end - last;
266 IOPCIScalar next, end;
278 assert(range->start >= prev->end);
279 free += (range->start - prev->end);
294 end = headRange->end;
295 for (range = prev; free && range; end = range->start, range = range->nextToAllocate)
308 next = range->end;
309 if (end < next) panic("end");
310 tail = IOPCIScalarTrunc(end - next, range->alignment);
316 range->end += bump;
323 range->end = end;
324 range->start = range->end - range->size;
327 if (range->start > headRange->end) panic("s>");
329 if (range->end > headRange->end) panic("e>");
330 if (range->end < headRange->start) panic("e<");
381 // end of list
385 pos = range->end;
444 newRange->end = pos + len;
504 oldRange->end = 0;
523 kprintf("head.end 0x%llx\n", head->end);
531 if (range == (IOPCIRange *) &head->end)
533 kprintf("[end]\n");
538 kprintf("[%d].end 0x%llx\n", idx, range->end);
798 printf("[%ld].end 0x%llx\n", idx, range->end);