Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/block/drbd/drbd_state.c w_after_conn_state_ch() -> _tl_restart()

Type Parameter Key Value
PARAM_VALUE 0 connection 4096-ptr_max
PARAM_VALUE 0 connection->resource 4096-ptr_max
PARAM_VALUE 0 connection->resource->req_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 what 11
CAPPED_DATA 0 connection->peer_devices.idr_base 1
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 irq
LOCK2 0 &connection->resource->req_lock
TYPE_LOCK (struct drbd_resource)->req_lock

drivers/block/drbd/drbd_nl.c conn_try_outdate_peer() -> _tl_restart()

Type Parameter Key Value
PARAM_VALUE 0 connection 4096-ptr_max
PARAM_VALUE 0 connection->cstate_mutex.dep_map->name 0-255
PARAM_VALUE 0 connection->cstate_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 connection->cstate_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 connection->cstate_mutex.first_waiter->list.prev->prev 0,5159360019465732096
PARAM_VALUE 0 connection->cstate_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 connection->cstate_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 connection->data.sbuf->command 18,42
PARAM_VALUE 0 connection->data.sbuf->length 0-s32max
PARAM_VALUE 0 connection->data.sbuf->magic 33626,2205418087,2250304544
PARAM_VALUE 0 connection->data.sbuf->pad 0
PARAM_VALUE 0 connection->data.socket->sk->__sk_common.skc_net.net->mctp.bind_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 connection->data.socket->sk->listener->__sk_common.skc_net.net->notrefcnt_tracker.dead 1
PARAM_VALUE 0 connection->data.socket->sk->listener->__sk_common.skc_net.net->refcnt_tracker.dead 1
PARAM_VALUE 0 connection->data.socket->sk->listener->local_addr.svm_cid 4294967295
PARAM_VALUE 0 connection->data.socket->sk->listener->local_addr.svm_family 40
PARAM_VALUE 0 connection->data.socket->sk->listener->local_addr.svm_port 4294967295
PARAM_VALUE 0 connection->data.socket->sk->listener->remote_addr.svm_cid 4294967295
PARAM_VALUE 0 connection->data.socket->sk->listener->remote_addr.svm_family 40
PARAM_VALUE 0 connection->data.socket->sk->listener->remote_addr.svm_port 4294967295
PARAM_VALUE 0 connection->data.socket->sk->listener->sk_lock.owned 1
PARAM_VALUE 0 connection->data.socket->sk->listener->sk_prot_creator->owner->refcnt.counter 0-s32max
PARAM_VALUE 0 connection->data.socket->sk->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 connection->data.socket->sk->ns_tracker->dead 0-1
PARAM_VALUE 0 connection->data.socket->sk->ns_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 connection->data.socket->sk->sk_backlog.head->cb->type 4
PARAM_VALUE 0 connection->data.socket->sk->sk_backlog.head->dev->flags 1-u32max
PARAM_VALUE 0 connection->data.socket->sk->sk_backlog.head->extensions->refcnt.refs.counter 1
PARAM_VALUE 0 connection->data.socket->sk->sk_dst_cache->callback_head.flags 0-4294967295
PARAM_VALUE 0 connection->data.socket->sk->sk_dst_cache->callback_head.is_hard 0-1
PARAM_VALUE 0 connection->data.socket->sk->sk_dst_cache->callback_head.is_lazy 0-1
PARAM_VALUE 0 connection->data.socket->sk->sk_dst_cache->callback_head.is_queued 0-1
PARAM_VALUE 0 connection->data.socket->sk->sk_dst_cache->callback_head.is_soft 0-1
PARAM_VALUE 0 connection->data.socket->sk->sk_filter->refcnt.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 connection->data.socket->sk->sk_lock.dep_map->name 0-255
PARAM_VALUE 0 connection->data.socket->sk->sk_lock.slock.rlock.dep_map->name 0-255
PARAM_VALUE 0 connection->data.socket->sk->sk_lock.wq.head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 connection->data.socket->sk->sk_memcg->id.id 0-s32max
PARAM_VALUE 0 connection->data.socket->sk->sk_prot_creator->owner->refcnt.counter 0-s32max
PARAM_VALUE 0 connection->data.socket->sk->sk_rcu.function 1626621062881370112
PARAM_VALUE 0 connection->data.socket->sk->sk_receive_queue.prev->next->next 4096-ptr_max
PARAM_VALUE 0 connection->data.socket->sk->sk_reuseport_cb->rcu.function 1626621062881370112
PARAM_VALUE 0 connection->data.socket->sk->sk_rx_dst->callback_head.entry.next s64max
PARAM_VALUE 0 connection->data.socket->sk->sk_user_data->cp_conn->c_proposed_version 769
PARAM_VALUE 0 connection->data.socket->sk->sk_user_data->ctrl->ctrl.state 2
PARAM_VALUE 0 connection->data.socket->sk->sk_user_data->door_bell.done 0-4294967295
PARAM_VALUE 0 connection->data.socket->sk->sk_user_data->mpa_timer->type 5,7
PARAM_VALUE 0 connection->data.socket->sk->sk_user_data->reestablish_timeout 0,750
PARAM_VALUE 0 connection->data.socket->sk->sk_user_data->session->state s32min-s32max
PARAM_VALUE 0 connection->data.socket->sk->sk_user_data->work.function 1626621062881370112
PARAM_VALUE 0 connection->data.socket->sk->sk_user_data->work.is_hard 0-1
PARAM_VALUE 0 connection->data.socket->sk->sk_user_data->work.is_lazy 0-1
PARAM_VALUE 0 connection->data.socket->sk->sk_user_data->work.is_soft 0-1
PARAM_VALUE 0 connection->data.socket->sk->sk_write_queue.prev->next 4096-ptr_max
PARAM_VALUE 0 connection->resource 4096-ptr_max
PARAM_VALUE 0 connection->resource->req_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 connection->resource->susp 0
PARAM_VALUE 0 connection->resource->susp_fen 0
PARAM_VALUE 0 connection->resource->susp_nod 0
PARAM_VALUE 0 *connection->data->socket->sk->listener->private->addtl 0-255
PARAM_VALUE 0 *connection->data->socket->sk->listener->sk_callback_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *connection->data->socket->sk->sk_backlog.head->cb->data_end (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *connection->data->socket->sk->sk_backlog.head->dev->name 0-255
PARAM_VALUE 1 what 11
BUF_SIZE 0 connection (-1),128
BUF_SIZE 0 connection (-1),128
CAPPED_DATA 0 connection->peer_devices.idr_base 1
DATA_SOURCE 0 connection $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &resource->req_lock
LOCK2 irq
HALF_LOCKED2 device->state_mutex
TYPE_LOCK (struct drbd_resource)->req_lock

drivers/block/drbd/drbd_main.c tl_restart() -> _tl_restart()

Type Parameter Key Value
PARAM_VALUE 0 connection 4096-ptr_max
PARAM_VALUE 0 connection->resource 4096-ptr_max
PARAM_VALUE 0 connection->resource->req_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 what 11,29
DATA_SOURCE 0 connection $0
DATA_SOURCE 1 what $1
HARD_MAX 1 what 29
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq
LOCK2 0 &connection->resource->req_lock
HALF_LOCKED2 &adm_ctx->resource->adm_mutex
TYPE_LOCK (struct drbd_resource)->req_lock