Documented in 1 files:
Defined in 1 files as a function:
Referenced in 4 files:
- crypto/testmgr.c
- fs/erofs/decompressor_crypto.c, line 38
- mm/zswap.c
- net/xfrm/xfrm_ipcomp.c, line 198
Smatch caller information:
fs/erofs/decompressor_crypto.c __z_erofs_crypto_decompress() -> acomp_request_set_params()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.flags | 0 |
| PARAM_VALUE | 1 | src | 0,16,4096-ptr_max |
| PARAM_VALUE | 2 | dst | 0,16,4096-ptr_max |
| BUF_SIZE | 0 | req | s32min-s32max |
| DATA_SOURCE | 0 | req | r acomp_request_alloc_extra_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | src | unit_byte |
| UNITS | 2 | dst | unit_byte |
| LOCK2 | &pcl->lock | ||
| LOCK2 | global &z_erofs_crypto_rwsem | ||
| TYPE_LOCK | (struct z_erofs_pcluster)->lock |
mm/zswap.c zswap_compress() -> acomp_request_set_params()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | src | 4852991439943122944 |
| PARAM_VALUE | 2 | dst | 4433476764150079488 |
| PARAM_VALUE | 3 | slen | 4096 |
| PARAM_VALUE | 4 | dlen | 4096 |
| MEM_ZERO | 1 | src | |
| NOCHECK_CALL | |||
| UNITS | 3 | slen | unit_byte |
| UNITS | 4 | dlen | unit_byte |
| LOCK2 | &acomp_ctx->mutex | ||
| TYPE_LOCK | (struct crypto_acomp_ctx)->mutex |
mm/zswap.c zswap_decompress() -> acomp_request_set_params()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | src | 3342043836256006144 |
| PARAM_VALUE | 2 | dst | 2870627440652152832 |
| PARAM_VALUE | 3 | slen | 0-4095,4097-u32max |
| PARAM_VALUE | 4 | dlen | 4096 |
| BUF_SIZE | 1 | src | 64 |
| MEM_ZERO | 2 | dst | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | slen | unit_byte |
| UNITS | 4 | dlen | unit_byte |
| LOCK2 | &acomp_ctx->mutex | ||
| TYPE_LOCK | (struct crypto_acomp_ctx)->mutex |
crypto/testmgr.c test_acomp() -> acomp_request_set_params()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.flags | 0 |
| PARAM_VALUE | 1 | src | 6893413365837684736 |
| PARAM_VALUE | 2 | dst | 6314964275871338496 |
| PARAM_VALUE | 4 | dlen | 512 |
| BUF_SIZE | 0 | req | s32min-s32max |
| CAPPED_DATA | 3 | slen | 1 |
| DATA_SOURCE | 0 | req | r acomp_request_alloc_extra_noprof |
| NOCHECK_CALL | |||
| UNITS | 3 | slen | unit_byte |
| HALF_LOCKED2 | global &once_lock |
crypto/testmgr.c test_acomp() -> acomp_request_set_params()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | src | 6893413365837684736 |
| PARAM_VALUE | 2 | dst | 6314964275871338496 |
| PARAM_VALUE | 4 | dlen | 512 |
| BUF_SIZE | 0 | req | s32min-s32max |
| DATA_SOURCE | 0 | req | r acomp_request_alloc_extra_noprof |
| NOCHECK_CALL | |||
| UNITS | 3 | slen | unit_byte |
| HALF_LOCKED2 | global &once_lock |
crypto/testmgr.c test_acomp() -> acomp_request_set_params()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.flags | 0 |
| PARAM_VALUE | 1 | src | 6893413365837684736 |
| PARAM_VALUE | 2 | dst | 6314964275871338496 |
| PARAM_VALUE | 4 | dlen | 512 |
| BUF_SIZE | 0 | req | s32min-s32max |
| CAPPED_DATA | 3 | slen | 1 |
| DATA_SOURCE | 0 | req | r acomp_request_alloc_extra_noprof |
| NOCHECK_CALL | |||
| UNITS | 3 | slen | unit_byte |
| HALF_LOCKED2 | global &once_lock |
net/xfrm/xfrm_ipcomp.c ipcomp_setup_req() -> acomp_request_set_params()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.flags | 0 |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| BUF_SIZE | 0 | req | s32min-s32max |
| CAPPED_DATA | 4 | dlen | 1 |
| DATA_SOURCE | 0 | req | r acomp_request_alloc_extra_noprof |
| DATA_SOURCE | 4 | dlen | $3 [m] |
| PARAM_COMPARE | 1 | src | > $2 |
| PARAM_COMPARE | 2 | dst | < $1 |
| PARAM_COMPARE | 2 | dst | < $1 |
| MEM_ZERO | 1 | src | |
| MEM_ZERO | 2 | dst | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 3 | slen | 0-s32max[c] |
| HOST_DATA | 4 | dlen | 0-2147483646[c] |
| NO_OVERFLOW_SIMPLE | 1 | src->length | |
| NO_OVERFLOW_SIMPLE | 3 | slen | |
| UNITS | 3 | slen | unit_byte |
| UNITS | 4 | dlen | unit_byte |