Defined in 3 files as a member:
- include/linux/net.h, line 242 (as a member)
- include/net/sock.h, line 1321 (as a member)
- tools/testing/selftests/bpf/prog_tests/sock_addr.c, line 286 (as a member)
Defined in 1 files as a function:
Referenced in 111 files:
- arch/um/drivers/mconsole_user.c, line 56
- arch/um/drivers/vector_user.c, line 767
- arch/um/os-Linux/file.c, line 671
- crypto/af_alg.c, line 543
- crypto/algif_aead.c, 2 times
- crypto/algif_hash.c, 2 times
- crypto/algif_rng.c, 2 times
- crypto/algif_skcipher.c, 2 times
- drivers/md/md-cluster.c, 7 times
- drivers/net/ovpn/tcp.c, line 645
- drivers/net/ppp/pppoe.c, line 1052
- drivers/net/ppp/pptp.c, line 633
- drivers/net/tap.c, line 1164
- drivers/net/tun.c, line 2772
- drivers/target/iscsi/iscsi_target_util.c, line 1143
- drivers/vhost/net.c, 3 times
- kernel/sys_ni.c, 2 times
- net/atm/pvc.c, line 126
- net/bluetooth/bnep/sock.c, line 179
- net/bluetooth/hci_sock.c, line 2179
- net/bluetooth/hidp/sock.c, line 230
- net/bluetooth/iso.c, line 2840
- net/bluetooth/l2cap_sock.c, line 2039
- net/bluetooth/rfcomm/sock.c, line 1040
- net/bluetooth/sco.c, line 1605
- net/can/bcm.c, line 2123
- net/can/isotp.c, line 2021
- net/can/j1939/socket.c, line 1389
- net/can/raw.c, line 1083
- net/compat.c, line 349
- net/core/skbuff.c, 3 times
- net/core/sock.c, line 4400
- net/ieee802154/socket.c, 5 times
- net/ipv4/af_inet.c, 4 times
- net/ipv4/ping.c, line 989
- net/ipv4/raw.c, line 959
- net/ipv4/tcp_bpf.c, 2 times
- net/ipv4/tcp_ipv4.c, line 3365
- net/ipv4/udp.c, line 3144
- net/ipv6/af_inet6.c, 3 times
- net/ipv6/ping.c, line 206
- net/ipv6/raw.c, 2 times
- net/ipv6/tcp_ipv6.c, line 2293
- net/ipv6/udp.c, line 1907
- net/iucv/af_iucv.c, line 2248
- net/kcm/kcmsock.c, 2 times
- net/key/af_key.c, line 3790
- net/l2tp/l2tp_ip.c, 2 times
- net/l2tp/l2tp_ip6.c, 2 times
- net/l2tp/l2tp_ppp.c, line 1650
- net/llc/af_llc.c, line 1236
- net/mctp/af_mctp.c, line 643
- net/mptcp/protocol.c, 3 times
- net/netlink/af_netlink.c, line 2823
- net/nfc/llcp_sock.c, 2 times
- net/nfc/rawsock.c, 2 times
- net/packet/af_packet.c, 2 times
- net/phonet/datagram.c, line 171
- net/phonet/pep.c, line 1390
- net/phonet/socket.c, 3 times
- net/qrtr/af_qrtr.c, line 1240
- net/rds/af_rds.c, line 661
- net/rxrpc/af_rxrpc.c, line 1015
- net/sctp/ipv6.c, line 1059
- net/sctp/protocol.c, line 1122
- net/sctp/socket.c, 2 times
- net/smc/af_smc.c, 2 times
- net/smc/smc_inet.c, 2 times
- net/socket.c, 2 times
- net/tipc/socket.c, 3 times
- net/tls/tls_main.c, 3 times
- net/unix/af_unix.c, 3 times
- net/vmw_vsock/af_vsock.c, 3 times
- net/x25/af_x25.c, line 1753
- net/xdp/xsk.c, line 2150
- net/xfrm/espintcp.c, line 559
- samples/bpf/xdp_router_ipv4_user.c, 2 times
- samples/seccomp/user-trap.c, line 55
- tools/testing/selftests/bpf/netlink_helpers.c, line 171
- tools/testing/selftests/bpf/prog_tests/crypto_sanity.c, line 71
- tools/testing/selftests/bpf/prog_tests/lwt_reroute.c, line 138
- tools/testing/selftests/bpf/prog_tests/sk_lookup.c, line 363
- tools/testing/selftests/bpf/prog_tests/sock_addr.c, 5 times
- tools/testing/selftests/bpf/prog_tests/tc_redirect.c, line 640
- tools/testing/selftests/bpf/prog_tests/token.c, line 174
- tools/testing/selftests/bpf/test_sockmap.c, line 566
- tools/testing/selftests/drivers/net/hw/ncdevmem.c, line 1395
- tools/testing/selftests/drivers/net/so_txtime.c, line 111
- tools/testing/selftests/landlock/common.h, line 194
- tools/testing/selftests/landlock/net_test.c, line 3232
- tools/testing/selftests/namespaces/siocgskns_test.c, 8 times
- tools/testing/selftests/net/af_unix/diag_uid.c, line 113
- tools/testing/selftests/net/af_unix/scm_rights.c, line 300
- tools/testing/selftests/net/cmsg_sender.c, line 541
- tools/testing/selftests/net/ipv6_flowlabel.c, line 87
- tools/testing/selftests/net/ipv6_fragmentation.c, line 98
- tools/testing/selftests/net/lib/csum.c, line 460
- tools/testing/selftests/net/lib/gro.c, line 415
- tools/testing/selftests/net/mptcp/mptcp_diag.c, line 150
- tools/testing/selftests/net/msg_zerocopy.c, line 207
- tools/testing/selftests/net/nettest.c, 3 times
- tools/testing/selftests/net/ovpn/ovpn-cli.c, line 1237
- tools/testing/selftests/net/tls.c, 6 times
- tools/testing/selftests/net/tun.c, line 403
- tools/testing/selftests/net/txtimestamp.c, line 656
- tools/testing/selftests/net/udpgso.c, line 360
- tools/testing/selftests/net/udpgso_bench_tx.c, line 420
- tools/testing/selftests/tty/tty_tiocsti_test.c, line 269
- tools/testing/vsock/vsock_diag_test.c, line 197
- tools/testing/vsock/vsock_test.c, line 1799
- tools/testing/vsock/vsock_test_zerocopy.c, line 178
Smatch caller information:
drivers/md/md-cluster.c gather_bitmaps() -> sendmsg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cinfo | 1-u64max |
| PARAM_VALUE | 1 | cmsg | 5486481856687566848 |
| PARAM_VALUE | 1 | cmsg->high | 0 |
| PARAM_VALUE | 1 | cmsg->low | 0 |
| PARAM_VALUE | 1 | cmsg->slot | 0 |
| PARAM_VALUE | 1 | cmsg->type | 4 |
| PARAM_VALUE | 2 | mddev_locked | 1 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mddev->reconfig_mutex | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct mddev)->reconfig_mutex |
drivers/md/md-cluster.c remove_disk() -> sendmsg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cinfo | 1-u64max |
| PARAM_VALUE | 1 | cmsg | 8595493849857708032 |
| PARAM_VALUE | 1 | cmsg->high | 0 |
| PARAM_VALUE | 1 | cmsg->low | 0 |
| PARAM_VALUE | 1 | cmsg->slot | 0 |
| PARAM_VALUE | 1 | cmsg->type | 3 |
| PARAM_VALUE | 2 | mddev_locked | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mddev->reconfig_mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/md/md-cluster.c resync_bitmap() -> sendmsg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cinfo | 4096-ptr_max |
| PARAM_VALUE | 0 | cinfo->recovery_map | 0-9223372036854775807 |
| PARAM_VALUE | 1 | cmsg | 8343006924931244032 |
| PARAM_VALUE | 1 | cmsg->high | 0 |
| PARAM_VALUE | 1 | cmsg->low | 0 |
| PARAM_VALUE | 1 | cmsg->slot | 0 |
| PARAM_VALUE | 1 | cmsg->type | 5 |
| PARAM_VALUE | 2 | mddev_locked | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mddev->reconfig_mutex |
drivers/md/md-cluster.c resync_info_update() -> sendmsg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cinfo | 4096-ptr_max |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres | 4096-ptr_max |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->lksb.sb_lvbptr | 4096-ptr_max |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->lksb.sb_status | (-65538)-(-65537),(-35),(-11),0 |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls | 4096-ptr_max |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_in_recovery.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_in_recovery.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_in_recovery.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_in_recovery.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_in_recovery.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_lkbxa.xa_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_lkbxa_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_lkbxa_lock.owner_cpu | 0-4294967295 |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_lkbxa_lock.raw_lock.cnts.counter | s32min-s32max |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_lkbxa_lock.raw_lock.wlocked | 0-255 |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_rsbtbl.nelems.counter | s32min-s32max |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_rsbtbl.run_irq_work.node.a_flags.counter | s32min-s32max |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_rsbtbl.tbl->dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_rsbtbl.tbl->hash_rnd | 0-4294967295 |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_rsbtbl.tbl->nest | 0-4294967295 |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_rsbtbl.tbl->size | 0-4294967295 |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_rsbtbl_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_scan_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_scan_timer.flags | 0-4294967295 |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->name | 4096-ptr_max |
| PARAM_VALUE | 1 | cmsg | 190713195239239680 |
| PARAM_VALUE | 1 | cmsg->high | 0 |
| PARAM_VALUE | 1 | cmsg->low | 0 |
| PARAM_VALUE | 1 | cmsg->slot | 0 |
| PARAM_VALUE | 1 | cmsg->type | 1 |
| PARAM_VALUE | 2 | mddev_locked | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mddev->reconfig_mutex |
drivers/md/md-cluster.c resync_info_update() -> sendmsg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cinfo | 4096-ptr_max |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres | 4096-ptr_max |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->lksb.sb_lvbptr | 4096-ptr_max |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->lksb.sb_status | (-65538)-(-65537),(-35),(-11),0 |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls | 4096-ptr_max |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_in_recovery.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_in_recovery.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_in_recovery.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_in_recovery.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_in_recovery.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_lkbxa.xa_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_lkbxa_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_lkbxa_lock.owner_cpu | 0-4294967295 |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_lkbxa_lock.raw_lock.cnts.counter | s32min-s32max |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_lkbxa_lock.raw_lock.wlocked | 0-255 |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_rsbtbl.nelems.counter | s32min-s32max |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_rsbtbl.run_irq_work.node.a_flags.counter | s32min-s32max |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_rsbtbl.tbl->dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_rsbtbl.tbl->hash_rnd | 0-4294967295 |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_rsbtbl.tbl->nest | 0-4294967295 |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_rsbtbl.tbl->size | 0-4294967295 |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_rsbtbl_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_scan_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->ls->ls_scan_timer.flags | 0-4294967295 |
| PARAM_VALUE | 0 | cinfo->bitmap_lockres->name | 4096-ptr_max |
| PARAM_VALUE | 1 | cmsg | 190713195239239680 |
| PARAM_VALUE | 1 | cmsg->slot | 0 |
| PARAM_VALUE | 1 | cmsg->type | 1 |
| PARAM_VALUE | 2 | mddev_locked | 0 |
| RX_PATH |
drivers/md/md-cluster.c resync_start_notify() -> sendmsg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmsg | 7993018765305204736 |
| PARAM_VALUE | 1 | cmsg->high | 0 |
| PARAM_VALUE | 1 | cmsg->low | 0 |
| PARAM_VALUE | 1 | cmsg->slot | 0 |
| PARAM_VALUE | 1 | cmsg->type | 8 |
| PARAM_VALUE | 2 | mddev_locked | 0 |
drivers/md/md-cluster.c update_bitmap_size() -> sendmsg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cinfo->suspend_hi | 0-9223372036854775807 |
| PARAM_VALUE | 0 | cinfo->suspend_lo | 0-9223372036854775807 |
| PARAM_VALUE | 0 | cinfo->sync_hi | 0-9223372036854775807 |
| PARAM_VALUE | 0 | cinfo->sync_low | 0-9223372036854775807 |
| PARAM_VALUE | 1 | cmsg | 8548903492011077632 |
| PARAM_VALUE | 1 | cmsg->low | 0 |
| PARAM_VALUE | 1 | cmsg->slot | 0 |
| PARAM_VALUE | 1 | cmsg->type | 7 |
| PARAM_VALUE | 2 | mddev_locked | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &cinfo->recv_mutex | ||
| HALF_LOCKED2 | &md->suspend_lock | ||
| HALF_LOCKED2 | &mddev->reconfig_mutex | ||
| HALF_LOCKED2 | &mddev->reconfig_mutex | ||
| HALF_LOCKED2 | &of->mutex |