Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- arch/powerpc/kernel/nvram_64.c, line 324
- crypto/deflate.c, line 125
- drivers/block/zram/backend_deflate.c, line 88
- drivers/gpu/drm/drm_panic.c, line 676
- drivers/net/ethernet/chelsio/cxgb4/cudbg_zlib.c, line 46
- drivers/net/ppp/ppp_deflate.c, line 110
- fs/pstore/platform.c, line 188
- include/linux/zlib.h, line 581
- lib/zlib_deflate/deflate_syms.c, line 17
Smatch caller information:
drivers/net/ethernet/chelsio/cxgb4/cudbg_zlib.c cudbg_compress_buff() -> zlib_deflateInit2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | strm | 2305064287405686784 |
| PARAM_VALUE | 1 | level | (-1) |
| PARAM_VALUE | 2 | method | 8 |
| PARAM_VALUE | 3 | windowBits | 12 |
| PARAM_VALUE | 4 | memLevel | 4 |
| PARAM_VALUE | 5 | strategy | 0 |
| MEM_ZERO | 0 | strm | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/deflate.c deflate_compress() -> zlib_deflateInit2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | level | (-1) |
| PARAM_VALUE | 2 | method | 8 |
| PARAM_VALUE | 3 | windowBits | (-11) |
| PARAM_VALUE | 4 | memLevel | 8 |
| PARAM_VALUE | 5 | strategy | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &acomp_ctx->mutex |
drivers/net/ppp/ppp_deflate.c z_comp_alloc() -> zlib_deflateInit2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | strm | 4096-ptr_max |
| PARAM_VALUE | 0 | strm->next_in | 0 |
| PARAM_VALUE | 0 | strm->workspace | 1-u64max |
| PARAM_VALUE | 1 | level | (-1) |
| PARAM_VALUE | 2 | method | 8 |
| PARAM_VALUE | 3 | windowBits | (-15)-(-9) |
| PARAM_VALUE | 4 | memLevel | 8 |
| PARAM_VALUE | 5 | strategy | 0 |
| USER_DATA | 3 | windowBits | (-15)-(-9) |
| LOCK2 | global &ppp_mutex |
drivers/gpu/drm/i915/i915_gpu_error.c compress_start() -> zlib_deflateInit2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | strm | 4096-ptr_max |
| PARAM_VALUE | 1 | level | (-1) |
| PARAM_VALUE | 2 | method | 8 |
| PARAM_VALUE | 3 | windowBits | 15 |
| PARAM_VALUE | 4 | memLevel | 8 |
| PARAM_VALUE | 5 | strategy | 0 |
| BUF_SIZE | 0 | strm | 96 |
| BUF_SIZE | 0 | strm->workspace | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &capture_mutex |
fs/btrfs/zlib.c zlib_compress_bio() -> zlib_deflateInit2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | strm | 4096-ptr_max |
| PARAM_VALUE | 2 | method | 8 |
| PARAM_VALUE | 3 | windowBits | 15 |
| PARAM_VALUE | 4 | memLevel | 8 |
| PARAM_VALUE | 5 | strategy | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/jffs2/compr_zlib.c jffs2_zlib_compress() -> zlib_deflateInit2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | strm | 3499417526516297728 |
| PARAM_VALUE | 1 | level | 3 |
| PARAM_VALUE | 2 | method | 8 |
| PARAM_VALUE | 3 | windowBits | 15 |
| PARAM_VALUE | 4 | memLevel | 8 |
| PARAM_VALUE | 5 | strategy | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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_create() -> zlib_deflateInit2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | strm | 4096-ptr_max |
| PARAM_VALUE | 0 | strm->workspace | 1-u64max |
| PARAM_VALUE | 2 | method | 8 |
| PARAM_VALUE | 4 | memLevel | 8 |
| PARAM_VALUE | 5 | strategy | 0 |
fs/pstore/platform.c pstore_compress() -> zlib_deflateInit2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | strm | 735702735511748608 |
| PARAM_VALUE | 0 | strm->adler | 0 |
| PARAM_VALUE | 0 | strm->avail_in | 0-u32max |
| PARAM_VALUE | 0 | strm->avail_out | 0-u32max |
| PARAM_VALUE | 0 | strm->data_type | 0 |
| 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 | 0 |
| PARAM_VALUE | 0 | strm->total_in | 0 |
| PARAM_VALUE | 0 | strm->total_out | 0 |
| PARAM_VALUE | 1 | level | (-1) |
| PARAM_VALUE | 2 | method | 8 |
| PARAM_VALUE | 3 | windowBits | (-15) |
| PARAM_VALUE | 4 | memLevel | 8 |
| PARAM_VALUE | 5 | strategy | 0 |
| 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 |