Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 18 files:
- arch/arm/kernel/head-inflate-data.c, line 49
- arch/xtensa/boot/lib/zmem.c, line 64
- crypto/deflate.c, line 209
- drivers/block/zram/backend_deflate.c, line 99
- drivers/firmware/efi/libstub/zboot-decompress-gzip.c, line 34
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c, line 6641
- drivers/net/ethernet/qlogic/qed/qed_main.c, line 1025
- drivers/net/ppp/ppp_deflate.c, line 325
- fs/binfmt_flat.c, line 267
- fs/btrfs/zlib.c
- fs/erofs/decompressor_deflate.c, line 130
- fs/jffs2/compr_zlib.c, line 174
- fs/pstore/platform.c, line 670
- include/linux/zlib.h, line 584
- kernel/module/decompress.c, line 107
- lib/decompress_inflate.c, line 133
- lib/zlib_inflate/inflate_syms.c, line 16
- lib/zlib_inflate/infutil.c, line 32
Smatch caller information:
fs/cramfs/uncompress.c cramfs_uncompress_block() -> zlib_inflateInit2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | strm | 1999409664042840064 |
| PARAM_VALUE | 0 | strm->avail_in | 1-8192 |
| PARAM_VALUE | 1 | windowBits | 15 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &read_mutex | ||
| HALF_LOCKED2 | &mapping->invalidate_lock |
fs/cramfs/uncompress.c cramfs_uncompress_init() -> zlib_inflateInit2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | strm | 1999409664042840064 |
| PARAM_VALUE | 0 | strm->avail_in | 0 |
| PARAM_VALUE | 0 | strm->workspace | 1-u64max |
| PARAM_VALUE | 1 | windowBits | 15 |
| NOCHECK_CALL |
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_gunzip() -> zlib_inflateInit2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | strm | 4096-ptr_max |
| PARAM_VALUE | 0 | strm->avail_in | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 1 | windowBits | (-15) |
| BUF_SIZE | 0 | strm->next_out | 32768 |
| BIT_INFO | 0 | strm->avail_in | 0x0,0xffffffff |
crypto/deflate.c deflate_decompress() -> zlib_inflateInit2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | windowBits | (-11) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &acomp_ctx->mutex |
drivers/net/ethernet/qlogic/qed/qed_main.c qed_unzip_data() -> zlib_inflateInit2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | strm | 4096-ptr_max |
| PARAM_VALUE | 0 | strm->avail_in | 0-268435455 |
| PARAM_VALUE | 1 | windowBits | 15 |
| BUF_SIZE | 0 | strm->next_out | 32768 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ppp/ppp_deflate.c z_decomp_alloc() -> zlib_inflateInit2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | strm | 4096-ptr_max |
| PARAM_VALUE | 0 | strm->workspace | 1-u64max |
| PARAM_VALUE | 1 | windowBits | (-15)-(-9) |
| USER_DATA | 1 | windowBits | (-15)-(-9) |
| LOCK2 | global &ppp_mutex |
fs/squashfs/zlib_wrapper.c zlib_uncompress() -> zlib_inflateInit2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | strm | 4096-ptr_max |
| PARAM_VALUE | 0 | strm->avail_in | 0-2130706431,18446744071562067968-u64max |
| PARAM_VALUE | 1 | windowBits | 15 |
| BUF_SIZE | 0 | strm->next_out | (-1),4096 |
| CAPPED_DATA | 0 | strm->avail_in | 1 |
| DATA_SOURCE | 0 | strm | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &stream->mutex |
lib/zlib_inflate/infutil.c zlib_inflate_blob() -> zlib_inflateInit2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | strm | 4096-ptr_max |
| PARAM_VALUE | 0 | strm->avail_in | 0-u32max |
| PARAM_VALUE | 0 | strm->workspace | 4096-ptr_max |
| PARAM_VALUE | 1 | windowBits | (-15) |
| 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_inflateInit2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | strm | 5385084459700449280 |
| PARAM_VALUE | 0 | strm->adler | 0 |
| PARAM_VALUE | 0 | strm->avail_in | 0 |
| PARAM_VALUE | 0 | strm->msg | 0 |
| PARAM_VALUE | 0 | strm->state | 0 |
| PARAM_VALUE | 0 | strm->total_in | 0 |
| PARAM_VALUE | 0 | strm->total_out | 0 |
| PARAM_VALUE | 1 | windowBits | 15 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &zisofs_zlib_lock | ||
| HALF_LOCKED2 | &mapping->invalidate_lock |
fs/btrfs/zlib.c zlib_decompress() -> zlib_inflateInit2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | strm | 4096-ptr_max |
| PARAM_VALUE | 0 | strm->total_in | 0 |
| PARAM_VALUE | 0 | strm->total_out | 0 |
| PARAM_VALUE | 1 | windowBits | (-23)-(-8),15 |
| FUZZY_MAX | 1 | windowBits | 15 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/btrfs/zlib.c zlib_decompress_bio() -> zlib_inflateInit2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | strm | 4096-ptr_max |
| PARAM_VALUE | 0 | strm->avail_in | 0-u32max,18446744073709551614-u64max |
| PARAM_VALUE | 0 | strm->total_in | 0 |
| PARAM_VALUE | 0 | strm->total_out | 0 |
| PARAM_VALUE | 1 | windowBits | (-23)-(-8),15 |
| FUZZY_MAX | 1 | windowBits | 15 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
fs/erofs/decompressor_deflate.c __z_erofs_deflate_decompress() -> zlib_inflateInit2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | strm | 4096-ptr_max |
| PARAM_VALUE | 1 | windowBits | (-15) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &pcl->lock | ||
| TYPE_LOCK | (struct z_erofs_pcluster)->lock |
kernel/module/decompress.c module_gzip_decompress() -> zlib_inflateInit2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | strm | 1906821617049268224 |
| PARAM_VALUE | 0 | strm->adler | 0 |
| PARAM_VALUE | 0 | strm->avail_in | 0-2147483637,18446744071562067979-u64max |
| PARAM_VALUE | 0 | strm->msg | 0 |
| PARAM_VALUE | 0 | strm->state | 0 |
| PARAM_VALUE | 0 | strm->total_in | 0 |
| PARAM_VALUE | 0 | strm->total_out | 0 |
| PARAM_VALUE | 0 | strm->workspace | 1-18446744073709551614 |
| PARAM_VALUE | 1 | windowBits | (-15) |
fs/jffs2/compr_zlib.c jffs2_zlib_decompress() -> zlib_inflateInit2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | strm | 3511643181361008640 |
| PARAM_VALUE | 0 | strm->avail_in | 0-4000000 |
| PARAM_VALUE | 0 | strm->total_in | 0 |
| PARAM_VALUE | 0 | strm->total_out | 0 |
| PARAM_VALUE | 1 | windowBits | (-23)-(-8),15 |
| FUZZY_MAX | 1 | windowBits | 15 |
| 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_create() -> zlib_inflateInit2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | strm | 4096-ptr_max |
| PARAM_VALUE | 0 | strm->workspace | 1-u64max |
lib/decompress_inflate.c __gunzip() -> zlib_inflateInit2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | strm | 4096-ptr_max |
| PARAM_VALUE | 0 | strm->workspace | 4096-ptr_max |
| PARAM_VALUE | 1 | windowBits | (-15) |
| BUF_SIZE | 0 | strm | 96 |
| BUF_SIZE | 0 | strm->next_out | 32768 |
| BUF_SIZE | 0 | strm->workspace | 42312 |
| DATA_SOURCE | 0 | strm | r _kmalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/pstore/platform.c pstore_get_backend_records() -> zlib_inflateInit2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | strm | 1868246297722322944 |
| PARAM_VALUE | 0 | strm->adler | 0 |
| PARAM_VALUE | 0 | strm->avail_in | 0 |
| PARAM_VALUE | 0 | strm->msg | 0 |
| PARAM_VALUE | 0 | strm->state | 0 |
| PARAM_VALUE | 0 | strm->total_in | 0 |
| PARAM_VALUE | 0 | strm->total_out | 0 |
| PARAM_VALUE | 0 | strm->workspace | 0-18446744073709551614 |
| PARAM_VALUE | 1 | windowBits | (-15) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &psinfo_lock |