Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 10 files:
- crypto/acompress.c
- crypto/testmgr.c
- drivers/crypto/hisilicon/zip/zip_crypto.c, line 128
- drivers/crypto/intel/iaa/iaa_crypto_main.c, line 991
- drivers/crypto/intel/qat/qat_common/qat_comp_algs.c
- fs/erofs/decompressor_crypto.c, line 45
- fs/ubifs/compress.c
- kernel/power/swap.c, line 1182
- mm/zswap.c, line 952
- net/xfrm/xfrm_ipcomp.c, line 214
Smatch caller information:
fs/ubifs/compress.c ubifs_decompress_common() -> crypto_acomp_decompress()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 7922442154943987712 |
| PARAM_VALUE | 0 | req->base.complete | 1624078799481573376 |
| PARAM_VALUE | 0 | req->base.data | 5693652132718608384 |
| PARAM_VALUE | 0 | req->base.flags | 0,2-3092 |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| PARAM_VALUE | 0 | req->dlen | 2-4096 |
| PARAM_VALUE | 0 | req->dst | 4096-ptr_max |
| PARAM_VALUE | 0 | req->dvirt | 4096-ptr_max |
| PARAM_VALUE | 0 | req->src | 4096-ptr_max |
| PARAM_VALUE | 0 | req->svirt | 4096-ptr_max |
| BUF_SIZE | 0 | req | 176 |
| DATA_SOURCE | 0 | req | r acomp_request_on_stack_init |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ui->ui_mutex |
fs/ubifs/compress.c ubifs_decompress_common() -> crypto_acomp_decompress()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| BUF_SIZE | 0 | req | (-1),176 |
| BUF_SIZE | 0 | req | (-1),176 |
| CAPPED_DATA | 0 | req | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ui->ui_mutex |
fs/erofs/decompressor_crypto.c __z_erofs_crypto_decompress() -> crypto_acomp_decompress()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.complete | 1624078799481573376 |
| PARAM_VALUE | 0 | req->base.data | 3876212091128655872 |
| PARAM_VALUE | 0 | req->base.flags | 1024-1054,3072-3102 |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| PARAM_VALUE | 0 | req->dst | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | req->dvirt | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | req->src | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | req->svirt | 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 | |||
| LOCK2 | &pcl->lock | ||
| LOCK2 | global &z_erofs_crypto_rwsem | ||
| TYPE_LOCK | (struct z_erofs_pcluster)->lock |
crypto/acompress.c acomp_do_nondma() -> crypto_acomp_decompress()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 549740974122426368 |
| PARAM_VALUE | 0 | req->base.complete | 0 |
| PARAM_VALUE | 0 | req->base.data | 0 |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| BUF_SIZE | 0 | req | 176 |
| DATA_SOURCE | 0 | req | r acomp_fbreq_on_stack_init |
| NOSPEC | 0 | req->slen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | req->dlen | 0-2147483646[c] |
| HOST_DATA | 0 | req->slen | 0-u32max[c] |
| USER_DATA | 0 | req->dlen | 64-4031[c] |
| USER_DATA | 0 | req->slen | 128-4095[c] |
| HALF_LOCKED2 | &acomp_ctx->mutex |
kernel/power/swap.c decompress_threadfn() -> crypto_acomp_decompress()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.complete | 0 |
| PARAM_VALUE | 0 | req->base.data | 0 |
| PARAM_VALUE | 0 | req->base.flags | 542-572,2590-2620 |
| PARAM_VALUE | 0 | req->dlen | 131072 |
| PARAM_VALUE | 0 | req->src | 4096-ptr_max |
| PARAM_VALUE | 0 | req->svirt | 4096-ptr_max |
mm/zswap.c zswap_decompress() -> crypto_acomp_decompress()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->dlen | 4096 |
| PARAM_VALUE | 0 | req->dst | 2870627440652152832 |
| PARAM_VALUE | 0 | req->dvirt | 2870627440652152832 |
| PARAM_VALUE | 0 | req->slen | 0-4095,4097-u32max |
| PARAM_VALUE | 0 | req->src | 3342043836256006144 |
| PARAM_VALUE | 0 | req->svirt | 3342043836256006144 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &acomp_ctx->mutex | ||
| TYPE_LOCK | (struct crypto_acomp_ctx)->mutex |
crypto/testmgr.c test_acomp() -> crypto_acomp_decompress()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| PARAM_VALUE | 0 | req->dlen | 512 |
| PARAM_VALUE | 0 | req->dst | 6314964275871338496 |
| PARAM_VALUE | 0 | req->dvirt | 6314964275871338496 |
| PARAM_VALUE | 0 | req->src | 6893413365837684736 |
| PARAM_VALUE | 0 | req->svirt | 6893413365837684736 |
| BUF_SIZE | 0 | req | s32min-s32max |
| DATA_SOURCE | 0 | req | r acomp_request_alloc_extra_noprof |
| HALF_LOCKED2 | global &once_lock |
crypto/testmgr.c test_acomp() -> crypto_acomp_decompress()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.complete | 1624078799481573376 |
| PARAM_VALUE | 0 | req->base.data | 2851200260468441088 |
| PARAM_VALUE | 0 | req->base.flags | 0,1024-u32max |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| PARAM_VALUE | 0 | req->dlen | 512 |
| PARAM_VALUE | 0 | req->dst | 6314964275871338496 |
| PARAM_VALUE | 0 | req->dvirt | 6314964275871338496 |
| PARAM_VALUE | 0 | req->src | 6893413365837684736 |
| PARAM_VALUE | 0 | req->svirt | 6893413365837684736 |
| BUF_SIZE | 0 | req | s32min-s32max |
| DATA_SOURCE | 0 | req | r acomp_request_alloc_extra_noprof |
| HALF_LOCKED2 | global &once_lock |
drivers/crypto/intel/qat/qat_common/qat_comp_algs.c qat_comp_alg_sw_decompress() -> crypto_acomp_decompress()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| NOSPEC | 0 | req->slen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | req->dlen | 0-2147483646[c] |
| HOST_DATA | 0 | req->slen | 0-u32max[c] |
| USER_DATA | 0 | req->chain.ssg.length | 128-4095[c] |
| USER_DATA | 0 | req->chain.ssg.offset | 2-4095[c][u] |
| USER_DATA | 0 | req->dlen | 64-4031[c] |
| USER_DATA | 0 | req->slen | 128-4095[c] |
| NO_OVERFLOW_SIMPLE | 0 | req->chain.dsg.length | |
| HALF_LOCKED2 | &acomp_ctx->mutex |
drivers/crypto/intel/qat/qat_common/qat_comp_algs.c qat_comp_alg_zstd_decompress() -> crypto_acomp_decompress()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| PARAM_VALUE | 0 | req->src | 4096-ptr_max |
| NOSPEC | 0 | req->slen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | req->dlen | 0-2147483646[c] |
| HOST_DATA | 0 | req->slen | 0-u32max[c] |
| USER_DATA | 0 | req->chain.ssg.length | 128-4095[c] |
| USER_DATA | 0 | req->chain.ssg.offset | 2-4095[c][u] |
| USER_DATA | 0 | req->dlen | 64-4031[c] |
| USER_DATA | 0 | req->slen | 128-4095[c] |
| NO_OVERFLOW_SIMPLE | 0 | req->chain.dsg.length | |
| HALF_LOCKED2 | &acomp_ctx->mutex |
drivers/crypto/intel/iaa/iaa_crypto_main.c deflate_generic_decompress() -> crypto_acomp_decompress()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4136536045640179712 |
| PARAM_VALUE | 0 | req->base.complete | 0 |
| PARAM_VALUE | 0 | req->base.data | 0 |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| BUF_SIZE | 0 | req | 176 |
| DATA_SOURCE | 0 | req | r acomp_fbreq_on_stack_init |
| NOSPEC | 0 | req->slen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | req->dlen | 0-2147483646[c] |
| HOST_DATA | 0 | req->slen | 1-u32max[c] |
| USER_DATA | 0 | req->dlen | 64-4031[c] |
| USER_DATA | 0 | req->slen | 128-4095[c] |
net/xfrm/xfrm_ipcomp.c ipcomp_decompress() -> crypto_acomp_decompress()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.complete | 1162803422486376448 |
| PARAM_VALUE | 0 | req->base.data | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.flags | 0,2-30,2048,2050-2078 |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| PARAM_VALUE | 0 | req->dst | 0 |
| PARAM_VALUE | 0 | req->dvirt | 0 |
| PARAM_VALUE | 0 | req->src | 4096-ptr_max |
| PARAM_VALUE | 0 | req->svirt | 4096-ptr_max |
| BUF_SIZE | 0 | req | s32min-s32max |
| DATA_SOURCE | 0 | req | r ipcomp_setup_req |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | req->dlen | 0-2147483646[c] |
| HOST_DATA | 0 | req->slen | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | req->slen |
drivers/crypto/hisilicon/zip/zip_crypto.c hisi_zip_fallback_do_work() -> crypto_acomp_decompress()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 209177456705826816 |
| PARAM_VALUE | 0 | req->base.complete | 0 |
| PARAM_VALUE | 0 | req->base.data | 0 |
| PARAM_VALUE | 0 | req->base.tfm | 4096-ptr_max |
| BUF_SIZE | 0 | req | 176 |
| DATA_SOURCE | 0 | req | r acomp_fbreq_on_stack_init |
| NOSPEC | 0 | req->slen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | req->dlen | 0-2147483646[c] |
| HOST_DATA | 0 | req->slen | 0-u32max[c] |
| USER_DATA | 0 | req->dlen | 64-4031[c] |
| USER_DATA | 0 | req->slen | 128-4095[c] |
| HALF_LOCKED2 | &acomp_ctx->mutex |