Lines Matching refs:options
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)
358 options[0] != CI_BSD_COMPRESS ||
359 options[1] != 3 ||
360 BSD_VERSION(options[2]) != BSD_CURRENT_VERSION) {
365 bits = BSD_NBITS(options[2]);
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,
483 options[0] != CI_BSD_COMPRESS ||
484 options[1] != CILEN_BSD_COMPRESS ||
485 BSD_VERSION(options[2]) != BSD_CURRENT_VERSION ||
486 BSD_NBITS(options[2]) != db->maxbits ||
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,