Lines Matching defs:remaining
95 for the remaining non wired pages.
249 IOByteCount remaining;
251 remaining = length = min(length, md->getLength() - offset);
252 while (remaining) { // (process another target segment?)
260 // Clip segment length to remaining
261 if (dstLen > remaining)
262 dstLen = remaining;
272 remaining -= dstLen;
275 assert(!remaining);
277 return remaining ? kIOReturnUnderrun : kIOReturnSuccess;
287 IOByteCount remaining;
289 remaining = length = min(length, md->getLength() - offset);
290 while (remaining) { // (process another target segment?)
298 // Clip segment length to remaining
299 if (dstLen > remaining)
300 dstLen = remaining;
310 remaining -= dstLen;
313 assert(!remaining);
315 return remaining ? kIOReturnUnderrun : kIOReturnSuccess;