Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/rds/tcp_connect.c rds_tcp_conn_path_connect() -> rds_tcp_restore_callbacks()

Type Parameter Key Value
PARAM_VALUE 0 sock 4096-ptr_max
PARAM_VALUE 0 sock->sk 4096-ptr_max
PARAM_VALUE 0 sock->sk->__sk_common.skc_net.net->loopback_dev->refcnt_tracker.list.next->next 4096-ptr_max
PARAM_VALUE 0 sock->sk->__sk_common.skc_net.net->mctp.bind_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 sock->sk->__sk_common.skc_net.net->notrefcnt_tracker.quarantine.prev->next 4096-ptr_max
PARAM_VALUE 0 sock->sk->__sk_common.skc_net.net->notrefcnt_tracker.quarantine.prev->next->next 4096-ptr_max
PARAM_VALUE 0 sock->sk->__sk_common.skc_net.net->refcnt_tracker.list.next->next 4096-ptr_max
PARAM_VALUE 0 sock->sk->__sk_common.skc_net.net->refcnt_tracker.list.next->prev 4096-ptr_max
PARAM_VALUE 0 sock->sk->listener->__sk_common.skc_net.net->notrefcnt_tracker.dead 1
PARAM_VALUE 0 sock->sk->listener->__sk_common.skc_net.net->refcnt_tracker.dead 1
PARAM_VALUE 0 sock->sk->listener->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 sock->sk->listener->ns_tracker->dead 0-1
PARAM_VALUE 0 sock->sk->listener->ns_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 sock->sk->listener->sk_bpf_storage->owner_refcnt.refs.counter s32min-s32max
PARAM_VALUE 0 sock->sk->listener->sk_callback_lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 0 sock->sk->listener->sk_lock.owned 1
PARAM_VALUE 0 sock->sk->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 sock->sk->ns_tracker->dead 0-1
PARAM_VALUE 0 sock->sk->ns_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 sock->sk->sk_backlog.head->cb->type 4
PARAM_VALUE 0 sock->sk->sk_backlog.head->dev->flags 1-u32max
PARAM_VALUE 0 sock->sk->sk_backlog.head->dev->priv->arfs->filter_count s32min-s32max
PARAM_VALUE 0 sock->sk->sk_backlog.head->dev->priv->arfs->mode 0-4
PARAM_VALUE 0 sock->sk->sk_backlog.head->dev->priv->last_filter_id s32min-s32max
PARAM_VALUE 0 sock->sk->sk_backlog.head->dev->priv->ntp_fltr_count s32min-s32max
PARAM_VALUE 0 sock->sk->sk_backlog.head->dev->priv->sp_task.cpu s32min-s32max
PARAM_VALUE 0 sock->sk->sk_backlog.head->dev->priv->sp_task.timer.flags 0-4294967295
PARAM_VALUE 0 sock->sk->sk_backlog.head->dev->priv->sp_task.timer.is_hard 0-1
PARAM_VALUE 0 sock->sk->sk_backlog.head->dev->priv->sp_task.timer.is_lazy 0-1
PARAM_VALUE 0 sock->sk->sk_backlog.head->dev->priv->sp_task.timer.is_queued 0-1
PARAM_VALUE 0 sock->sk->sk_backlog.head->dev->priv->sp_task.timer.is_soft 0-1
PARAM_VALUE 0 sock->sk->sk_callback_lock.dep_map->name 0-255
PARAM_VALUE 0 sock->sk->sk_callback_lock.owner (-1)
PARAM_VALUE 0 sock->sk->sk_callback_lock.owner_cpu u32max
PARAM_VALUE 0 sock->sk->sk_callback_lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 0 sock->sk->sk_callback_lock.raw_lock.wlocked 0
PARAM_VALUE 0 sock->sk->sk_cgrp_data.cgroup->bpf.refcnt.percpu_count_ptr 1-u64max
PARAM_VALUE 0 sock->sk->sk_data_ready 6754201011017617408
PARAM_VALUE 0 sock->sk->sk_dst_cache->callback_head.flags 0-4294967295
PARAM_VALUE 0 sock->sk->sk_dst_cache->callback_head.is_hard 0-1
PARAM_VALUE 0 sock->sk->sk_dst_cache->callback_head.is_lazy 0-1
PARAM_VALUE 0 sock->sk->sk_dst_cache->callback_head.is_queued 0-1
PARAM_VALUE 0 sock->sk->sk_dst_cache->callback_head.is_soft 0-1
PARAM_VALUE 0 sock->sk->sk_dst_cache->ops->pcpuc_entries.lock.owner (-1)
PARAM_VALUE 0 sock->sk->sk_dst_cache->ops->pcpuc_entries.lock.owner_cpu u32max
PARAM_VALUE 0 sock->sk->sk_dst_cache->ops->pcpuc_entries.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 sock->sk->sk_lock.dep_map->name 0-255
PARAM_VALUE 0 sock->sk->sk_lock.owned 0
PARAM_VALUE 0 sock->sk->sk_lock.slock.rlock.dep_map->name 0-255
PARAM_VALUE 0 sock->sk->sk_lock.wq.head.next 4096-ptr_max
PARAM_VALUE 0 sock->sk->sk_lock.wq.head.prev->next 4096-ptr_max
PARAM_VALUE 0 sock->sk->sk_lock.wq.head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 sock->sk->sk_memcg->high_work.is_queued 0-1
PARAM_VALUE 0 sock->sk->sk_owner->refcnt.counter 0-s32max
PARAM_VALUE 0 sock->sk->sk_reuseport_cb->rcu.func 1-u64max
PARAM_VALUE 0 sock->sk->sk_state_change 2762475879951130624
PARAM_VALUE 0 sock->sk->sk_user_data 4096-ptr_max
PARAM_VALUE 0 sock->sk->sk_user_data->connect_cookie 0-4294967295
PARAM_VALUE 0 sock->sk->sk_user_data->cp_conn->c_proposed_version 769
PARAM_VALUE 0 sock->sk->sk_user_data->cp_recv_w.cpu s32min-s32max
PARAM_VALUE 0 sock->sk->sk_user_data->cp_recv_w.timer.flags 0-4294967295
PARAM_VALUE 0 sock->sk->sk_user_data->cp_recv_w.timer.is_hard 0-1
PARAM_VALUE 0 sock->sk->sk_user_data->cp_recv_w.timer.is_lazy 0-1
PARAM_VALUE 0 sock->sk->sk_user_data->cp_recv_w.timer.is_queued 0-1
PARAM_VALUE 0 sock->sk->sk_user_data->cp_recv_w.timer.is_soft 0-1
PARAM_VALUE 0 sock->sk->sk_user_data->cp_send_w.cpu s32min-s32max
PARAM_VALUE 0 sock->sk->sk_user_data->cp_send_w.timer.flags 0-4294967295
PARAM_VALUE 0 sock->sk->sk_user_data->cp_send_w.timer.is_hard 0-1
PARAM_VALUE 0 sock->sk->sk_user_data->cp_send_w.timer.is_lazy 0-1
PARAM_VALUE 0 sock->sk->sk_user_data->cp_send_w.timer.is_queued 0-1
PARAM_VALUE 0 sock->sk->sk_user_data->cp_send_w.timer.is_soft 0-1
PARAM_VALUE 0 sock->sk->sk_user_data->cp_state.counter 0-s32max
PARAM_VALUE 0 sock->sk->sk_user_data->ctrl->ctrl.failfast_work.cpu s32min-s32max
PARAM_VALUE 0 sock->sk->sk_user_data->ctrl->ctrl.failfast_work.timer.flags 0-4294967295
PARAM_VALUE 0 sock->sk->sk_user_data->ctrl->ctrl.failfast_work.timer.is_hard 0-1
PARAM_VALUE 0 sock->sk->sk_user_data->ctrl->ctrl.failfast_work.timer.is_lazy 0-1
PARAM_VALUE 0 sock->sk->sk_user_data->ctrl->ctrl.failfast_work.timer.is_queued 0-1
PARAM_VALUE 0 sock->sk->sk_user_data->ctrl->ctrl.failfast_work.timer.is_soft 0-1
PARAM_VALUE 0 sock->sk->sk_user_data->ctrl->ctrl.state 2
PARAM_VALUE 0 sock->sk->sk_user_data->dev->carrier_down_count.counter s32min-s32max
PARAM_VALUE 0 sock->sk->sk_user_data->dev->refcnt_tracker.untracked.refs.counter s32min-s32max
PARAM_VALUE 0 sock->sk->sk_user_data->door_bell.done 0-4294967295
PARAM_VALUE 0 sock->sk->sk_user_data->door_bell.wait.lock.owner (-1)
PARAM_VALUE 0 sock->sk->sk_user_data->door_bell.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 sock->sk->sk_user_data->door_bell.wait.lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 sock->sk->sk_user_data->kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 sock->sk->sk_user_data->login_work.cpu s32min-s32max
PARAM_VALUE 0 sock->sk->sk_user_data->login_work.timer.flags 0-4294967295
PARAM_VALUE 0 sock->sk->sk_user_data->login_work.timer.is_hard 0-1
PARAM_VALUE 0 sock->sk->sk_user_data->login_work.timer.is_lazy 0-1
PARAM_VALUE 0 sock->sk->sk_user_data->login_work.timer.is_queued 0-1
PARAM_VALUE 0 sock->sk->sk_user_data->login_work.timer.is_soft 0-1
PARAM_VALUE 0 sock->sk->sk_user_data->mpa_timer->type 5,7
PARAM_VALUE 0 sock->sk->sk_user_data->private->s_delegated_inos.xa_flags 0-4294967295
PARAM_VALUE 0 sock->sk->sk_user_data->qp->tx_ctx.tx_suspend 1
PARAM_VALUE 0 sock->sk->sk_user_data->read.counter s32min-s32max
PARAM_VALUE 0 sock->sk->sk_user_data->reestablish_timeout 0,750
PARAM_VALUE 0 sock->sk->sk_user_data->ref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 sock->sk->sk_user_data->sc_kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 sock->sk->sk_user_data->sc_node->nd_item.ci_dentry->d_fsdata->s_dependent_count s32min-s32max
PARAM_VALUE 0 sock->sk->sk_user_data->sc_page->_refcount.counter s32min-s32max
PARAM_VALUE 0 sock->sk->sk_user_data->sc_page->page_type 0-4294967295
PARAM_VALUE 0 sock->sk->sk_user_data->session->state s32min-s32max
PARAM_VALUE 0 sock->sk->sk_user_data->sock_state.counter s32min-s32max
PARAM_VALUE 0 sock->sk->sk_user_data->work.cpu s32min-s32max
PARAM_VALUE 0 sock->sk->sk_user_data->work.flags 0-4294967295
PARAM_VALUE 0 sock->sk->sk_user_data->work.is_hard 0-1
PARAM_VALUE 0 sock->sk->sk_user_data->work.is_lazy 0-1
PARAM_VALUE 0 sock->sk->sk_user_data->work.is_soft 0-1
PARAM_VALUE 0 sock->sk->sk_user_data->work.timer.flags 0-4294967295
PARAM_VALUE 0 sock->sk->sk_user_data->work.timer.is_hard 0-1
PARAM_VALUE 0 sock->sk->sk_user_data->work.timer.is_lazy 0-1
PARAM_VALUE 0 sock->sk->sk_user_data->work.timer.is_queued 0-1
PARAM_VALUE 0 sock->sk->sk_user_data->work.timer.is_soft 0-1
PARAM_VALUE 0 sock->sk->sk_write_space 7706288430563483648
PARAM_VALUE 0 sock->sk->tcp_retransmit_timer.entry->pprev 4096-ptr_max
PARAM_VALUE 0 sock->type 1
PARAM_VALUE 0 *sock->sk->sk_backlog.head->data->hdr 0-4294967295
PARAM_VALUE 0 *sock->sk->sk_backlog.head->dev->name 0-255
PARAM_VALUE 0 *sock->sk->sk_user_data->dev->pcpu_refcnt s32min-s32max
PARAM_VALUE 0 *sock->sk->sk_user_data->door_bell.wait.lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *sock->sk->sk_user_data->private->o_auth.authorizer->session_key.key (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *sock->sk->sk_user_data->private->s_auth.authorizer->session_key.key (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 tc 4096-ptr_max
BUF_SIZE 1 tc 24,5232
CAPPED_DATA 0 sock->sk 1
NOCHECK_CALL
LOCK2 &tc->t_conn_path_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct rds_tcp_connection)->t_conn_path_lock

net/rds/tcp_connect.c rds_tcp_conn_path_shutdown() -> rds_tcp_restore_callbacks()

Type Parameter Key Value
PARAM_VALUE 0 sock 4096-ptr_max
PARAM_VALUE 0 sock->ops 4096-ptr_max
PARAM_VALUE 0 sock->sk->sk_lock.owned 1
PARAM_VALUE 0 sock->sk->sk_lock.slock.rlock.dep_map->name 0-255
PARAM_VALUE 0 sock->sk->sk_lock.wq.head.prev 4096-ptr_max
PARAM_VALUE 0 sock->sk->sk_lock.wq.head.prev->next 4096-ptr_max
PARAM_VALUE 0 sock->sk->sk_lock.wq.head.prev->next->next 4096-ptr_max
PARAM_VALUE 1 tc 4096-ptr_max
PARAM_VALUE 1 tc->t_sock 4096-ptr_max
PARAM_VALUE 1 tc->t_sock->ops 4096-ptr_max
PARAM_VALUE 1 tc->t_sock->sk->sk_lock.owned 1
PARAM_VALUE 1 tc->t_sock->sk->sk_lock.slock.rlock.dep_map->name 0-255
PARAM_VALUE 1 tc->t_sock->sk->sk_lock.wq.head.prev 4096-ptr_max
PARAM_VALUE 1 tc->t_sock->sk->sk_lock.wq.head.prev->next 4096-ptr_max
PARAM_VALUE 1 tc->t_sock->sk->sk_lock.wq.head.prev->next->next 4096-ptr_max
BUF_SIZE 1 tc 24,5232
BUF_SIZE 1 tc 24,5232
NOCHECK_CALL
LOCK2 sk
HALF_LOCKED2 &pool->lock

net/rds/tcp.c rds_tcp_reset_callbacks() -> rds_tcp_restore_callbacks()

Type Parameter Key Value
PARAM_VALUE 0 sock 4096-ptr_max
PARAM_VALUE 0 sock->sk 4096-ptr_max
PARAM_VALUE 0 sock->sk->sk_lock.owned 1
PARAM_VALUE 0 sock->sk->sk_lock.slock.rlock.dep_map->name 0-255
PARAM_VALUE 0 sock->sk->sk_lock.wq.head.prev 4096-ptr_max
PARAM_VALUE 0 sock->sk->sk_lock.wq.head.prev->next 4096-ptr_max
PARAM_VALUE 0 sock->sk->sk_lock.wq.head.prev->next->next 4096-ptr_max
PARAM_VALUE 1 tc 4096-ptr_max
PARAM_VALUE 1 tc->t_sock 1-u64max
PARAM_VALUE 1 tc->t_sock->sk 4096-ptr_max
PARAM_VALUE 1 tc->t_sock->sk->sk_lock.owned 1
PARAM_VALUE 1 tc->t_sock->sk->sk_lock.slock.rlock.dep_map->name 0-255
PARAM_VALUE 1 tc->t_sock->sk->sk_lock.wq.head.prev 4096-ptr_max
PARAM_VALUE 1 tc->t_sock->sk->sk_lock.wq.head.prev->next 4096-ptr_max
PARAM_VALUE 1 tc->t_sock->sk->sk_lock.wq.head.prev->next->next 4096-ptr_max
PARAM_VALUE 1 tc->t_tinc 0
PARAM_VALUE 1 tc->t_tinc_data_rem 0
PARAM_VALUE 1 tc->t_tinc_hdr_rem 48
BUF_SIZE 1 tc 24,5232
BUF_SIZE 1 tc 24,5232
NOCHECK_CALL
LOCK2 &rs_tcp->t_conn_path_lock
LOCK2 &rtn->rds_tcp_accept_lock
LOCK2 0 sock->sk
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct rds_tcp_connection)->t_conn_path_lock
TYPE_LOCK (struct rds_tcp_net)->rds_tcp_accept_lock