• Home
  • Raw
  • Download

Lines Matching refs:options

169 static void	*bsd_alloc(unsigned char *options, int opt_len, int decomp);
170 static void *bsd_comp_alloc (unsigned char *options, int opt_len);
171 static void *bsd_decomp_alloc (unsigned char *options, int opt_len);
173 static int bsd_init (void *db, unsigned char *options,
175 static int bsd_comp_init (void *state, unsigned char *options,
177 static int bsd_decomp_init (void *state, unsigned char *options,
352 static void *bsd_alloc (unsigned char *options, int opt_len, int decomp) in bsd_alloc() argument
358 if (opt_len != 3 || options[0] != CI_BSD_COMPRESS || options[1] != 3 in bsd_alloc()
359 || BSD_VERSION(options[2]) != BSD_CURRENT_VERSION) in bsd_alloc()
364 bits = BSD_NBITS(options[2]); in bsd_alloc()
449 static void *bsd_comp_alloc (unsigned char *options, int opt_len) in bsd_comp_alloc() argument
451 return bsd_alloc (options, opt_len, 0); in bsd_comp_alloc()
454 static void *bsd_decomp_alloc (unsigned char *options, int opt_len) in bsd_decomp_alloc() argument
456 return bsd_alloc (options, opt_len, 1); in bsd_decomp_alloc()
463 static int bsd_init (void *state, unsigned char *options, in bsd_init() argument
469 if ((opt_len != 3) || (options[0] != CI_BSD_COMPRESS) || (options[1] != 3) in bsd_init()
470 || (BSD_VERSION(options[2]) != BSD_CURRENT_VERSION) in bsd_init()
471 || (BSD_NBITS(options[2]) != db->maxbits) in bsd_init()
506 static int bsd_comp_init (void *state, unsigned char *options, in bsd_comp_init() argument
509 return bsd_init (state, options, opt_len, unit, debug, 0); in bsd_comp_init()
512 static int bsd_decomp_init (void *state, unsigned char *options, in bsd_decomp_init() argument
516 return bsd_init (state, options, opt_len, unit, debug, 1); in bsd_decomp_init()