Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/block/drbd/drbd_nl.c drbd_nl_chg_net_opts_doit() -> alloc_crypto()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | crypto | 8398650722739081216 |
| PARAM_VALUE | 0 | crypto->cram_hmac_tfm | 0 |
| PARAM_VALUE | 0 | crypto->csums_tfm | 0 |
| PARAM_VALUE | 0 | crypto->integrity_tfm | 0 |
| PARAM_VALUE | 0 | crypto->verify_tfm | 0 |
| PARAM_VALUE | 1 | new_net_conf | 4096-ptr_max |
| PARAM_VALUE | 1 | *new_net_conf->cram_hmac_alg | 0-255 |
| PARAM_VALUE | 1 | *new_net_conf->csums_alg | 0-255 |
| PARAM_VALUE | 1 | *new_net_conf->integrity_alg | 0-255 |
| PARAM_VALUE | 1 | *new_net_conf->shared_secret | 0-255 |
| PARAM_VALUE | 1 | *new_net_conf->verify_alg | 0-255 |
| BUF_SIZE | 1 | new_net_conf | 424 |
| DATA_SOURCE | 1 | new_net_conf | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *new_net_conf->cram_hmac_alg | 0-255 |
| USER_DATA | 1 | *new_net_conf->csums_alg | 0-255 |
| USER_DATA | 1 | *new_net_conf->integrity_alg | 0-255 |
| USER_DATA | 1 | *new_net_conf->shared_secret | 0-255 |
| USER_DATA | 1 | *new_net_conf->verify_alg | 0-255 |
| USER_PTR | 1 | new_net_conf->cram_hmac_alg | |
| USER_PTR | 1 | new_net_conf->csums_alg | |
| USER_PTR | 1 | new_net_conf->integrity_alg | |
| USER_PTR | 1 | new_net_conf->shared_secret | |
| USER_PTR | 1 | new_net_conf->verify_alg | |
| LOCK2 | &adm_ctx->resource->adm_mutex | ||
| LOCK2 | &connection->data.mutex | ||
| LOCK2 | &connection->resource->conf_update | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| 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 &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 | ||
| TYPE_LOCK | (struct drbd_resource)->conf_update | ||
| TYPE_LOCK | (struct drbd_socket)->mutex |
drivers/block/drbd/drbd_nl.c drbd_nl_connect_doit() -> alloc_crypto()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | crypto | 4149432039017648128 |
| PARAM_VALUE | 0 | crypto->cram_hmac_tfm | 0 |
| PARAM_VALUE | 0 | crypto->csums_tfm | 0 |
| PARAM_VALUE | 0 | crypto->integrity_tfm | 0 |
| PARAM_VALUE | 0 | crypto->verify_tfm | 0 |
| PARAM_VALUE | 1 | new_net_conf | 4096-ptr_max |
| PARAM_VALUE | 1 | *new_net_conf->cram_hmac_alg | 0-255 |
| PARAM_VALUE | 1 | *new_net_conf->csums_alg | 0-255 |
| PARAM_VALUE | 1 | *new_net_conf->integrity_alg | 0-255 |
| PARAM_VALUE | 1 | *new_net_conf->shared_secret | 0-255 |
| PARAM_VALUE | 1 | *new_net_conf->verify_alg | 0-255 |
| BUF_SIZE | 1 | new_net_conf | 424 |
| DATA_SOURCE | 1 | new_net_conf | r _kzalloc_noprof |
| MEM_ZERO | 1 | new_net_conf->cram_hmac_alg | |
| MEM_ZERO | 1 | new_net_conf->csums_alg | |
| MEM_ZERO | 1 | new_net_conf->integrity_alg | |
| MEM_ZERO | 1 | new_net_conf->shared_secret | |
| MEM_ZERO | 1 | new_net_conf->verify_alg | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *new_net_conf->cram_hmac_alg | 0-255 |
| USER_DATA | 1 | *new_net_conf->csums_alg | 0-255 |
| USER_DATA | 1 | *new_net_conf->integrity_alg | 0-255 |
| USER_DATA | 1 | *new_net_conf->shared_secret | 0-255 |
| USER_DATA | 1 | *new_net_conf->verify_alg | 0-255 |
| USER_PTR | 1 | new_net_conf->cram_hmac_alg | |
| USER_PTR | 1 | new_net_conf->csums_alg | |
| USER_PTR | 1 | new_net_conf->integrity_alg | |
| USER_PTR | 1 | new_net_conf->shared_secret | |
| USER_PTR | 1 | new_net_conf->verify_alg | |
| LOCK2 | &adm_ctx->resource->adm_mutex | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| 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 &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 |