Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
lib/zstd/compress/zstd_compress.c ZSTD_createCDict_advanced_internal() -> ZSTD_cwksp_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ws | 9081634077800742912 |
| PARAM_VALUE | 1 | start | 16,4096-ptr_max |
| PARAM_VALUE | 3 | isStatic | 0 |
| BUF_SIZE | 1 | start | s32min-s32max |
| DATA_SOURCE | 1 | start | r ZSTD_customMalloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
lib/zstd/compress/zstd_compress.c ZSTD_cwksp_create() -> ZSTD_cwksp_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ws | 4096-ptr_max |
| PARAM_VALUE | 0 | ws->allocFailed | 0 |
| PARAM_VALUE | 0 | ws->allocStart | 0 |
| PARAM_VALUE | 0 | ws->initOnceStart | 0 |
| PARAM_VALUE | 0 | ws->isStatic | 0 |
| PARAM_VALUE | 0 | ws->objectEnd | 0 |
| PARAM_VALUE | 0 | ws->phase | 0 |
| PARAM_VALUE | 0 | ws->tableEnd | 0 |
| PARAM_VALUE | 0 | ws->tableValidEnd | 0 |
| PARAM_VALUE | 0 | ws->workspace | 0 |
| PARAM_VALUE | 0 | ws->workspaceEnd | 0 |
| PARAM_VALUE | 0 | ws->workspaceOversizedDuration | 0 |
| PARAM_VALUE | 1 | start | 16,4096-ptr_max |
| PARAM_VALUE | 2 | size | 0-18446744073709551496 |
| PARAM_VALUE | 3 | isStatic | 0 |
| BUF_SIZE | 0 | ws | 72 |
| BUF_SIZE | 1 | start | s32min-s32max |
| CAPPED_DATA | 2 | size | 1 |
| CAPPED_DATA | 2 | size | 1 |
| DATA_SOURCE | 0 | ws | $0 |
| DATA_SOURCE | 1 | start | r ZSTD_customMalloc |
| DATA_SOURCE | 2 | size | $1 |
| MEM_ZERO | 0 | ws | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
lib/zstd/compress/zstd_compress.c ZSTD_initStaticCCtx() -> ZSTD_cwksp_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ws | 3216953565579591680 |
| PARAM_VALUE | 1 | start | 1-u64max |
| PARAM_VALUE | 2 | size | 5265-u64max |
| PARAM_VALUE | 3 | isStatic | 1 |
| BUF_SIZE | 1 | start | (-1),16384 |
| BUF_SIZE | 1 | start | (-1),16384 |
| DATA_SOURCE | 1 | start | $0 |
| DATA_SOURCE | 2 | size | $1 |
| FUZZY_MAX | 2 | size | 5265 |
| BIT_INFO | 1 | start | 0x0,0xfffffffffffffff8 |
| BIT_INFO | 1 | start | 0x0,0xfffffffffffffff8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | size | unit_byte |
| BYTE_COUNT | 1 | ==start2 | 8050 |
| HALF_LOCKED2 | bh |
lib/zstd/compress/zstd_compress.c ZSTD_initStaticCDict() -> ZSTD_cwksp_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ws | 6908233225246744576 |
| PARAM_VALUE | 3 | isStatic | 1 |
| DATA_SOURCE | 1 | start | $0 |
| DATA_SOURCE | 2 | size | $1 |
| BIT_INFO | 1 | start | 0x0,0xfffffffffffffff8 |
| BIT_INFO | 1 | start | 0x0,0xfffffffffffffff8 |
| NOCHECK_CALL |