Defined in 2 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/block/drbd/drbd_nl.c alloc_crypto() -> alloc_shash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4149432039017648136,8398650722739081224 |
| PARAM_VALUE | 0 | *tfm | 0 |
| PARAM_VALUE | 2 | err_alg | 144 |
| BUF_SIZE | 1 | tfm_name | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *tfm_name | 0-255[u] |
| USER_PTR | 1 | tfm_name | |
| LOCK2 | &adm_ctx->resource->adm_mutex | ||
| HALF_LOCKED2 | &connection->data.mutex | ||
| HALF_LOCKED2 | &connection->resource->conf_update | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| 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 &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct drbd_resource)->adm_mutex |
drivers/block/drbd/drbd_nl.c alloc_crypto() -> alloc_shash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4149432039017648128,8398650722739081216 |
| PARAM_VALUE | 0 | *tfm | 0 |
| PARAM_VALUE | 2 | err_alg | 146 |
| BUF_SIZE | 1 | tfm_name | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *tfm_name | 0-255 |
| USER_PTR | 1 | tfm_name | |
| LOCK2 | &adm_ctx->resource->adm_mutex | ||
| HALF_LOCKED2 | &connection->data.mutex | ||
| HALF_LOCKED2 | &connection->resource->conf_update | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| 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 &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct drbd_resource)->adm_mutex |
drivers/block/drbd/drbd_nl.c alloc_crypto() -> alloc_shash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4149432039017648152,8398650722739081240 |
| PARAM_VALUE | 0 | *tfm | 0 |
| PARAM_VALUE | 2 | err_alg | 141 |
| BUF_SIZE | 1 | tfm_name | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *tfm_name | 0-255 |
| USER_PTR | 1 | tfm_name | |
| LOCK2 | &adm_ctx->resource->adm_mutex | ||
| HALF_LOCKED2 | &connection->data.mutex | ||
| HALF_LOCKED2 | &connection->resource->conf_update | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| 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 &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct drbd_resource)->adm_mutex |
drivers/block/drbd/drbd_nl.c alloc_crypto() -> alloc_shash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfm | 4149432039017648144,8398650722739081232 |
| PARAM_VALUE | 0 | *tfm | 0 |
| PARAM_VALUE | 1 | tfm_name | 4892218820941676544 |
| PARAM_VALUE | 2 | err_alg | 120 |
| BUF_SIZE | 1 | tfm_name | 128 |
| STR_LEN | 0 | tfm | 127 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adm_ctx->resource->adm_mutex | ||
| HALF_LOCKED2 | &connection->data.mutex | ||
| HALF_LOCKED2 | &connection->resource->conf_update | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| 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 &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct drbd_resource)->adm_mutex |
crypto/testmgr.c __alg_test_hash() -> alloc_shash()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | err_alg | 0,1024 |
| PARAM_VALUE | 3 | tfm_ret | 876396371359166464 |
| PARAM_VALUE | 3 | *tfm_ret | 0 |
| PARAM_VALUE | 4 | desc_ret | 8005337410263052288 |
| PARAM_VALUE | 4 | *desc_ret | 0 |
| BUF_SIZE | 0 | tfm | 128 |
| BUF_SIZE | 0 | tfm | 128 |
| DATA_SOURCE | 0 | tfm | r crypto_ahash_driver_name |
| DATA_SOURCE | 1 | tfm_name | $3 |
| DATA_SOURCE | 2 | err_alg | $4 |
| HARD_MAX | 2 | err_alg | 1024 |
| HALF_LOCKED2 | global &once_lock |