Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 20 files:

Smatch caller information:

fs/cramfs/uncompress.c cramfs_uncompress_block() -> zlib_inflate()

Type Parameter Key Value
PARAM_VALUE 0 strm 1999409664042840064
PARAM_VALUE 0 strm->avail_in 1-8192
PARAM_VALUE 0 strm->avail_out 4096
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 1 flush 5
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &read_mutex
HALF_LOCKED2 &mapping->invalidate_lock

drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_gunzip() -> zlib_inflate()

Type Parameter Key Value
PARAM_VALUE 0 strm 4096-ptr_max
PARAM_VALUE 0 strm->adler 1
PARAM_VALUE 0 strm->avail_in 0-s32max,18446744071562067968-u64max
PARAM_VALUE 0 strm->avail_out 32768
PARAM_VALUE 0 strm->msg 0
PARAM_VALUE 0 strm->state 4096-ptr_max
PARAM_VALUE 0 strm->state->bits 0
PARAM_VALUE 0 strm->state->dmax 32768
PARAM_VALUE 0 strm->state->havedict 0
PARAM_VALUE 0 strm->state->hold 0
PARAM_VALUE 0 strm->state->last 0
PARAM_VALUE 0 strm->state->mode 0
PARAM_VALUE 0 strm->state->total 0
PARAM_VALUE 0 strm->state->whave 0
PARAM_VALUE 0 strm->state->write 0
PARAM_VALUE 0 strm->state->wsize 0-4294967295
PARAM_VALUE 0 strm->total_in 0
PARAM_VALUE 0 strm->total_out 0
PARAM_VALUE 1 flush 5
BUF_SIZE 0 strm->next_out 32768
BIT_INFO 0 strm->avail_in 0x0,0xffffffff

crypto/deflate.c deflate_decompress_one() -> zlib_inflate()

Type Parameter Key Value
PARAM_VALUE 0 strm 4096-ptr_max
PARAM_VALUE 0 strm->avail_out 0-u32max
PARAM_VALUE 1 flush 0
BUF_SIZE 0 strm 96
CAPPED_DATA 0 strm->avail_out 1
BIT_INFO 0 strm->avail_out 0x0,0x7fffffff
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 strm->avail_in 2-s32max[c]
USER_DATA 0 strm->avail_in 1-4095[c]
USER_DATA 0 strm->avail_out 1-219420[c]
LOCK2 bh
HALF_LOCKED2 &acomp_ctx->mutex

drivers/net/ethernet/qlogic/qed/qed_main.c qed_unzip_data() -> zlib_inflate()

Type Parameter Key Value
PARAM_VALUE 0 strm 4096-ptr_max
PARAM_VALUE 0 strm->adler 1
PARAM_VALUE 0 strm->avail_in 0-268435455
PARAM_VALUE 0 strm->avail_out 32768
PARAM_VALUE 0 strm->msg 0
PARAM_VALUE 0 strm->next_in 4096-ptr_max
PARAM_VALUE 0 strm->next_out 4096-ptr_max
PARAM_VALUE 0 strm->state 4096-ptr_max
PARAM_VALUE 0 strm->state->bits 0
PARAM_VALUE 0 strm->state->dmax 32768
PARAM_VALUE 0 strm->state->havedict 0
PARAM_VALUE 0 strm->state->hold 0
PARAM_VALUE 0 strm->state->last 0
PARAM_VALUE 0 strm->state->mode 0
PARAM_VALUE 0 strm->state->total 0
PARAM_VALUE 0 strm->state->whave 0
PARAM_VALUE 0 strm->state->write 0
PARAM_VALUE 0 strm->state->wsize 0-4294967295
PARAM_VALUE 0 strm->total_in 0
PARAM_VALUE 0 strm->total_out 0
PARAM_VALUE 1 flush 5
BUF_SIZE 0 strm->next_out 32768
RX_PATH
TASK_NOT_RUNNING

drivers/net/ppp/ppp_deflate.c z_decompress() -> zlib_inflate()

Type Parameter Key Value
PARAM_VALUE 0 strm 4096-ptr_max
PARAM_VALUE 1 flush 2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ppp->rlock
LOCK2 bh
LOCK2 rcu_read
HALF_LOCKED2 &network->close_lock
TYPE_LOCK (struct ppp)->rlock

