Lines Matching refs:opt_len
167 static void *bsd_alloc(u_char *options, int opt_len, int decomp);
169 int opt_len,
172 static void *bsd_comp_alloc(u_char *options, int opt_len);
173 static void *bsd_decomp_alloc(u_char *options, int opt_len);
175 static int bsd_comp_init(void *state, u_char *options, int opt_len,
177 static int bsd_decomp_init(void *state, u_char *options, int opt_len,
341 bsd_alloc(options, opt_len, decomp)
343 int opt_len, decomp;
349 if (opt_len < CILEN_BSD_COMPRESS || options[0] != CI_BSD_COMPRESS
421 bsd_comp_alloc(options, opt_len)
423 int opt_len;
425 return bsd_alloc(options, opt_len, 0);
429 bsd_decomp_alloc(options, opt_len)
431 int opt_len;
433 return bsd_alloc(options, opt_len, 1);
440 bsd_init_comp_db(db, options, opt_len, unit, hdrlen, mru, debug, decomp)
443 int opt_len, unit, hdrlen, mru, debug, decomp;
447 if (opt_len < CILEN_BSD_COMPRESS || options[0] != CI_BSD_COMPRESS
479 bsd_comp_init(state, options, opt_len, unit, hdrlen, debug)
482 int opt_len, unit, hdrlen, debug;
484 return bsd_init_comp_db((struct bsd_db *) state, options, opt_len,
489 bsd_decomp_init(state, options, opt_len, unit, hdrlen, mru, debug)
492 int opt_len, unit, hdrlen, mru, debug;
494 return bsd_init_comp_db((struct bsd_db *) state, options, opt_len,