Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/block/drbd/drbd_state.c notify_peer_device_state_change() -> notify_peer_device_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 0,4096-ptr_max |
| PARAM_VALUE | 0 | skb->data | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0-1 |
| PARAM_VALUE | 0 | skb->destructor | 172217845709488128 |
| PARAM_VALUE | 0 | skb->sk | 4096-ptr_max |
| PARAM_VALUE | 3 | peer_device_info | 8818919109938769920 |
| PARAM_VALUE | 3 | peer_device_info->peer_resync_susp_dependency | 0-1 |
| PARAM_VALUE | 3 | peer_device_info->peer_resync_susp_peer | 0-1 |
| PARAM_VALUE | 3 | peer_device_info->peer_resync_susp_user | 0-1 |
| PARAM_VALUE | 4 | type | 0,2,32768,32770 |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| DATA_SOURCE | 0 | skb | $0 |
| DATA_SOURCE | 1 | seq | $1 |
| DATA_SOURCE | 4 | type | $3 |
| BIT_INFO | 4 | type | 0x0,0x8002 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global ¬ification_mutex |
drivers/block/drbd/drbd_state.c w_after_conn_state_ch() -> notify_peer_device_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 0 |
| PARAM_VALUE | 1 | seq | 0 |
| PARAM_VALUE | 2 | peer_device | 1-u64max |
| PARAM_VALUE | 3 | peer_device_info | 0 |
| PARAM_VALUE | 4 | type | 32771 |
| DATA_SOURCE | 2 | peer_device | r idr_get_next |
| NOCHECK_CALL | |||
| LOCK2 | global ¬ification_mutex |
drivers/block/drbd/drbd_nl.c adm_del_minor() -> notify_peer_device_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 0 |
| PARAM_VALUE | 1 | seq | 0 |
| PARAM_VALUE | 2 | peer_device | 4096-ptr_max |
| PARAM_VALUE | 2 | peer_device->connection | 4096-ptr_max |
| PARAM_VALUE | 2 | peer_device->connection->net_conf | 1 |
| PARAM_VALUE | 3 | peer_device_info | 0 |
| PARAM_VALUE | 4 | type | 32771 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global ¬ification_mutex | ||
| HALF_LOCKED2 | &adm_ctx->resource->adm_mutex | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &resource->adm_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 drbd_nl_connect_doit() -> notify_peer_device_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 0 |
| PARAM_VALUE | 1 | seq | 0 |
| PARAM_VALUE | 2 | peer_device | 4096-ptr_max |
| PARAM_VALUE | 2 | peer_device->device | 4096-ptr_max |
| PARAM_VALUE | 2 | peer_device->device->ldev->md.uuid_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | peer_device_info | 3218643499113095168 |
| PARAM_VALUE | 3 | peer_device_info->peer_disk_state | 0-15 |
| PARAM_VALUE | 3 | peer_device_info->peer_repl_state | 9-31 |
| PARAM_VALUE | 3 | peer_device_info->peer_resync_susp_dependency | 0-1 |
| PARAM_VALUE | 3 | peer_device_info->peer_resync_susp_peer | 0-1 |
| PARAM_VALUE | 3 | peer_device_info->peer_resync_susp_user | 0-1 |
| PARAM_VALUE | 4 | type | 1,32769 |
| DATA_SOURCE | 2 | peer_device | r idr_get_next |
| BIT_INFO | 4 | type | 0x1,0x8001 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &adm_ctx->resource->adm_mutex | ||
| LOCK2 | &adm_ctx->resource->conf_update | ||
| LOCK2 | global ¬ification_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 | ||
| TYPE_LOCK | (struct drbd_resource)->conf_update |
drivers/block/drbd/drbd_nl.c drbd_nl_new_minor_doit() -> notify_peer_device_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 0 |
| PARAM_VALUE | 1 | seq | 0 |
| PARAM_VALUE | 2 | peer_device | 4096-ptr_max |
| PARAM_VALUE | 2 | peer_device->connection | 4096-ptr_max |
| PARAM_VALUE | 2 | peer_device->connection->net_conf | 1 |
| PARAM_VALUE | 2 | peer_device->device | 4096-ptr_max |
| PARAM_VALUE | 3 | peer_device_info | 1694267516870975488 |
| PARAM_VALUE | 3 | peer_device_info->peer_disk_state | 0-15 |
| PARAM_VALUE | 3 | peer_device_info->peer_repl_state | 9-31 |
| PARAM_VALUE | 3 | peer_device_info->peer_resync_susp_dependency | 0-1 |
| PARAM_VALUE | 3 | peer_device_info->peer_resync_susp_peer | 0-1 |
| PARAM_VALUE | 3 | peer_device_info->peer_resync_susp_user | 0-1 |
| PARAM_VALUE | 4 | type | 1,32769 |
| BIT_INFO | 4 | type | 0x1,0x8001 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &adm_ctx->resource->adm_mutex | ||
| LOCK2 | global ¬ification_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 |