Lines Matching refs:wspace
306 int wspace;
374 wspace = 0;
377 wspace = maxolen + state->hdrlen;
378 if (wspace > 4096) {
379 wspace = 4096;
382 m = allocb(wspace, BPRI_MED);
387 wspace = m->b_datap->db_lim - m->b_wptr;
391 if (state->hdrlen + PPP_HDRLEN + 2 < wspace) {
394 wspace -= state->hdrlen;
424 state->strm.avail_out = wspace - (PPP_HDRLEN + 2);
465 m->b_wptr += wspace;
466 olen += wspace;
467 wspace = maxolen - olen;
469 if (wspace <= 0) {
470 wspace = 0;
473 if (wspace < 32) {
474 wspace = 32;
475 } else if (wspace > 4096) {
476 wspace = 4096;
479 m->b_cont = allocb(wspace, BPRI_MED);
486 wspace = m->b_datap->db_lim -
488 state->strm.avail_out = wspace;
500 m->b_wptr += wspace - state->strm.avail_out;
501 olen += wspace - state->strm.avail_out;