Defined in 9 files as a member:
Defined in 3 files as a function:
Referenced in 169 files:
-
crypto/af_alg.c,
9 times
-
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c,
3 times
-
drivers/infiniband/core/ucma.c,
18 times
-
drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c,
7 times
-
drivers/net/ppp/ppp_mppe.c,
8 times
-
drivers/video/fbdev/acornfb.c,
5 times
-
include/linux/bpf-cgroup.h,
12 times
-
include/linux/igmp.h,
line 275
-
include/linux/lsm_hook_defs.h,
line 355
-
include/linux/mroute.h,
2 times
-
include/linux/mroute6.h,
2 times
-
include/linux/net.h,
5 times
-
include/linux/security.h,
2 times
-
include/linux/sockptr.h,
2 times
-
include/linux/syscalls.h,
4 times
-
include/net/gue.h,
3 times
-
include/net/inet_connection_sock.h,
2 times
-
include/net/ip.h,
5 times
-
include/net/ipv6.h,
5 times
-
include/net/sctp/structs.h,
2 times
-
include/net/sock.h,
9 times
-
include/net/tcp.h,
8 times
-
include/net/tcp_ao.h,
11 times
-
include/net/tcp_ecn.h,
3 times
-
include/net/udp.h,
line 435
-
include/net/xfrm.h,
3 times
-
io_uring/cmd_net.c,
10 times
-
io_uring/net.c,
3 times
-
kernel/bpf/cgroup.c,
46 times
-
net/atm/common.c,
5 times
-
net/atm/common.h,
line 24
-
net/atm/pvc.c,
2 times
-
net/bluetooth/hci_sock.c,
8 times
-
net/bluetooth/iso.c,
11 times
-
net/bluetooth/l2cap_sock.c,
16 times
-
net/bluetooth/rfcomm/sock.c,
8 times
-
net/bluetooth/sco.c,
11 times
-
net/can/isotp.c,
16 times
-
net/can/j1939/socket.c,
16 times
-
net/can/raw.c,
27 times
-
net/core/filter.c,
85 times
-
net/core/sock.c,
45 times
-
net/ieee802154/socket.c,
10 times
-
net/ipv4/ah4.c,
9 times
-
net/ipv4/cipso_ipv4.c,
25 times
-
net/ipv4/fou_core.c,
19 times
-
net/ipv4/icmp.c,
2 times
-
net/ipv4/igmp.c,
2 times
-
net/ipv4/ip_forward.c,
line 76
-
net/ipv4/ip_input.c,
line 288
-
net/ipv4/ip_options.c,
72 times
-
net/ipv4/ip_output.c,
14 times
-
net/ipv4/ip_sockglue.c,
85 times
-
net/ipv4/ipmr.c,
12 times
-
net/ipv4/ping.c,
line 748
-
net/ipv4/raw.c,
17 times
-
net/ipv4/route.c,
line 1272
-
net/ipv4/tcp.c,
45 times
-
net/ipv4/tcp_ao.c,
27 times
-
net/ipv4/tcp_input.c,
4 times
-
net/ipv4/tcp_ipv4.c,
4 times
-
net/ipv4/udp.c,
14 times
-
net/ipv6/ah6.c,
12 times
-
net/ipv6/exthdrs.c,
7 times
-
net/ipv6/exthdrs_core.c,
6 times
-
net/ipv6/fou6.c,
4 times
-
net/ipv6/ip6_flowlabel.c,
7 times
-
net/ipv6/ip6_offload.c,
4 times
-
net/ipv6/ip6_tunnel.c,
7 times
-
net/ipv6/ip6mr.c,
12 times
-
net/ipv6/ipv6_sockglue.c,
106 times
-
net/ipv6/ndisc.c,
19 times
-
net/ipv6/netfilter/ip6t_hbh.c,
8 times
-
net/ipv6/raw.c,
21 times
-
net/ipv6/route.c,
5 times
-
net/ipv6/tcp_ao.c,
2 times
-
net/ipv6/tcp_ipv6.c,
2 times
-
net/ipv6/udp.c,
8 times
-
net/iucv/af_iucv.c,
4 times
-
net/kcm/kcmsock.c,
4 times
-
net/l2tp/l2tp_ppp.c,
4 times
-
net/llc/af_llc.c,
5 times
-
net/mctp/af_mctp.c,
3 times
-
net/mptcp/protocol.c,
line 3556
-
net/mptcp/protocol.h,
line 967
-
net/mptcp/sockopt.c,
95 times
-
net/netfilter/ipvs/ip_vs_xmit.c,
4 times
-
net/netfilter/nft_exthdr.c,
13 times
-
net/netfilter/nft_flow_offload.c,
line 34
-
net/netfilter/utils.c,
5 times
-
net/netfilter/xt_TCPMSS.c,
line 117
-
net/netfilter/xt_TCPOPTSTRIP.c,
line 64
-
net/netfilter/xt_dccp.c,
5 times
-
net/netfilter/xt_tcpmss.c,
7 times
-
net/netfilter/xt_tcpudp.c,
5 times
-
net/netlink/af_netlink.c,
5 times
-
net/nfc/llcp_sock.c,
6 times
-
net/packet/af_packet.c,
21 times
-
net/phonet/pep.c,
8 times
-
net/qrtr/af_qrtr.c,
line 475
-
net/rds/af_rds.c,
23 times
-
net/rds/info.c,
2 times
-
net/rds/rdma.c,
6 times
-
net/rds/rds.h,
3 times
-
net/rxrpc/af_rxrpc.c,
15 times
-
net/rxrpc/key.c,
4 times
-
net/rxrpc/server_key.c,
4 times
-
net/sched/act_csum.c,
8 times
-
net/sctp/protocol.c,
2 times
-
net/sctp/socket.c,
335 times
-
net/smc/af_smc.c,
12 times
-
net/smc/smc.h,
2 times
-
net/socket.c,
26 times
-
net/tipc/socket.c,
3 times
-
net/tls/tls_main.c,
30 times
-
net/unix/af_unix.c,
3 times
-
net/vmw_vsock/af_vsock.c,
6 times
-
net/x25/af_x25.c,
4 times
-
net/xdp/xsk.c,
10 times
-
net/xfrm/xfrm_compat.c,
4 times
-
net/xfrm/xfrm_inout.h,
2 times
-
net/xfrm/xfrm_input.c,
6 times
-
net/xfrm/xfrm_output.c,
18 times
-
net/xfrm/xfrm_state.c,
7 times
-
scripts/dtc/util.c,
6 times
-
security/apparmor/lsm.c,
2 times
-
security/security.c,
2 times
-
security/selinux/hooks.c,
2 times
-
security/smack/smack_lsm.c,
2 times
-
tools/include/io_uring/mini_liburing.h,
3 times
-
tools/testing/selftests/bpf/network_helpers.c,
6 times
-
tools/testing/selftests/bpf/prog_tests/bpf_iter_setsockopt.c,
2 times
-
tools/testing/selftests/bpf/prog_tests/bpf_iter_setsockopt_unix.c,
3 times
-
tools/testing/selftests/bpf/prog_tests/cgroup_getset_retval.c,
6 times
-
tools/testing/selftests/bpf/prog_tests/cgroup_mprog_ordering.c,
2 times
-
tools/testing/selftests/bpf/prog_tests/cgroup_preorder.c,
7 times
-
tools/testing/selftests/bpf/prog_tests/ctx_rewrite.c,
line 182
-
tools/testing/selftests/bpf/prog_tests/mptcp.c,
5 times
-
tools/testing/selftests/bpf/prog_tests/setget_sockopt.c,
3 times
-
tools/testing/selftests/bpf/prog_tests/sk_storage_omem_uncharge.c,
3 times
-
tools/testing/selftests/bpf/prog_tests/sock_create.c,
2 times
-
tools/testing/selftests/bpf/prog_tests/sockopt.c,
28 times
-
tools/testing/selftests/bpf/prog_tests/sockopt_inherit.c,
2 times
-
tools/testing/selftests/bpf/prog_tests/sockopt_multi.c,
20 times
-
tools/testing/selftests/bpf/prog_tests/sockopt_qos_to_cc.c,
3 times
-
tools/testing/selftests/bpf/prog_tests/sockopt_sk.c,
32 times
-
tools/testing/selftests/bpf/prog_tests/tcp_rtt.c,
3 times
-
tools/testing/selftests/bpf/prog_tests/test_ldsx_insn.c,
3 times
-
tools/testing/selftests/bpf/prog_tests/test_xsk.c,
8 times
-
tools/testing/selftests/bpf/progs/cgroup_getset_retval_getsockopt.c,
6 times
-
tools/testing/selftests/bpf/progs/cgroup_getset_retval_setsockopt.c,
8 times
-
tools/testing/selftests/bpf/progs/sockopt_inherit.c,
6 times
-
tools/testing/selftests/bpf/progs/sockopt_multi.c,
9 times
-
tools/testing/selftests/bpf/progs/sockopt_qos_to_cc.c,
2 times
-
tools/testing/selftests/bpf/progs/sockopt_sk.c,
12 times
-
tools/testing/selftests/bpf/progs/test_ldsx_insn.c,
4 times
-
tools/testing/selftests/bpf/progs/test_tcp_hdr_options.c,
12 times
-
tools/testing/selftests/bpf/test_maps.c,
3 times
-
tools/testing/selftests/bpf/xsk.c,
4 times
-
tools/testing/selftests/drivers/net/napi_id_helper.c,
3 times
-
tools/testing/selftests/namespaces/nsid_test.c,
9 times
-
tools/testing/selftests/net/af_unix/diag_uid.c,
3 times
-
tools/testing/selftests/net/af_unix/so_peek_off.c,
3 times
-
tools/testing/selftests/net/getsockopt_iter.c,
119 times
-
tools/testing/selftests/net/lib/gro.c,
13 times
-
tools/testing/selftests/net/mptcp/mptcp_connect.c,
2 times
-
tools/testing/selftests/net/nettest.c,
2 times
-
tools/testing/selftests/net/tcp_ao/setsockopt-closed.c,
2 times
-
tools/testing/selftests/net/tls.c,
3 times
Smatch caller information:
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
opt |
1-u64max |
| PARAM_VALUE |
1 |
offset |
20-58 |
| CAPPED_DATA |
1 |
offset |
1 |
| UNITS |
1 |
offset |
unit_byte |
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
opt |
4096-ptr_max |
| PARAM_VALUE |
1 |
offset |
20-58 |
| CAPPED_DATA |
1 |
offset |
1 |
| USER_DATA |
0 |
*opt |
0-255 |
| USER_DATA |
1 |
offset |
21-58[c] |
| UNITS |
0 |
opt |
unit_byte |
| UNITS |
1 |
offset |
unit_byte |
| USER_PTR |
0 |
opt |
|
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
opt |
4096-ptr_max |
| PARAM_VALUE |
1 |
offset |
20-58 |
| CAPPED_DATA |
1 |
offset |
1 |
| USER_DATA |
0 |
*opt |
0-255 |
| USER_DATA |
1 |
offset |
21-58[c] |
| UNITS |
0 |
opt |
unit_byte |
| UNITS |
1 |
offset |
unit_byte |
| USER_PTR |
0 |
opt |
|
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
1 |
offset |
20-58 |
| CAPPED_DATA |
1 |
offset |
1 |
| RX_PATH |
|
|
|
| TASK_NOT_RUNNING |
|
|
|
| UNITS |
0 |
opt |
unit_byte |
| UNITS |
1 |
offset |
unit_byte |
| HALF_LOCKED2 |
|
&table->lock |
|
| HALF_LOCKED2 |
|
bh |
|
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
opt |
4096-ptr_max |
| PARAM_VALUE |
1 |
offset |
20-56 |
| CAPPED_DATA |
1 |
offset |
1 |
| RX_PATH |
|
|
|
| TASK_NOT_RUNNING |
|
|
|
| UNITS |
0 |
opt |
unit_byte |
| UNITS |
1 |
offset |
unit_byte |
| HALF_LOCKED2 |
|
&table->lock |
|
| HALF_LOCKED2 |
|
bh |
|