Documented in 1 files:
Defined in 1 files as a function:
Referenced in 7 files:
- crypto/testmgr.c
- fs/erofs/decompressor_crypto.c, line 42
- fs/ubifs/compress.c
- include/crypto/internal/acompress.h, line 235
- kernel/power/swap.c
- mm/zswap.c, line 829
- net/xfrm/xfrm_ipcomp.c
Smatch caller information:
fs/ubifs/compress.c ubifs_compress_common() -> acomp_request_set_callback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 255322972757065728 |
| PARAM_VALUE | 0 | req->base.flags | 2048 |
| PARAM_VALUE | 1 | flgs | 0 |
| PARAM_VALUE | 2 | cmpl | 0 |
| PARAM_VALUE | 3 | data | 0 |
| BUF_SIZE | 0 | req | 176 |
| DATA_SOURCE | 0 | req | r acomp_request_on_stack_init |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ui->ui_mutex |
fs/ubifs/compress.c ubifs_compress_common() -> acomp_request_set_callback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 1 | flgs | 1024 |
| PARAM_VALUE | 3 | data | 2280787204419108864 |
| BUF_SIZE | 0 | req | (-1),176 |
| BUF_SIZE | 0 | req | (-1),176 |
| BUF_SIZE | 3 | data | 104 |
| CAPPED_DATA | 0 | req | 1 |
| NOSPEC | 0 | req->chain.ssg.length | |
| NOSPEC | 0 | req->chain.ssg.offset | |
| NOSPEC | 0 | req->slen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | req->__ctx->acompress_req->chain.ssg.length | 128-4095[c] |
| USER_DATA | 0 | req->__ctx->acompress_req->chain.ssg.offset | 2-4095[c][u] |
| USER_DATA | 0 | req->__ctx->acompress_req->dlen | 64-4031[c] |
| USER_DATA | 0 | req->__ctx->acompress_req->slen | 128-4095[c] |
| USER_DATA | 0 | req->__ctx->actual_dlen | 65-4031[c] |
| USER_DATA | 0 | req->__ctx->chain.ssg.length | 128-4095[c] |
| USER_DATA | 0 | req->__ctx->chain.ssg.offset | 2-4095[c][u] |
| USER_DATA | 0 | req->__ctx->dlen | 64-4031[c] |
| USER_DATA | 0 | req->__ctx->slen | 128-4095[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] |
| USER_DATA | 0 | req->src->length | 0,128-4095[c] |
| USER_DATA | 0 | req->src->offset | 0,2-4095[c][u] |
| HALF_LOCKED2 | &ui->ui_mutex |
fs/ubifs/compress.c ubifs_decompress_common() -> acomp_request_set_callback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 7922442154943987712 |
| PARAM_VALUE | 0 | req->base.flags | 2048 |
| PARAM_VALUE | 1 | flgs | 1024 |
| PARAM_VALUE | 3 | data | 5693652132718608384 |
| BUF_SIZE | 0 | req | 176 |
| BUF_SIZE | 3 | data | 104 |
| DATA_SOURCE | 0 | req | r acomp_request_on_stack_init |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ui->ui_mutex |
fs/erofs/decompressor_crypto.c __z_erofs_crypto_decompress() -> acomp_request_set_callback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.flags | 0 |
| PARAM_VALUE | 1 | flgs | 1024 |
| PARAM_VALUE | 3 | data | 3876212091128655872 |
| BUF_SIZE | 0 | req | s32min-s32max |
| BUF_SIZE | 3 | data | 104 |
| DATA_SOURCE | 0 | req | r acomp_request_alloc_extra_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &pcl->lock | ||
| LOCK2 | global &z_erofs_crypto_rwsem | ||
| TYPE_LOCK | (struct z_erofs_pcluster)->lock |
crypto/acompress.c acomp_fbreq_on_stack_init() -> acomp_request_set_callback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 549740974122426368 |
| PARAM_VALUE | 0 | req->base.flags | 2048 |
| PARAM_VALUE | 2 | cmpl | 0 |
| PARAM_VALUE | 3 | data | 0 |
| BUF_SIZE | 0 | req | 176 |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &acomp_ctx->mutex |
kernel/power/swap.c compress_threadfn() -> acomp_request_set_callback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flgs | 512 |
| PARAM_VALUE | 2 | cmpl | 0 |
| PARAM_VALUE | 3 | data | 0 |
| NOCHECK_CALL |
kernel/power/swap.c decompress_threadfn() -> acomp_request_set_callback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flgs | 512 |
| PARAM_VALUE | 2 | cmpl | 0 |
| PARAM_VALUE | 3 | data | 0 |
| NOCHECK_CALL |
mm/zswap.c zswap_cpu_comp_prepare() -> acomp_request_set_callback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.flags | 0 |
| PARAM_VALUE | 1 | flgs | 1024 |
| PARAM_VALUE | 3 | data | 4096-ptr_max |
| BUF_SIZE | 0 | req | s32min-s32max |
| BUF_SIZE | 3 | data | 104 |
| DATA_SOURCE | 0 | req | r acomp_request_alloc_extra_noprof |
| NOCHECK_CALL |
crypto/testmgr.c test_acomp() -> acomp_request_set_callback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.flags | 0 |
| PARAM_VALUE | 1 | flgs | 1024 |
| PARAM_VALUE | 3 | data | 2851200260468441088 |
| BUF_SIZE | 0 | req | s32min-s32max |
| BUF_SIZE | 3 | data | 104 |
| DATA_SOURCE | 0 | req | r acomp_request_alloc_extra_noprof |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &once_lock |
crypto/testmgr.c test_acomp() -> acomp_request_set_callback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.flags | 0 |
| PARAM_VALUE | 1 | flgs | 1024 |
| PARAM_VALUE | 3 | data | 2851200260468441088 |
| BUF_SIZE | 0 | req | s32min-s32max |
| BUF_SIZE | 3 | data | 104 |
| DATA_SOURCE | 0 | req | r acomp_request_alloc_extra_noprof |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &once_lock |
drivers/crypto/intel/iaa/iaa_crypto_main.c acomp_fbreq_on_stack_init() -> acomp_request_set_callback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4136536045640179712 |
| PARAM_VALUE | 0 | req->base.flags | 2048 |
| PARAM_VALUE | 2 | cmpl | 0 |
| PARAM_VALUE | 3 | data | 0 |
| BUF_SIZE | 0 | req | 176 |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/xfrm/xfrm_ipcomp.c ipcomp_compress() -> acomp_request_set_callback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.flags | 0 |
| PARAM_VALUE | 1 | flgs | 0 |
| PARAM_VALUE | 3 | data | 4096-ptr_max |
| BUF_SIZE | 0 | req | s32min-s32max |
| BUF_SIZE | 3 | data | (-1)-s32max |
| DATA_SOURCE | 0 | req | r ipcomp_setup_req |
| DATA_SOURCE | 3 | data | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | req->dlen | 0-2147483646[c] |
| HOST_DATA | 0 | req->slen | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | req->slen |
net/xfrm/xfrm_ipcomp.c ipcomp_decompress() -> acomp_request_set_callback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 4096-ptr_max |
| PARAM_VALUE | 0 | req->base.flags | 0 |
| PARAM_VALUE | 1 | flgs | 0 |
| PARAM_VALUE | 3 | data | 4096-ptr_max |
| BUF_SIZE | 0 | req | s32min-s32max |
| BUF_SIZE | 3 | data | (-1)-s32max |
| DATA_SOURCE | 0 | req | r ipcomp_setup_req |
| DATA_SOURCE | 3 | data | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 acomp_fbreq_on_stack_init() -> acomp_request_set_callback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 209177456705826816 |
| PARAM_VALUE | 0 | req->base.flags | 2048 |
| PARAM_VALUE | 2 | cmpl | 0 |
| PARAM_VALUE | 3 | data | 0 |
| BUF_SIZE | 0 | req | 176 |
| DATA_SOURCE | 0 | req | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &acomp_ctx->mutex |