Searched refs:dict_size (Results 1 – 2 of 2) sorted by relevance
35 int dict_size; member58 opts->dict_size = le32_to_cpu(comp_opts->dictionary_size); in squashfs_xz_comp_opts()61 n = ffs(opts->dict_size) - 1; in squashfs_xz_comp_opts()62 if (opts->dict_size != (1 << n) && opts->dict_size != (1 << n) + in squashfs_xz_comp_opts()69 opts->dict_size = max_t(int, msblk->block_size, in squashfs_xz_comp_opts()93 stream->state = xz_dec_init(XZ_PREALLOC, comp_opts->dict_size); in squashfs_xz_init()
223 uint32_t dict_size; member303 while (offs > wr->header->dict_size) in peek_old_byte()304 offs -= wr->header->dict_size; in peek_old_byte()309 while (pos >= wr->header->dict_size) in peek_old_byte()310 pos += wr->header->dict_size; in peek_old_byte()319 if (wr->flush && wr->buffer_pos == wr->header->dict_size) { in write_byte()321 wr->global_pos += wr->header->dict_size; in write_byte()322 if (wr->flush((char *)wr->buffer, wr->header->dict_size) in write_byte()323 != wr->header->dict_size) in write_byte()525 if (cst->rep0 > wr->header->dict_size in process_bit1()[all …]