Defined in 1 files as a function:
Referenced in 9 files:
- drivers/nvme/host/tcp.c, line 1867
- drivers/virt/coco/sev-guest/sev-guest.c
- drivers/virt/coco/tdx-guest/tdx-guest.c
- fs/smb/server/transport_tcp.c, line 496
- io_uring/cmd_net.c, line 44
- net/core/filter.c
- net/ipv4/ip_sockglue.c, line 284
- net/mptcp/sockopt.c
- net/socket.c, line 2386
Smatch caller information:
drivers/virt/coco/sev-guest/sev-guest.c get_ext_report() -> KERNEL_SOCKPTR()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | _T->lock |
drivers/virt/coco/sev-guest/sev-guest.c sev_report_new() -> KERNEL_SOCKPTR()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 1953041973049286656 |
| BUF_SIZE | 0 | p | 112 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &buffer->mutex | ||
| LOCK2 | &frag->frag_sem | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct configfs_buffer)->mutex | ||
| TYPE_LOCK | (struct configfs_fragment)->frag_sem |
drivers/virt/coco/sev-guest/sev-guest.c sev_report_new() -> KERNEL_SOCKPTR()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 1-18446744073709551614 |
| BUF_SIZE | 0 | p | 20480 |
| BUF_SIZE | 0 | p | 20480 |
| DATA_SOURCE | 0 | p | r __kvmalloc_node_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &buffer->mutex | ||
| LOCK2 | &frag->frag_sem | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct configfs_buffer)->mutex | ||
| TYPE_LOCK | (struct configfs_fragment)->frag_sem |
net/mptcp/sockopt.c mptcp_setsockopt_sol_socket_linger() -> KERNEL_SOCKPTR()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 7181901573358940160 |
| BUF_SIZE | 0 | p | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/mptcp/sockopt.c mptcp_setsockopt_sol_socket_timestamping() -> KERNEL_SOCKPTR()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 8600281438303535104 |
| BUF_SIZE | 0 | p | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/mptcp/sockopt.c mptcp_setsockopt_sol_socket_tstamp() -> KERNEL_SOCKPTR()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | p | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/mptcp/sockopt.c mptcp_sol_socket_intval() -> KERNEL_SOCKPTR()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | p | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/core/filter.c sol_ip_sockopt() -> KERNEL_SOCKPTR()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | p | $2 |
net/core/filter.c sol_ip_sockopt() -> KERNEL_SOCKPTR()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | *p | 4 |
| DATA_SOURCE | 0 | p | $3 |
net/core/filter.c sol_ip_sockopt() -> KERNEL_SOCKPTR()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | p | $2 |
net/core/filter.c sol_ipv6_sockopt() -> KERNEL_SOCKPTR()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | p | $2 |
net/core/filter.c sol_ipv6_sockopt() -> KERNEL_SOCKPTR()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | *p | 4 |
| DATA_SOURCE | 0 | p | $3 |
net/core/filter.c sol_ipv6_sockopt() -> KERNEL_SOCKPTR()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | p | $2 |
net/core/filter.c sol_socket_sockopt() -> KERNEL_SOCKPTR()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | p | $2 |
net/core/filter.c sol_socket_sockopt() -> KERNEL_SOCKPTR()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | *p | 4 |
| DATA_SOURCE | 0 | p | $3 |
net/core/filter.c sol_socket_sockopt() -> KERNEL_SOCKPTR()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | p | $2 |
net/core/filter.c sol_tcp_sockopt() -> KERNEL_SOCKPTR()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | p | $2 |
net/core/filter.c sol_tcp_sockopt() -> KERNEL_SOCKPTR()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | *p | 4 |
| DATA_SOURCE | 0 | p | $3 |
net/core/filter.c sol_tcp_sockopt() -> KERNEL_SOCKPTR()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | p | $2 |
net/core/filter.c sol_tcp_sockopt_congestion() -> KERNEL_SOCKPTR()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| DATA_SOURCE | 0 | p | $1 |
| TERMINATED | 0 | p | 1 |
net/core/filter.c sol_tcp_sockopt_congestion() -> KERNEL_SOCKPTR()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4096-ptr_max |
| PARAM_VALUE | 0 | *p | 1-s32max |
| DATA_SOURCE | 0 | p | $2 |
net/core/filter.c sol_tcp_sockopt_congestion() -> KERNEL_SOCKPTR()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | p | $1 |
io_uring/cmd_net.c io_uring_cmd_getsockopt() -> KERNEL_SOCKPTR()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 3330797320360386560 |
| PARAM_VALUE | 0 | *p | s32min-s32max |
| BUF_SIZE | 0 | p | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->uring_lock |
net/ipv4/ip_sockglue.c ip_cmsg_send() -> KERNEL_SOCKPTR()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | p | unit_byte |
| USER_PTR | 0 | p |
net/socket.c do_sock_setsockopt() -> KERNEL_SOCKPTR()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BIT_INFO | 0 | p | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/nvme/host/tcp.c nvme_tcp_alloc_queue() -> KERNEL_SOCKPTR()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &nvmf_dev_mutex |
fs/smb/server/transport_tcp.c create_socket() -> KERNEL_SOCKPTR()
| Type | Parameter | Key | Value |
|---|
drivers/virt/coco/tdx-guest/tdx-guest.c tdx_mr_refresh() -> KERNEL_SOCKPTR()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->rwsem | ||
| HALF_LOCKED2 | &of->mutex |
drivers/virt/coco/tdx-guest/tdx-guest.c tdx_mr_refresh() -> KERNEL_SOCKPTR()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->rwsem | ||
| HALF_LOCKED2 | &of->mutex |
drivers/virt/coco/tdx-guest/tdx-guest.c tdx_report_new_locked() -> KERNEL_SOCKPTR()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | p | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &buffer->mutex | ||
| LOCK2 | &frag->frag_sem | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct configfs_buffer)->mutex | ||
| TYPE_LOCK | (struct configfs_fragment)->frag_sem |
drivers/virt/coco/tdx-guest/tdx-guest.c tdx_report_new_locked() -> KERNEL_SOCKPTR()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &buffer->mutex | ||
| LOCK2 | &frag->frag_sem | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct configfs_buffer)->mutex | ||
| TYPE_LOCK | (struct configfs_fragment)->frag_sem |