Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 11 files:

Smatch caller information:

drivers/net/ethernet/chelsio/cxgb4/cudbg_zlib.c cudbg_compress_buff() -> zlib_deflate()

Type Parameter Key Value
PARAM_VALUE 0 strm 2305064287405686784
PARAM_VALUE 0 strm->adler 1
PARAM_VALUE 0 strm->avail_in 1-64512
PARAM_VALUE 0 strm->avail_out 0-u32max
PARAM_VALUE 0 strm->data_type 2
PARAM_VALUE 0 strm->msg 0
PARAM_VALUE 0 strm->next_in 4096-ptr_max
PARAM_VALUE 0 strm->state 4096-ptr_max
PARAM_VALUE 0 strm->total_in 0
PARAM_VALUE 0 strm->total_out 0
PARAM_VALUE 1 flush 5
MEM_ZERO 0 strm
RX_PATH
TASK_NOT_RUNNING

crypto/deflate.c deflate_compress_one() -> zlib_deflate()

Type Parameter Key Value
PARAM_VALUE 0 strm 4096-ptr_max
PARAM_VALUE 0 strm->adler 1
PARAM_VALUE 0 strm->avail_in 0-u32max
PARAM_VALUE 0 strm->avail_out 1-u32max
PARAM_VALUE 0 strm->data_type 2
PARAM_VALUE 0 strm->msg 0
PARAM_VALUE 0 strm->state 4096-ptr_max
PARAM_VALUE 0 strm->total_in 0
PARAM_VALUE 1 flush 0,5
BUF_SIZE 0 strm 96
CAPPED_DATA 0 strm->avail_in 1
FUZZY_MAX 0 strm->avail_in 0
FUZZY_MAX 1 flush 5
BIT_INFO 0 strm->avail_in 0x0,0x7fffffff
BIT_INFO 1 flush 0x0,0x5
HARD_MAX 1 flush 5
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 strm->avail_in 2-s32max[c]
HOST_DATA 0 strm->state->strm->avail_in 2-s32max[c]
USER_DATA 0 strm->avail_in 1-4095[c]
USER_DATA 0 strm->avail_out 1-u32max[c]
USER_DATA 0 strm->state->pending_out s64min-s64max[c][u]
USER_DATA 0 strm->state->strm->avail_in 0-4096[c]
USER_DATA 0 strm->state->strm->avail_out s64min-s64max
LOCK2 bh
HALF_LOCKED2 &acomp_ctx->mutex

drivers/net/ppp/ppp_deflate.c z_compress() -> zlib_deflate()

Type Parameter Key Value
PARAM_VALUE 0 strm 4096-ptr_max
PARAM_VALUE 0 strm->avail_in 0-s32max,18446744071562067968-u64max
PARAM_VALUE 0 strm->avail_out 0-s32max,18446744071562067968-u64max
PARAM_VALUE 0 strm->next_out 0,4096-ptr_max
PARAM_VALUE 1 flush 2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ppp->wlock
LOCK2 bh
TYPE_LOCK (struct ppp)->wlock

drivers/gpu/drm/i915/i915_gpu_error.c compress_flush() -> zlib_deflate()

Type Parameter Key Value
PARAM_VALUE 0 strm 4096-ptr_max
PARAM_VALUE 0 strm->adler 1
PARAM_VALUE 0 strm->avail_in 0
PARAM_VALUE 0 strm->avail_out 1-9223372036854775806
PARAM_VALUE 0 strm->data_type 2
PARAM_VALUE 0 strm->msg 0
PARAM_VALUE 0 strm->next_in 4096-ptr_max
PARAM_VALUE 0 strm->next_out 0-ptr_max
PARAM_VALUE 0 strm->reserved 0
PARAM_VALUE 0 strm->state 4096-ptr_max
PARAM_VALUE 0 strm->total_in 0
PARAM_VALUE 1 flush 5
BUF_SIZE 0 strm 96
MEM_ZERO 0 strm
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &capture_mutex

drivers/gpu/drm/i915/i915_gpu_error.c compress_page() -> zlib_deflate()

Type Parameter Key Value
PARAM_VALUE 0 strm 4096-ptr_max
PARAM_VALUE 0 strm->adler 1
PARAM_VALUE 0 strm->avail_in 4096
PARAM_VALUE 0 strm->avail_out 1-9223372036854775806
PARAM_VALUE 0 strm->data_type 2
PARAM_VALUE 0 strm->msg 0
PARAM_VALUE 0 strm->next_in 4096-ptr_max
PARAM_VALUE 0 strm->next_out 0-ptr_max
PARAM_VALUE 0 strm->reserved 0
PARAM_VALUE 0 strm->state 4096-ptr_max
PARAM_VALUE 0 strm->total_in 0
PARAM_VALUE 1 flush 0
BUF_SIZE 0 strm 96
FUZZY_MAX 0 strm->avail_out 4096
MEM_ZERO 0 strm
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &capture_mutex
HALF_LOCKED2 &ggtt->error_mutex

