Lines Matching refs:rest
190 size_t rest;
233 rest = size;
235 assert(rest > 0);
240 assert(rest <= peer_b->len);
241 if (peer_b->offset + rest <= peer_b->size)
242 chunk = rest;
262 assert(chunk == rest);
265 rest -= chunk;
267 while (rest);
355 size_t rest;
390 rest = num;
392 assert(rest > 0);
398 assert(b->len + rest <= b->size);
405 if (write_offset + rest <= b->size)
406 chunk = rest;
417 rest -= chunk;
420 while (rest);