Home | History | Annotate | Download | only in bio

Lines Matching defs:rest

358   size_t rest;
391 rest = bio_zero_copy_get_write_buf(b, &dummy_write_buf, &dummy_write_offset);
393 if (bytes_written > rest) {
407 size_t rest;
451 rest = size;
453 assert(rest > 0);
458 assert(rest <= peer_b->len);
459 if (peer_b->offset + rest <= peer_b->size) {
460 chunk = rest;
482 assert(chunk == rest);
485 rest -= chunk;
486 } while (rest);
493 size_t rest;
531 rest = num;
533 assert(rest > 0);
539 assert(b->len + rest <= b->size);
547 if (write_offset + rest <= b->size) {
548 chunk = rest;
560 rest -= chunk;
562 } while (rest);