Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- crypto/acompress.c
- crypto/testmgr.c, line 3468
- fs/erofs/decompressor_crypto.c, line 137
- fs/ubifs/compress.c, line 307
- kernel/power/swap.c
- net/xfrm/xfrm_ipcomp.c, line 347
Smatch caller information:
fs/ubifs/compress.c compr_init() -> crypto_alloc_acomp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 545371026021556224,2444463193364623360,3732257046724517888,4602998933304729600 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 0 |
fs/erofs/decompressor_crypto.c z_erofs_crypto_enable_engine() -> crypto_alloc_acomp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 1-u64max |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &z_erofs_crypto_rwsem | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
crypto/acompress.c crypto_acomp_init_tfm() -> crypto_alloc_acomp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 128 |
| BUF_SIZE | 0 | alg_name | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/power/swap.c load_compressed_image() -> crypto_alloc_acomp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 3243880179344596992 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 128 |
| BUF_SIZE | 0 | alg_name | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &device_hotplug_lock | ||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | &of->mutex |
kernel/power/swap.c save_compressed_image() -> crypto_alloc_acomp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg_name | 3243880179344596992 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 128 |
| BUF_SIZE | 0 | alg_name | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &device_hotplug_lock | ||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &autosleep_lock |
crypto/testmgr.c alg_test_comp() -> crypto_alloc_acomp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | mask | 0,1024 |
| BUF_SIZE | 0 | alg_name | (-1),128 |
| BUF_SIZE | 0 | alg_name | (-1),128 |
| DATA_SOURCE | 0 | alg_name | $1 |
| DATA_SOURCE | 1 | type | $2 |
| DATA_SOURCE | 2 | mask | $3 |
| HARD_MAX | 2 | mask | 1024 |
| HALF_LOCKED2 | global &once_lock |
net/xfrm/xfrm_ipcomp.c ipcomp_init_state() -> crypto_alloc_acomp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | mask | 0 |
| BUF_SIZE | 0 | alg_name | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex |