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_nl.c drbd_nl_chg_net_opts_doit() -> __drbd_send_protocol()

Type Parameter Key Value
PARAM_VALUE 0 connection 4096-ptr_max
PARAM_VALUE 0 connection->agreed_pro_version 100-s32max
PARAM_VALUE 0 connection->cstate 9-u32max
PARAM_VALUE 0 connection->data.mutex.dep_map->name 0-255
PARAM_VALUE 0 connection->data.mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 connection->data.mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 connection->data.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 connection->data.mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 connection->data.mutex.wait_lock.owner (-1)
PARAM_VALUE 0 connection->data.mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 connection->integrity_tfm 0-ptr_max
PARAM_VALUE 0 connection->net_conf 4096-ptr_max
PARAM_VALUE 0 connection->resource->conf_update.dep_map->name 0-255
PARAM_VALUE 0 connection->resource->conf_update.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 connection->resource->conf_update.osq.tail.counter 0-s32max
PARAM_VALUE 0 connection->resource->conf_update.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 connection->resource->conf_update.wait_lock.owner (-1)
PARAM_VALUE 0 connection->resource->conf_update.wait_lock.owner_cpu u32max
PARAM_VALUE 0 connection->sender_work.q.prev 4096-ptr_max
PARAM_VALUE 0 connection->sender_work.q.prev->next 4096-ptr_max
PARAM_VALUE 0 connection->sender_work.q.prev->next->next 4096-ptr_max
PARAM_VALUE 0 connection->sender_work.q_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 connection->worker.reset_cpu_mask 1
PARAM_VALUE 0 connection->worker.stop.done 0
PARAM_VALUE 0 connection->worker.stop.wait.lock.magic 3735899821
PARAM_VALUE 0 connection->worker.stop.wait.lock.owner (-1)
PARAM_VALUE 0 connection->worker.stop.wait.lock.owner_cpu u32max
PARAM_VALUE 0 connection->worker.stop.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 connection->worker.stop.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 connection->worker.stop.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 connection->worker.stop.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 connection->worker.stop.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 connection->worker.t_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 connection->worker.t_state 1,3
PARAM_VALUE 0 connection->worker.task 4096-ptr_max
PARAM_VALUE 1 cmd 45
CAPPED_DATA 0 connection->peer_devices.idr_base 1
CAPPED_DATA 0 &connection->data.mutex 1
CAPPED_DATA 0 &connection->resource->conf_update 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &adm_ctx->resource->adm_mutex
LOCK2 0 &connection->data.mutex
LOCK2 0 &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_main.c drbd_send_protocol() -> __drbd_send_protocol()

Type Parameter Key Value
PARAM_VALUE 0 connection->data.mutex.dep_map->name 0-255
PARAM_VALUE 0 connection->data.mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 connection->data.mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 connection->data.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 connection->data.mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 connection->data.mutex.wait_lock.owner (-1)
PARAM_VALUE 0 connection->data.mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 cmd 11
CAPPED_DATA 0 &connection->data.mutex 1
DATA_SOURCE 0 connection $0
LOCK2 0 &connection->data.mutex
TYPE_LOCK (struct drbd_socket)->mutex