Lines Matching refs:dfltcc_state
18 struct dfltcc_state *dfltcc_state = GET_DFLTCC_STATE(state); in dfltcc_can_deflate() local
27 dfltcc_state->level_mask)) in dfltcc_can_deflate()
31 if (!is_bit_set(dfltcc_state->af.fns, DFLTCC_GDHT) || in dfltcc_can_deflate()
32 !is_bit_set(dfltcc_state->af.fns, DFLTCC_CMPR) || in dfltcc_can_deflate()
33 !is_bit_set(dfltcc_state->af.fmts, DFLTCC_FMT0)) in dfltcc_can_deflate()
107 struct dfltcc_state *dfltcc_state = GET_DFLTCC_STATE(state); in dfltcc_deflate() local
108 struct dfltcc_param_v0 *param = &dfltcc_state->param; in dfltcc_deflate()
149 strm->total_in > dfltcc_state->block_threshold && in dfltcc_deflate()
150 strm->avail_in >= dfltcc_state->dht_threshold) { in dfltcc_deflate()
164 dfltcc_state->block_threshold = in dfltcc_deflate()
165 strm->total_in + dfltcc_state->block_size; in dfltcc_deflate()
177 if (no_flush && strm->avail_in > dfltcc_state->block_size) { in dfltcc_deflate()
178 masked_avail_in += (strm->avail_in - dfltcc_state->block_size); in dfltcc_deflate()
179 strm->avail_in = dfltcc_state->block_size; in dfltcc_deflate()
213 if (strm->total_in == 0 && dfltcc_state->block_threshold > 0) { in dfltcc_deflate()
235 strm->msg = oesc_msg(dfltcc_state->msg, param->oesc); in dfltcc_deflate()
257 dfltcc_state->block_threshold = in dfltcc_deflate()
258 strm->total_in + dfltcc_state->block_size; in dfltcc_deflate()