Lines Matching defs:opt_len
151 static void *bsd_comp_alloc(uchar_t *options, int opt_len);
152 static void *bsd_decomp_alloc(uchar_t *options, int opt_len);
154 static int bsd_comp_init(void *state, uchar_t *options, int opt_len,
156 static int bsd_decomp_init(void *state, uchar_t *options, int opt_len,
347 bsd_alloc(uchar_t *options, int opt_len, int decomp)
357 if (opt_len != 3 ||
457 bsd_comp_alloc(uchar_t *options, int opt_len)
459 return (bsd_alloc(options, opt_len, 0));
466 bsd_decomp_alloc(uchar_t *options, int opt_len)
468 return (bsd_alloc(options, opt_len, 1));
477 bsd_init(struct bsd_db *db, uchar_t *options, int opt_len, int unit,
482 if (db->hsize == 0 || opt_len < CILEN_BSD_COMPRESS ||
526 bsd_comp_init(void *state, uchar_t *options, int opt_len, int unit, int hdrlen,
529 return (bsd_init((struct bsd_db *)state, options, opt_len,
537 bsd_decomp_init(void *state, uchar_t *options, int opt_len, int unit,
540 return (bsd_init((struct bsd_db *)state, options, opt_len,