fs/btrfs/zlib.c zlib_compress_bio() -> zlib_deflate()

Type Parameter Key Value
PARAM_VALUE 0 strm 4096-ptr_max
PARAM_VALUE 0 strm->adler 1
PARAM_VALUE 0 strm->avail_in 0-u32max
PARAM_VALUE 0 strm->avail_out 0-u32max
PARAM_VALUE 0 strm->data_type 2
PARAM_VALUE 0 strm->msg 0
PARAM_VALUE 0 strm->next_out 0,4096-ptr_max
PARAM_VALUE 0 strm->state 4096-ptr_max
PARAM_VALUE 0 strm->total_in 0
PARAM_VALUE 0 strm->total_out 0-4294967294
PARAM_VALUE 1 flush 3
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/zlib.c zlib_compress_bio() -> zlib_deflate()

Type Parameter Key Value
PARAM_VALUE 0 strm 4096-ptr_max
PARAM_VALUE 0 strm->adler 1
PARAM_VALUE 0 strm->avail_in 0
PARAM_VALUE 0 strm->avail_out 0-u32max
PARAM_VALUE 0 strm->data_type 2
PARAM_VALUE 0 strm->msg 0
PARAM_VALUE 0 strm->next_out 0,4096-ptr_max
PARAM_VALUE 0 strm->state 4096-ptr_max
PARAM_VALUE 0 strm->total_in 0
PARAM_VALUE 1 flush 5
RX_PATH
TASK_NOT_RUNNING

fs/jffs2/compr_zlib.c jffs2_zlib_compress() -> zlib_deflate()

Type Parameter Key Value
PARAM_VALUE 0 strm 3499417526516297728
PARAM_VALUE 0 strm->adler 1
PARAM_VALUE 0 strm->avail_in 0-u32max
PARAM_VALUE 0 strm->avail_out 0-4294967283,18446744069414584323-u64max
PARAM_VALUE 0 strm->data_type 2
PARAM_VALUE 0 strm->msg 0
PARAM_VALUE 0 strm->state 4096-ptr_max
PARAM_VALUE 0 strm->total_in 0
PARAM_VALUE 0 strm->total_out 0-4294967294
PARAM_VALUE 1 flush 1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 strm->avail_in 0-4096[c]
USER_DATA 0 strm->avail_out 0-4084,18446744069414584323-u64max[c]
LOCK2 &c->alloc_sem
LOCK2 &f->sem
LOCK2 global &deflate_mutex
TYPE_LOCK (struct jffs2_inode_info)->sem
TYPE_LOCK (struct jffs2_sb_info)->alloc_sem

fs/jffs2/compr_zlib.c jffs2_zlib_compress() -> zlib_deflate()

Type Parameter Key Value
PARAM_VALUE 0 strm 3499417526516297728
PARAM_VALUE 0 strm->adler 1
PARAM_VALUE 0 strm->avail_in 0
PARAM_VALUE 0 strm->avail_out 12-9223372036854775902
PARAM_VALUE 0 strm->data_type 2
PARAM_VALUE 0 strm->msg 0
PARAM_VALUE 0 strm->state 4096-ptr_max
PARAM_VALUE 0 strm->total_in 0
PARAM_VALUE 1 flush 5
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 strm->avail_out 13-4096[c]
LOCK2 &c->alloc_sem
LOCK2 &f->sem
LOCK2 global &deflate_mutex
TYPE_LOCK (struct jffs2_inode_info)->sem
TYPE_LOCK (struct jffs2_sb_info)->alloc_sem

drivers/block/zram/backend_deflate.c deflate_compress() -> zlib_deflate()