fs/squashfs/zlib_wrapper.c zlib_uncompress() -> zlib_inflate()

Type Parameter Key Value
PARAM_VALUE 0 strm 4096-ptr_max
PARAM_VALUE 1 flush 3
BUF_SIZE 0 strm->next_out (-1),4096
DATA_SOURCE 0 strm $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &stream->mutex

lib/zlib_inflate/infutil.c zlib_inflate_blob() -> zlib_inflate()

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->msg 0
PARAM_VALUE 0 strm->state 4096-ptr_max
PARAM_VALUE 0 strm->state->bits 0
PARAM_VALUE 0 strm->state->dmax 32768
PARAM_VALUE 0 strm->state->havedict 0
PARAM_VALUE 0 strm->state->hold 0
PARAM_VALUE 0 strm->state->last 0
PARAM_VALUE 0 strm->state->mode 0
PARAM_VALUE 0 strm->state->total 0
PARAM_VALUE 0 strm->state->whave 0
PARAM_VALUE 0 strm->state->write 0
PARAM_VALUE 0 strm->state->wsize 0-4294967295
PARAM_VALUE 0 strm->total_in 0
PARAM_VALUE 0 strm->total_out 0
PARAM_VALUE 0 strm->workspace 4096-ptr_max
PARAM_VALUE 1 flush 5
BUF_SIZE 0 strm 96
BUF_SIZE 0 strm->workspace 0-s32max,18446744071562067968-u64max
DATA_SOURCE 0 strm r _kmalloc_noprof

fs/isofs/compress.c zisofs_uncompress_block() -> zlib_inflate()

Type Parameter Key Value
PARAM_VALUE 0 strm 5385084459700449280
PARAM_VALUE 0 strm->avail_in 1-u64max
PARAM_VALUE 0 strm->avail_out 1-u64max
PARAM_VALUE 1 flush 3
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &zisofs_zlib_lock
HALF_LOCKED2 &mapping->invalidate_lock

fs/btrfs/zlib.c zlib_decompress() -> zlib_inflate()

Type Parameter Key Value
PARAM_VALUE 0 strm 4096-ptr_max
PARAM_VALUE 0 strm->adler 1
PARAM_VALUE 0 strm->avail_out 0-u32max
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
PARAM_VALUE 1 flush 5
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/zlib.c zlib_decompress_bio() -> zlib_inflate()

Type Parameter Key Value
PARAM_VALUE 0 strm 4096-ptr_max
PARAM_VALUE 0 strm->avail_out 0-u32max
PARAM_VALUE 0 strm->total_in 0-4294967294
PARAM_VALUE 1 flush 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

fs/erofs/decompressor_deflate.c __z_erofs_deflate_decompress() -> zlib_inflate()

Type Parameter Key Value
PARAM_VALUE 0 strm 4096-ptr_max
PARAM_VALUE 0 strm->avail_in 0-u32max
PARAM_VALUE 0 strm->avail_out 0-u32max
PARAM_VALUE 1 flush 3
RX_PATH
TASK_NOT_RUNNING
LOCK2 &pcl->lock
TYPE_LOCK (struct z_erofs_pcluster)->lock

kernel/module/decompress.c module_gzip_decompress() -> zlib_inflate()

Type Parameter Key Value
PARAM_VALUE 0 strm 1906821617049268224
PARAM_VALUE 0 strm->avail_out 4096
PARAM_VALUE 0 strm->next_out 18379471554275704832,18446612682070032384
PARAM_VALUE 1 flush 0

fs/jffs2/compr_zlib.c jffs2_zlib_decompress() -> zlib_inflate()

Type Parameter Key Value
PARAM_VALUE 0 strm 3511643181361008640
PARAM_VALUE 1 flush 5
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &inflate_mutex
HALF_LOCKED2 &c->alloc_sem
HALF_LOCKED2 &c->wbuf_sem
HALF_LOCKED2 &f->sem

fs/jffs2/compr_zlib.c jffs2_zlib_decompress() -> zlib_inflate()

