Lines Matching refs:remaining
95 for the remaining non wired pages.
239 IOByteCount remaining;
241 remaining = length = min(length, md->getLength() - offset);
242 while (remaining) { // (process another target segment?)
250 // Clip segment length to remaining
251 if (dstLen > remaining)
252 dstLen = remaining;
262 remaining -= dstLen;
265 assert(!remaining);
267 return remaining ? kIOReturnUnderrun : kIOReturnSuccess;
277 IOByteCount remaining;
279 remaining = length = min(length, md->getLength() - offset);
280 while (remaining) { // (process another target segment?)
288 // Clip segment length to remaining
289 if (dstLen > remaining)
290 dstLen = remaining;
300 remaining -= dstLen;
303 assert(!remaining);
305 return remaining ? kIOReturnUnderrun : kIOReturnSuccess;