Lines Matching refs:bytes_to_read
3360 s->bytes_to_read = s->params.bytes_per_line * s->params.lines;
3365 s->x_resolution, s->y_resolution, (u_long) s->bytes_to_read);
3481 if (s->bytes_to_read == 0)
3496 remaining_rows = (s->bytes_to_read + s->params.bytes_per_line - 1) / s->params.bytes_per_line;
3513 if (s->bytes_to_read - bytes_read <= s->params.bytes_per_line * max_read_rows)
3515 nread = s->bytes_to_read - bytes_read;
3548 if (nread > (s->bytes_to_read - bytes_read))
3550 nread = s->bytes_to_read - bytes_read;
3556 DBG (50, "bytes_to_read = %lu, max_len = %d, max_rows = %lu\n",
3557 (u_long) s->bytes_to_read, max_len, (u_long) max_ret_rows);
3651 s->bytes_to_read -= bytes_read;
3654 (u_long) * len, (u_long) s->bytes_to_read);
3656 if ((s->bytes_to_read == 0) &&