Type Parameter Key Value
PARAM_VALUE 0 strm 3511643181361008640
PARAM_VALUE 1 flush 5
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &inflate_mutex
HALF_LOCKED2 &c->alloc_sem
HALF_LOCKED2 &c->wbuf_sem
HALF_LOCKED2 &f->sem

drivers/block/zram/backend_deflate.c deflate_decompress() -> zlib_inflate()

Type Parameter Key Value
PARAM_VALUE 0 strm 4096-ptr_max
PARAM_VALUE 0 strm->adler 1
PARAM_VALUE 0 strm->avail_in 0-8191
PARAM_VALUE 0 strm->avail_out 4096
PARAM_VALUE 0 strm->msg 0
PARAM_VALUE 0 strm->state 4096-ptr_max
PARAM_VALUE 0 strm->state->bits 0
PARAM_VALUE 0 strm->state->dmax 32768
PARAM_VALUE 0 strm->state->havedict 0
PARAM_VALUE 0 strm->state->hold 0
PARAM_VALUE 0 strm->state->last 0
PARAM_VALUE 0 strm->state->mode 0
PARAM_VALUE 0 strm->state->total 0
PARAM_VALUE 0 strm->state->whave 0
PARAM_VALUE 0 strm->state->write 0
PARAM_VALUE 0 strm->state->wsize 0-4294967295
PARAM_VALUE 0 strm->total_in 0
PARAM_VALUE 0 strm->total_out 0
PARAM_VALUE 1 flush 3
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

lib/decompress_inflate.c __gunzip() -> zlib_inflate()

Type Parameter Key Value
PARAM_VALUE 0 strm 4096-ptr_max
PARAM_VALUE 0 strm->avail_in 1-u64max
PARAM_VALUE 0 strm->state->bits 0
PARAM_VALUE 0 strm->state->dmax 32768
PARAM_VALUE 0 strm->state->havedict 0
PARAM_VALUE 0 strm->state->hold 0
PARAM_VALUE 0 strm->state->last 0
PARAM_VALUE 0 strm->state->mode 0
PARAM_VALUE 0 strm->state->total 0
PARAM_VALUE 0 strm->state->whave 0
PARAM_VALUE 0 strm->state->write 0
PARAM_VALUE 0 strm->state->wsize 0-4294967295
PARAM_VALUE 1 flush 0
BUF_SIZE 0 strm 96
BUF_SIZE 0 strm->next_in (-1),8192,139000
BUF_SIZE 0 strm->next_out 32768,u64max
BUF_SIZE 0 strm->workspace 42312,u64max
DATA_SOURCE 0 strm r _kmalloc_noprof
RX_PATH
TASK_NOT_RUNNING

fs/pstore/platform.c decompress_record() -> zlib_inflate()

Type Parameter Key Value
PARAM_VALUE 0 strm 1868246297722322944
PARAM_VALUE 0 strm->adler 1
PARAM_VALUE 0 strm->avail_in 1-9223372036854775807
PARAM_VALUE 0 strm->msg 0
PARAM_VALUE 0 strm->next_in 0
PARAM_VALUE 0 strm->next_out 1-18446744073709551614
PARAM_VALUE 0 strm->reserved 0
PARAM_VALUE 0 strm->state 4096-ptr_max
PARAM_VALUE 0 strm->state->bits 0
PARAM_VALUE 0 strm->state->dmax 32768
PARAM_VALUE 0 strm->state->havedict 0
PARAM_VALUE 0 strm->state->hold 0
PARAM_VALUE 0 strm->state->last 0
PARAM_VALUE 0 strm->state->mode 0
PARAM_VALUE 0 strm->state->total 0
PARAM_VALUE 0 strm->state->whave 0
PARAM_VALUE 0 strm->state->write 0
PARAM_VALUE 0 strm->state->wsize 0-4294967295
PARAM_VALUE 0 strm->total_in 0
PARAM_VALUE 0 strm->total_out 0
PARAM_VALUE 0 strm->workspace 1-u64max
PARAM_VALUE 1 flush 5
BUF_SIZE 0 strm->next_out 0-u64max
DATA_SOURCE 0 strm $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &psi->read_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &efivars_lock
HALF_LOCKED2 global &psinfo_lock
TYPE_LOCK (struct pstore_info)->read_mutex