Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/bluetooth/l2cap_sock.c l2cap_sock_release() -> l2cap_sock_shutdown()

Type Parameter Key Value
PARAM_VALUE 0 sock 4096-ptr_max
PARAM_VALUE 0 sock->ops 4096-ptr_max
PARAM_VALUE 0 sock->sk 4096-ptr_max
PARAM_VALUE 0 sock->sk->__sk_common.skc_net.net->ipv4.fib_main->tb_data->kv->key 0-4294967295
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_node->next->pprev 1-u64max
PARAM_VALUE 0 sock->sk->__sk_common.skc_node.next->pprev 1-u64max
PARAM_VALUE 0 sock->sk->__sk_common.skc_node.pprev 0
PARAM_VALUE 0 sock->sk->__sk_common.skc_prot->owner->refcnt.counter 0-s32max
PARAM_VALUE 0 sock->sk->accept_q_lock.rlock.dep_map->name 0-255
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->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->sk_backlog.head->extensions->refcnt.refs.counter 1
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_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_error_queue.next->prev 2011684551238094848
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.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.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 sock->sk->sk_memcg->tcpmem_pressure 0-1
PARAM_VALUE 0 sock->sk->sk_rx_dst->u.dst.__pad s16min-s16max
PARAM_VALUE 0 sock->sk->sk_rx_dst->u.dst.__rcuref.refcnt.counter s32min-s32max
PARAM_VALUE 0 sock->sk->sk_rx_dst->u.dst.__use s32min-s32max
PARAM_VALUE 0 sock->sk->sk_rx_dst->u.dst.dst_trace_seq.counter s32min-s32max
PARAM_VALUE 0 sock->sk->sk_rx_dst->u.dst.error s16min-s16max
PARAM_VALUE 0 sock->sk->sk_rx_dst->u.dst.header_len 0-u16max
PARAM_VALUE 0 sock->sk->sk_rx_dst->u.dst.obsolete s16min-s16max
PARAM_VALUE 0 sock->sk->sk_rx_dst->u.dst.tclassid 0-4294967295
PARAM_VALUE 0 sock->sk->sk_rx_dst->u.dst.trailer_len 0-u16max
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->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->o_auth.authorizer->buf 0
PARAM_VALUE 0 sock->sk->sk_user_data->private->o_auth.authorizer->session_key.key 0
PARAM_VALUE 0 sock->sk->sk_user_data->private->o_sparse_read.sr_extent 0
PARAM_VALUE 0 sock->sk->sk_user_data->private->s_auth.authorizer->buf 0
PARAM_VALUE 0 sock->sk->sk_user_data->private->s_auth.authorizer->session_key.key 0
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_queued 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->skc_family 0-u16max
PARAM_VALUE 0 sock->sk->tcp_retransmit_timer.entry->pprev 4096-ptr_max
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 how 2
DATA_SOURCE 0 sock $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 sock->sk->sk_backlog.len
NO_OVERFLOW_SIMPLE 0 sock->sk->sk_receive_queue.prev->next->tail
NO_OVERFLOW_SIMPLE 0 sock->sk->sk_receive_queue.prev->tail
NO_OVERFLOW_SIMPLE 0 sock->sk->sk_write_queue.next->prev->tail
NO_OVERFLOW_SIMPLE 0 sock->sk->sk_write_queue.next->prev->truesize
NO_OVERFLOW_SIMPLE 0 sock->sk->sk_write_queue.next->tail
NO_OVERFLOW_SIMPLE 0 sock->sk->sk_write_queue.next->truesize
HALF_LOCKED2 &inode->i_rwsem

net/rds/tcp_connect.c rds_tcp_conn_path_shutdown() -> (struct proto_ops)->shutdown()

Type Parameter Key Value
PARAM_VALUE 0 sock 4096-ptr_max
PARAM_VALUE 0 sock->ops 4096-ptr_max
PARAM_VALUE 1 how 1
CONTAINER 0 -104-32+0 $(-1)
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/target/iscsi/iscsi_target.c iscsit_logout_post_handler_diffcid() -> (struct proto_ops)->shutdown()

Type Parameter Key Value
PARAM_VALUE 0 sock 4096-ptr_max
PARAM_VALUE 0 sock->ops 4096-ptr_max
PARAM_VALUE 1 how 1
CONTAINER 0 *(-104-32+0) $(-1)
TASK_NOT_RUNNING
NOCHECK_CALL

net/ceph/messenger.c ceph_con_close_socket() -> (struct proto_ops)->shutdown()

Type Parameter Key Value
PARAM_VALUE 0 sock 4096-ptr_max
PARAM_VALUE 0 sock->ops 4096-ptr_max
PARAM_VALUE 1 how 2
CONTAINER 0 *(-104-32+0) $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 &con->mutex
TYPE_LOCK (struct ceph_connection)->mutex

net/socket.c __sys_shutdown_sock() -> (struct proto_ops)->shutdown()

Type Parameter Key Value
PARAM_VALUE 0 sock 1-u64max
BUF_SIZE 0 sock s32min-(-2),1-s32max
BUF_SIZE 0 sock s32min-(-2),1-s32max
DATA_SOURCE 0 sock $0
DATA_SOURCE 1 how $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 how s32min-s32max

net/socket.c kernel_sock_shutdown() -> (struct proto_ops)->shutdown()

Type Parameter Key Value
PARAM_VALUE 1 how 0-2
BUF_SIZE 0 sock s32min-(-1),1-s32max
BUF_SIZE 0 sock s32min-(-1),1-s32max
DATA_SOURCE 0 sock $0
DATA_SOURCE 1 how $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 how 0-2
NO_OVERFLOW_SIMPLE 0 sock->sk->sk_prot_creator->twsk_prot->twsk_slab->sheaf_capacity
NO_OVERFLOW_SIMPLE 0 sock->sk->sk_receive_queue.prev->data_len
NO_OVERFLOW_SIMPLE 0 sock->sk->sk_receive_queue.prev->next->data_len
NO_OVERFLOW_SIMPLE 0 sock->sk->sk_write_queue.next->data_len
NO_OVERFLOW_SIMPLE 0 sock->sk->sk_write_queue.next->prev->data_len
HALF_LOCKED2 &con->sock_lock
HALF_LOCKED2 &rtn->rds_tcp_accept_lock
HALF_LOCKED2 &rx->sk
HALF_LOCKED2 &rxnet->local_mutex
HALF_LOCKED2 &server->_srv_mutex
HALF_LOCKED2 &transport->recv_mutex
HALF_LOCKED2 &ud->sysfs_lock
HALF_LOCKED2 global &close_lock
HALF_LOCKED2 global &connections_srcu
HALF_LOCKED2 global &ls_lock
HALF_LOCKED2 global &nodes_srcu
HALF_LOCKED2 global &nvmet_config_sem
HALF_LOCKED2 global &nvmet_tcp_queue_mutex
HALF_LOCKED2 global &pernet_ops_rwsem
HALF_LOCKED2 sk