Type Parameter Key Value
PARAM_VALUE 0 strm 4096-ptr_max
PARAM_VALUE 0 strm->adler 1
PARAM_VALUE 0 strm->avail_in 4096
PARAM_VALUE 0 strm->avail_out 8192
PARAM_VALUE 0 strm->data_type 2
PARAM_VALUE 0 strm->msg 0
PARAM_VALUE 0 strm->next_in 18379471554275704832,18446612682070032384
PARAM_VALUE 0 strm->next_out 1-u64max
PARAM_VALUE 0 strm->state 4096-ptr_max
PARAM_VALUE 0 strm->state->bi_buf 0
PARAM_VALUE 0 strm->state->bi_valid 0
PARAM_VALUE 0 strm->state->bl_desc.dyn_tree->dl.len 0-15,u16max
PARAM_VALUE 0 strm->state->bl_desc.stat_desc 913731107127713792
PARAM_VALUE 0 strm->state->bl_desc.stat_desc->elems 19
PARAM_VALUE 0 strm->state->bl_desc.stat_desc->extra_bits 7910880777044582400
PARAM_VALUE 0 strm->state->bl_desc.stat_desc->max_length 7
PARAM_VALUE 0 strm->state->block_start 0
PARAM_VALUE 0 strm->state->compressed_len 0
PARAM_VALUE 0 strm->state->d_desc.dyn_tree->dl.len 0-15,u16max
PARAM_VALUE 0 strm->state->d_desc.stat_desc 1800907796424552448
PARAM_VALUE 0 strm->state->d_desc.stat_desc->elems 30
PARAM_VALUE 0 strm->state->d_desc.stat_desc->extra_bits 6582557173907828736
PARAM_VALUE 0 strm->state->d_desc.stat_desc->max_length 15
PARAM_VALUE 0 strm->state->d_desc.stat_desc->static_tree 4771640363198926848
PARAM_VALUE 0 strm->state->good_match 0-u16max
PARAM_VALUE 0 strm->state->ins_h 0
PARAM_VALUE 0 strm->state->l_desc.stat_desc 5063368230529748992
PARAM_VALUE 0 strm->state->l_desc.stat_desc->elems 286
PARAM_VALUE 0 strm->state->l_desc.stat_desc->extra_base 257
PARAM_VALUE 0 strm->state->l_desc.stat_desc->extra_bits 7734908214924271616
PARAM_VALUE 0 strm->state->l_desc.stat_desc->max_length 15
PARAM_VALUE 0 strm->state->l_desc.stat_desc->static_tree 4874228718230159360
PARAM_VALUE 0 strm->state->last_eob_len 8
PARAM_VALUE 0 strm->state->last_flush 0
PARAM_VALUE 0 strm->state->last_lit 0
PARAM_VALUE 0 strm->state->lookahead 0
PARAM_VALUE 0 strm->state->match_available 0
PARAM_VALUE 0 strm->state->match_length 2
PARAM_VALUE 0 strm->state->matches 0
PARAM_VALUE 0 strm->state->max_chain_length 0-u16max
PARAM_VALUE 0 strm->state->max_lazy_match 0-u16max
PARAM_VALUE 0 strm->state->nice_match 0-u16max
PARAM_VALUE 0 strm->state->noheader 0-1
PARAM_VALUE 0 strm->state->opt_len 0
PARAM_VALUE 0 strm->state->pending 0
PARAM_VALUE 0 strm->state->prev_length 2
PARAM_VALUE 0 strm->state->static_len 0
PARAM_VALUE 0 strm->state->status 42,113
PARAM_VALUE 0 strm->state->strstart 0
PARAM_VALUE 0 strm->total_in 0
PARAM_VALUE 0 strm->total_out 0
PARAM_VALUE 0 *strm->state->head 0-u16max
PARAM_VALUE 0 *strm->state->pending_out 0-255
PARAM_VALUE 1 flush 5
BUF_SIZE 0 strm 96
BUF_SIZE 0 strm->next_in 4096
BUF_SIZE 0 strm->next_out 4096,8192
LOCK2 &zstrm->lock
TYPE_LOCK (struct zcomp_strm)->lock

fs/pstore/platform.c pstore_compress() -> zlib_deflate()

Type Parameter Key Value
PARAM_VALUE 0 strm 735702735511748608
PARAM_VALUE 0 strm->adler 1
PARAM_VALUE 0 strm->avail_in 0-u32max
PARAM_VALUE 0 strm->avail_out 0-u32max
PARAM_VALUE 0 strm->data_type 2
PARAM_VALUE 0 strm->msg 0
PARAM_VALUE 0 strm->next_in 16,4096-ptr_max
PARAM_VALUE 0 strm->reserved 0
PARAM_VALUE 0 strm->state 4096-ptr_max
PARAM_VALUE 0 strm->total_in 0
PARAM_VALUE 0 strm->total_out 0
PARAM_VALUE 1 flush 5
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 global &psinfo->buf_lock
LOCK2 rcu_read
HALF_LOCKED2 global &system_transition_mutex
HALF_LOCKED2 irq
TYPE_LOCK (struct pstore_info)->buf_lock