Lines Matching refs:opt_len
133 static void *bsd_comp_alloc(u_char *options, int opt_len);
134 static void *bsd_decomp_alloc(u_char *options, int opt_len);
136 static int bsd_comp_init(void *state, u_char *options, int opt_len,
138 static int bsd_decomp_init(void *state, u_char *options, int opt_len,
303 bsd_alloc(u_char *options, int opt_len, int decomp)
309 if (opt_len < CILEN_BSD_COMPRESS || options[0] != CI_BSD_COMPRESS
379 bsd_comp_alloc(u_char *options, int opt_len)
381 return bsd_alloc(options, opt_len, 0);
385 bsd_decomp_alloc(u_char *options, int opt_len)
387 return bsd_alloc(options, opt_len, 1);
394 bsd_init(struct bsd_db *db, u_char *options, int opt_len, int unit, int hdrlen,
399 if (opt_len < CILEN_BSD_COMPRESS || options[0] != CI_BSD_COMPRESS
431 bsd_comp_init(void *state, u_char *options, int opt_len, int unit, int hdrlen,
434 return bsd_init((struct bsd_db *) state, options, opt_len,
439 bsd_decomp_init(void *state, u_char *options, int opt_len, int unit, int hdrlen,
442 return bsd_init((struct bsd_db *) state, options, opt_len,