Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/nvme/host/tcp.c, line 1869
- fs/smb/server/transport_tcp.c, line 493
- net/core/sock.c, line 1690
- net/mptcp/sockopt.c
- net/socket.c, line 2389
- net/unix/af_unix.c, line 942
- net/vmw_vsock/af_vsock.c, line 2045
Smatch caller information:
net/mptcp/sockopt.c mptcp_setsockopt_sol_socket() -> sock_setsockopt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | level | 1 |
| PARAM_VALUE | 2 | optname | 18,20-21,46,66-67,69-70 |
| DATA_SOURCE | 2 | optname | $1 |
| DATA_SOURCE | 3 | optval | $2 |
| DATA_SOURCE | 4 | optlen | $3 |
| BIT_INFO | 3 | optval | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | optname | 18,20-21,46,66-67,69-70 |
| USER_DATA | 4 | optlen | 0-s32max |
net/mptcp/sockopt.c mptcp_setsockopt_sol_socket_linger() -> sock_setsockopt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | level | 1 |
| PARAM_VALUE | 2 | optname | 13 |
| PARAM_VALUE | 4 | optlen | 8 |
| DATA_SOURCE | 3 | optval | r KERNEL_SOCKPTR |
| BIT_INFO | 3 | optval | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | optlen | unit_byte |
net/mptcp/sockopt.c mptcp_setsockopt_sol_socket_timestamping() -> sock_setsockopt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | level | 1 |
| PARAM_VALUE | 2 | optname | 37,65 |
| PARAM_VALUE | 4 | optlen | 8 |
| DATA_SOURCE | 2 | optname | $1 |
| BIT_INFO | 3 | optval | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | optname | 37,65 |
| UNITS | 4 | optlen | unit_byte |
net/mptcp/sockopt.c mptcp_setsockopt_sol_socket_tstamp() -> sock_setsockopt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | level | 1 |
| PARAM_VALUE | 2 | optname | 29,35,63-64 |
| PARAM_VALUE | 4 | optlen | 4 |
| DATA_SOURCE | 2 | optname | $1 |
| DATA_SOURCE | 3 | optval | r KERNEL_SOCKPTR |
| BIT_INFO | 3 | optval | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | optname | 29,35,63-64 |
| UNITS | 4 | optlen | unit_byte |
net/mptcp/sockopt.c mptcp_sol_socket_intval() -> sock_setsockopt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | level | 1 |
| PARAM_VALUE | 2 | optname | 1,7-9,12,32-33,36 |
| PARAM_VALUE | 4 | optlen | 4 |
| DATA_SOURCE | 2 | optname | $1 |
| DATA_SOURCE | 3 | optval | r KERNEL_SOCKPTR |
| BIT_INFO | 3 | optval | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | optname | 1,7-9,12,32-33,36 |
| UNITS | 4 | optlen | unit_byte |
net/unix/af_unix.c unix_setsockopt() -> sock_setsockopt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sock | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->ops->setsockopt | 1-u64max |
| PARAM_VALUE | 1 | level | 1 |
| PARAM_VALUE | 2 | optname | s32min-83,85-s32max |
| BUF_SIZE | 0 | sock | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | sock | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | sock | $0 |
| DATA_SOURCE | 1 | level | $1 |
| DATA_SOURCE | 2 | optname | $2 |
| DATA_SOURCE | 3 | optval | $3 |
| DATA_SOURCE | 4 | optlen | $4 |
| BIT_INFO | 3 | optval | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | optname | s32min-83,85-s32max |
| USER_DATA | 4 | optlen | 0-s32max |
| HALF_LOCKED2 | &smc->clcsock_release_lock |
net/vmw_vsock/af_vsock.c vsock_connectible_setsockopt() -> sock_setsockopt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sock | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->ops->setsockopt | 1-u64max |
| 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_prot->owner->refcnt.counter | 0-s32max |
| 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_callback_lock.raw_lock.wlocked | 0 |
| 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->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 | level | 1 |
| PARAM_VALUE | 2 | optname | s32min-59,61-s32max |
| BUF_SIZE | 0 | sock | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | sock | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | sock | $0 |
| DATA_SOURCE | 1 | level | $1 |
| DATA_SOURCE | 2 | optname | $2 |
| DATA_SOURCE | 3 | optval | $3 |
| DATA_SOURCE | 4 | optlen | $4 |
| BIT_INFO | 3 | optval | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | optname | s32min-59,61-s32max |
| USER_DATA | 4 | optlen | 0-s32max |
| HALF_LOCKED2 | &smc->clcsock_release_lock |
net/socket.c do_sock_setsockopt() -> sock_setsockopt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sock | 4096-ptr_max |
| PARAM_VALUE | 1 | level | 1 |
| PARAM_VALUE | 4 | optlen | 0-s32max |
| BUF_SIZE | 0 | sock | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sock | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | sock | $0 |
| DATA_SOURCE | 1 | level | $2 |
| DATA_SOURCE | 2 | optname | $3 |
| DATA_SOURCE | 3 | optval | $4 [m] |
| DATA_SOURCE | 4 | optlen | $5 |
| BIT_INFO | 3 | optval | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | optname | s32min-s32max |
| USER_DATA | 4 | optlen | 0-s32max |
drivers/nvme/host/tcp.c nvme_tcp_alloc_queue() -> sock_setsockopt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sock | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->file | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->file->__f_path.dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->file->f_flags | 0-18433,32770 |
| PARAM_VALUE | 0 | sock->file->f_inode | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->file->f_iocb_flags | 0,2,16,18,131072,131074,131088,131090 |
| PARAM_VALUE | 0 | sock->file->f_mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->file->f_mode | 167772160,168296448-705560583 |
| PARAM_VALUE | 0 | sock->file->f_op | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->file->f_pos_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->sk->__sk_common.skc_net.net->core.prot_inuse | 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.dead | 1 |
| PARAM_VALUE | 0 | sock->sk->__sk_common.skc_net.net->notrefcnt_tracker.quarantine.prev | 4096-ptr_max |
| 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 | 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_allocation | 0,131072-u32max |
| 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_cgrp_data.cgroup->bpf.refcnt.percpu_count_ptr | 1-u64max |
| 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.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-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->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_rcvtimeo | 2500 |
| PARAM_VALUE | 0 | sock->sk->sk_reuseport_cb->rcu.func | 1-u64max |
| PARAM_VALUE | 0 | sock->sk->sk_use_task_frag | 0 |
| 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->door_bell.wait.lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *sock->sk->sk_user_data->private->s_auth.authorizer->session_key.key | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | level | 1 |
| PARAM_VALUE | 2 | optname | 25 |
| PARAM_VALUE | 4 | optlen | 0-1010101 |
| CAPPED_DATA | 0 | sock->sk | 1 |
| DATA_SOURCE | 3 | optval | r KERNEL_SOCKPTR |
| BIT_INFO | 3 | optval | 0x0,0x0 |
| 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 | &pool->lock | ||
| HALF_LOCKED2 | global &nvmf_dev_mutex |
fs/smb/server/transport_tcp.c create_socket() -> sock_setsockopt()
| 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->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_prot->owner->refcnt.counter | 0-s32max |
| 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->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_backlog.head->extensions->refcnt.refs.counter | 1 |
| PARAM_VALUE | 0 | sock->sk->sk_cgrp_data.cgroup->bpf.refcnt.percpu_count_ptr | 1-u64max |
| 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.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.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.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->sk->sk_memcg->high_work.is_queued | 0-1 |
| PARAM_VALUE | 0 | sock->sk->sk_memcg->tcpmem_pressure | 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_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->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->tcp_retransmit_timer.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->type | 1 |
| 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 | level | 1 |
| PARAM_VALUE | 2 | optname | 25 |
| PARAM_VALUE | 4 | optlen | 0-1010101 |
| CAPPED_DATA | 0 | sock->sk | 1 |
| BIT_INFO | 3 | optval | 0x0,0x0 |
| 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 |