Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 10 files:
- arch/powerpc/kernel/nvram_64.c, line 340
- drivers/block/zram/backend_deflate.c, line 62
- drivers/gpu/drm/drm_panic.c, line 690
- drivers/gpu/drm/i915/i915_gpu_error.c, line 366
- drivers/net/ethernet/chelsio/cxgb4/cudbg_zlib.c, line 61
- drivers/net/ppp/ppp_deflate.c, line 65
- fs/btrfs/zlib.c
- fs/jffs2/compr_zlib.c
- fs/pstore/platform.c, line 197
- lib/zlib_deflate/deflate_syms.c, line 18
Smatch caller information:
drivers/net/ethernet/chelsio/cxgb4/cudbg_zlib.c cudbg_compress_buff() -> zlib_deflateEnd()
| 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 | 1-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 |
| MEM_ZERO | 0 | strm | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ppp/ppp_deflate.c z_comp_free() -> zlib_deflateEnd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | strm | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &ppp_mutex |
drivers/gpu/drm/i915/i915_gpu_error.c compress_finish() -> zlib_deflateEnd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | strm | 4096-ptr_max |
| PARAM_VALUE | 0 | strm->adler | 1 |
| PARAM_VALUE | 0 | strm->avail_in | 0,4096 |
| PARAM_VALUE | 0 | strm->data_type | 2 |
| PARAM_VALUE | 0 | strm->msg | 0 |
| PARAM_VALUE | 0 | strm->next_in | 0,4096-ptr_max |
| PARAM_VALUE | 0 | strm->next_out | 0-ptr_max,(-12) |
| PARAM_VALUE | 0 | strm->reserved | 0 |
| PARAM_VALUE | 0 | strm->state | 4096-ptr_max |
| PARAM_VALUE | 0 | strm->total_in | 0 |
| MEM_ZERO | 0 | strm | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &capture_mutex |
fs/btrfs/zlib.c zlib_compress_bio() -> zlib_deflateEnd()
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/btrfs/zlib.c zlib_compress_bio() -> zlib_deflateEnd()
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/btrfs/zlib.c zlib_compress_bio() -> zlib_deflateEnd()
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/jffs2/compr_zlib.c jffs2_zlib_compress() -> zlib_deflateEnd()
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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_deflateEnd()
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | strm->avail_out | 1-9223372036854775818[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_destroy() -> zlib_deflateEnd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | strm | 4096-ptr_max |
| PARAM_VALUE | 0 | strm->workspace | 1-u64max |
| NOCHECK_CALL |
fs/pstore/platform.c pstore_compress() -> zlib_deflateEnd()
| 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 | 1-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 |
| 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 |