Home
last modified time | relevance | path

Searched refs:maxolen (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/uts/common/io/ppp/spppcomp/
H A Ddeflate.c87 mblk_t *mp, int slen, int maxolen);
300 z_compress(void *arg, mblk_t **mret, mblk_t *mp, int orig_len, int maxolen) in z_compress() argument
369 if (maxolen > orig_len) { in z_compress()
370 maxolen = orig_len; in z_compress()
373 if (maxolen <= PPP_HDRLEN + 2) { in z_compress()
377 wspace = maxolen + state->hdrlen; in z_compress()
467 wspace = maxolen - olen; in z_compress()
H A Dbsd-comp.c159 mblk_t *mp, int slen, int maxolen);
555 bsd_compress(void *state, mblk_t **mretp, mblk_t *mp, int slen, int maxolen) in bsd_compress() argument
670 if (maxolen > slen) { in bsd_compress()
671 maxolen = slen; in bsd_compress()
673 if (maxolen < 6) in bsd_compress()
674 maxolen = 6; in bsd_compress()
680 for (olen = maxolen; olen > 0; ) { in bsd_compress()
861 if (wptr == NULL || olen + PPP_HDRLEN + BSD_OVHD >= maxolen) { in bsd_compress()