Home
last modified time | relevance | path

Searched refs:maxbits (Results 1 – 7 of 7) sorted by relevance

/freebsd/usr.bin/compress/
H A Dzopen.c143 #define maxbits zs->zs_maxbits macro
251 maxmaxcode = 1L << maxbits; in zwrite()
255 tmp = (u_char)((maxbits) | block_compress); in zwrite()
283 fcode = (long)(((long)c << maxbits) + ent); in zwrite()
427 if (n_bits == maxbits) in output()
482 maxbits = header[2]; /* Set -b from file. */ in zread()
483 block_compress = maxbits & BLOCK_MASK; in zread()
484 maxbits &= BIT_MASK; in zread()
485 maxmaxcode = 1L << maxbits; in zread()
486 if (maxbits > BITS || maxbits < 12) { in zread()
[all …]
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_format_lha.c2723 int i, maxbits = 0, ptn, tbl_size, w; in lzh_make_huffman_table() local
2735 maxbits = i; in lzh_make_huffman_table()
2738 if (ptn != 0x10000 || maxbits > hf->tbl_bits) in lzh_make_huffman_table()
2741 hf->max_bits = maxbits; in lzh_make_huffman_table()
2748 if (maxbits < 16) { in lzh_make_huffman_table()
2749 int ebits = 16 - maxbits; in lzh_make_huffman_table()
2750 for (i = 1; i <= maxbits; i++) { in lzh_make_huffman_table()
2755 if (maxbits > HTBL_BITS) { in lzh_make_huffman_table()
2759 diffbits = maxbits - HTBL_BITS; in lzh_make_huffman_table()
H A Darchive_read_support_format_cab.c3264 uint8_t maxbits = 0; in lzx_make_huffman_table() local
3303 maxbits = i; in lzx_make_huffman_table()
3332 if (maxbits < 16) { in lzx_make_huffman_table()
3333 uint8_t ebits = 16 - maxbits; in lzx_make_huffman_table()
3334 for (i = 1; i <= maxbits; i++) { in lzx_make_huffman_table()
3341 if (maxbits > hf->tbl_bits) { in lzx_make_huffman_table()
3352 hf->lookup_bits = maxbits; in lzx_make_huffman_table()
3392 if (len > maxbits) in lzx_make_huffman_table()
/freebsd/sys/net/
H A Drss_config.c112 SYSCTL_INT(_net_inet_rss, OID_AUTO, maxbits, CTLFLAG_RD,
/freebsd/usr.bin/compress/doc/
H A Drevision.log74 * Add check for foreground before prompting user. Insert maxbits into
/freebsd/sys/dev/netmap/
H A Dnetmap.c2286 uint64_t mask = 0, bits = 0, maxbits = sizeof(uint64_t) * 8, in netmap_offsets_init() local
2311 if (bits > maxbits) { in netmap_offsets_init()
2315 (unsigned long long)maxbits); in netmap_offsets_init()
2320 if (bits == 0 || bits == maxbits) { in netmap_offsets_init()
2322 bits = maxbits; in netmap_offsets_init()
/freebsd/sys/dev/cxgbe/common/
H A Dt4_hw.c14434 const int maxbits = adap->chip_params->filter_opt_len; in t4_set_filter_cfg() local
14446 if (nbits > maxbits) { in t4_set_filter_cfg()
14450 "try again.\n", fmode, nbits, maxbits); in t4_set_filter_cfg()
14463 if (nbits + width <= maxbits) { in t4_set_filter_cfg()
14466 if (nbits == maxbits) in t4_set_filter_cfg()