Searched refs:dfltcc_state (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/lib/zlib_dfltcc/ |
D | dfltcc.c | 31 struct dfltcc_state *dfltcc_state = in dfltcc_reset() local 32 (struct dfltcc_state *)((char *)strm->state + size); in dfltcc_reset() 34 (struct dfltcc_qaf_param *)&dfltcc_state->param; in dfltcc_reset() 39 memmove(&dfltcc_state->af, param, sizeof(dfltcc_state->af)); in dfltcc_reset() 41 memset(&dfltcc_state->af, 0, sizeof(dfltcc_state->af)); in dfltcc_reset() 44 memset(&dfltcc_state->param, 0, sizeof(dfltcc_state->param)); in dfltcc_reset() 45 dfltcc_state->param.nt = 1; in dfltcc_reset() 49 dfltcc_state->level_mask = DFLTCC_LEVEL_MASK_DEBUG; in dfltcc_reset() 51 dfltcc_state->level_mask = DFLTCC_LEVEL_MASK; in dfltcc_reset() 52 dfltcc_state->block_size = DFLTCC_BLOCK_SIZE; in dfltcc_reset() [all …]
|
D | dfltcc_deflate.c | 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() [all …]
|
D | dfltcc_inflate.c | 18 struct dfltcc_state *dfltcc_state = GET_DFLTCC_STATE(state); in dfltcc_can_inflate() local 30 return is_bit_set(dfltcc_state->af.fns, DFLTCC_XPND) && in dfltcc_can_inflate() 31 is_bit_set(dfltcc_state->af.fmts, DFLTCC_FMT0); in dfltcc_can_inflate() 50 struct dfltcc_state *dfltcc_state = GET_DFLTCC_STATE(state); in dfltcc_inflate_disable() local 61 memset(&dfltcc_state->af, 0, sizeof(dfltcc_state->af)); in dfltcc_inflate_disable() 90 struct dfltcc_state *dfltcc_state = GET_DFLTCC_STATE(state); in dfltcc_inflate() local 91 struct dfltcc_param_v0 *param = &dfltcc_state->param; in dfltcc_inflate() 136 strm->msg = oesc_msg(dfltcc_state->msg, param->oesc); in dfltcc_inflate()
|
D | dfltcc.h | 93 struct dfltcc_state { struct 104 #define GET_DFLTCC_STATE(state) ((struct dfltcc_state *)((state) + 1)) argument
|
/linux-6.1.9/lib/zlib_inflate/ |
D | infutil.h | 25 struct dfltcc_state dfltcc_state; member 34 static_assert(offsetof(struct inflate_workspace, dfltcc_state) % 8 == 0);
|
/linux-6.1.9/lib/zlib_deflate/ |
D | deflate.c | 109 struct dfltcc_state dfltcc_memory;
|