Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/erofs/decompressor_crypto.c acomp_request_alloc_extra_noprof() -> acomp_request_set_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 16,4096-ptr_max |
| PARAM_VALUE | 1 | tfm | 4096-ptr_max |
| BUF_SIZE | 0 | req | 0-u64max |
| DATA_SOURCE | 0 | req | r _kzalloc_noprof |
| DATA_SOURCE | 1 | tfm | $0 |
| MEM_ZERO | 0 | req | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &pcl->lock | ||
| LOCK2 | global &z_erofs_crypto_rwsem | ||
| TYPE_LOCK | (struct z_erofs_pcluster)->lock |
kernel/power/swap.c acomp_request_alloc_extra_noprof() -> acomp_request_set_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 16,4096-ptr_max |
| PARAM_VALUE | 1 | tfm | 4096-ptr_max |
| BUF_SIZE | 0 | req | 0-u64max |
| DATA_SOURCE | 0 | req | r _kzalloc_noprof |
| DATA_SOURCE | 1 | tfm | $0 |
| MEM_ZERO | 0 | req | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &device_hotplug_lock | ||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | &of->mutex |
mm/zswap.c acomp_request_alloc_extra_noprof() -> acomp_request_set_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 16,4096-ptr_max |
| PARAM_VALUE | 1 | tfm | 4096-ptr_max |
| BUF_SIZE | 0 | req | 0-u64max |
| DATA_SOURCE | 0 | req | r _kzalloc_noprof |
| DATA_SOURCE | 1 | tfm | $0 |
| MEM_ZERO | 0 | req | |
| NOCHECK_CALL |
crypto/testmgr.c acomp_request_alloc_extra_noprof() -> acomp_request_set_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 16,4096-ptr_max |
| PARAM_VALUE | 1 | tfm | 4096-ptr_max |
| BUF_SIZE | 0 | req | 0-u64max |
| DATA_SOURCE | 0 | req | r _kzalloc_noprof |
| DATA_SOURCE | 1 | tfm | $0 |
| MEM_ZERO | 0 | req | |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &once_lock |
drivers/crypto/intel/qat/qat_common/qat_comp_algs.c qat_comp_alg_lz4s_zstd_compress() -> acomp_request_set_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOSPEC | 0 | req->slen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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_sw_decompress() -> acomp_request_set_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOSPEC | 0 | req->slen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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() -> acomp_request_set_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOSPEC | 0 | req->slen | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 |
net/xfrm/xfrm_ipcomp.c acomp_request_alloc_extra_noprof() -> acomp_request_set_tfm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 16,4096-ptr_max |
| PARAM_VALUE | 1 | tfm | 4096-ptr_max |
| BUF_SIZE | 0 | req | 0-u64max |
| DATA_SOURCE | 0 | req | r _kzalloc_noprof |
| DATA_SOURCE | 1 | tfm | $0 |
| MEM_ZERO | 0 | req | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |