Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
crypto/crypto_user.c crypto_update_alg() -> crypto_remove_spawns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg | 4096-ptr_max |
| PARAM_VALUE | 0 | alg->cra_module | 0,4096-ptr_max |
| PARAM_VALUE | 1 | list | 6533654278660145152 |
| PARAM_VALUE | 1 | list->next | 6533654278660145152 |
| PARAM_VALUE | 1 | list->prev | 6533654278660145152 |
| PARAM_VALUE | 2 | nalg | 0 |
| DATA_SOURCE | 0 | alg | r crypto_alg_match |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &crypto_alg_sem | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
crypto/algapi.c crypto_alg_finish_registration() -> crypto_remove_spawns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg | 4096-ptr_max |
| PARAM_VALUE | 1 | list | 26440949862793216,2821881939076640768,7236263254101204992 |
| PARAM_VALUE | 1 | list->next | 26440949862793216,2821881939076640768,7236263254101204992 |
| PARAM_VALUE | 1 | list->prev | 26440949862793216,2821881939076640768,7236263254101204992 |
| PARAM_VALUE | 2 | nalg | 4096-ptr_max |
| PARAM_VALUE | 2 | nalg->cra_flags | 0,1024-u32max |
| PARAM_VALUE | 2 | nalg->cra_type->algsize | 0,32,48,56,64,72,88,104,112,1144 |
| BUF_SIZE | 2 | nalg->cra_type | (-1),80 |
| CAPPED_DATA | 2 | nalg | 1 |
| DATA_SOURCE | 1 | list | $1 |
| DATA_SOURCE | 2 | nalg | $0 |
| STR_LEN | 2 | nalg->cra_driver_name | (-1),127 |
| PARAM_COMPARE | 0 | alg | != $2 |
| PARAM_COMPARE | 2 | nalg | != $0 |
| PARAM_COMPARE | 2 | nalg | != $0 |
| BIT_INFO | 2 | nalg->cra_flags | 0x400,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | alg | unit_byte |
| UNITS | 2 | nalg | unit_byte |
| LOCK2 | global &crypto_alg_sem |
crypto/algapi.c crypto_remove_alg() -> crypto_remove_spawns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg | 4096-ptr_max |
| PARAM_VALUE | 0 | alg->cra_flags | 0,32-u32max |
| PARAM_VALUE | 0 | alg->cra_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | alg->cra_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | list | 260534387441795072,5394327043538546688 |
| PARAM_VALUE | 1 | list->next | 260534387441795072,5394327043538546688 |
| PARAM_VALUE | 1 | list->prev | 260534387441795072,5394327043538546688 |
| PARAM_VALUE | 2 | nalg | 0 |
| DATA_SOURCE | 0 | alg | $0 |
| DATA_SOURCE | 1 | list | $1 |
| BIT_INFO | 0 | alg->cra_flags | 0x20,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | alg | unit_byte |
| LOCK2 | global &crypto_alg_sem |
crypto/algapi.c crypto_unregister_instance() -> crypto_remove_spawns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | alg | 4096-ptr_max |
| PARAM_VALUE | 1 | list | 1870275000672391168 |
| PARAM_VALUE | 1 | list->next | 1870275000672391168 |
| PARAM_VALUE | 1 | list->prev | 1870275000672391168 |
| PARAM_VALUE | 2 | nalg | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &crypto_alg_sem | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |