Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 29 files:

Smatch caller information:

net/mctp/route.c __mctp_route_test_init() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 0 net 1824583183996030976
PARAM_VALUE 1 family 45
PARAM_VALUE 2 type 2
PARAM_VALUE 3 protocol 0
PARAM_VALUE 4 res 6744023449924026368

net/mctp/route.c mctp_test_route_input_null_eid() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 0 net 1824583183996030976
PARAM_VALUE 1 family 45
PARAM_VALUE 2 type 2
PARAM_VALUE 3 protocol 0
PARAM_VALUE 4 res 5743075470872563712

net/mctp/route.c mctp_test_route_input_sk_keys() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 0 net 1824583183996030976
PARAM_VALUE 1 family 45
PARAM_VALUE 2 type 2
PARAM_VALUE 3 protocol 0
PARAM_VALUE 4 res 9181851384116531200

net/mctp/route.c mctp_test_route_output_direct_no_eids() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 0 net 1824583183996030976
PARAM_VALUE 0 net->mctp.routes.next 4096-ptr_max
PARAM_VALUE 1 family 45
PARAM_VALUE 2 type 2
PARAM_VALUE 3 protocol 0
PARAM_VALUE 4 res 1518975372658184192

net/mctp/route.c mctp_test_route_output_extaddr_no_eids() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 1 family 45
PARAM_VALUE 2 type 2
PARAM_VALUE 3 protocol 0
PARAM_VALUE 4 res 5016487354518171648
UNITS 0 net unit_byte

net/mctp/route.c mctp_test_route_output_key_create() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 0 net 1824583183996030976
PARAM_VALUE 1 family 45
PARAM_VALUE 2 type 2
PARAM_VALUE 3 protocol 0
PARAM_VALUE 4 res 6718802887425826816

fs/coredump.c coredump_sock_connect() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 0 net 1824583183996030976
PARAM_VALUE 1 family 1
PARAM_VALUE 2 type 1
PARAM_VALUE 3 protocol 0
PARAM_VALUE 4 res 5993335500905644032
RX_PATH
TASK_NOT_RUNNING

net/l2tp/l2tp_core.c l2tp_tunnel_sock_create() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->gen 4096-ptr_max
PARAM_VALUE 1 family 10
PARAM_VALUE 2 type 2
PARAM_VALUE 3 protocol 115
PARAM_VALUE 4 res 2266976180999020544
PARAM_VALUE 4 *res 0
CAPPED_DATA 0 net->gen 1
DATA_SOURCE 0 net $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte

net/l2tp/l2tp_core.c l2tp_tunnel_sock_create() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->gen 4096-ptr_max
PARAM_VALUE 1 family 2
PARAM_VALUE 2 type 2
PARAM_VALUE 3 protocol 115
PARAM_VALUE 4 res 2266976180999020544
PARAM_VALUE 4 *res 0
CAPPED_DATA 0 net->gen 1
DATA_SOURCE 0 net $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte

net/mptcp/pm_kernel.c mptcp_pm_nl_create_listen_socket() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 2 type 1
PARAM_VALUE 3 protocol 262
PARAM_VALUE 4 res 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

net/rds/tcp_connect.c rds_tcp_conn_path_connect() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 1 family 2
PARAM_VALUE 2 type 1
PARAM_VALUE 3 protocol 6
PARAM_VALUE 4 res 728703027563638784
PARAM_VALUE 4 *res 0
LOCK2 &tc->t_conn_path_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct rds_tcp_connection)->t_conn_path_lock

net/rds/tcp_connect.c rds_tcp_conn_path_connect() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 1 family 10
PARAM_VALUE 2 type 1
PARAM_VALUE 3 protocol 6
PARAM_VALUE 4 res 728703027563638784
PARAM_VALUE 4 *res 0
LOCK2 &tc->t_conn_path_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct rds_tcp_connection)->t_conn_path_lock

net/rds/tcp_listen.c rds_tcp_listen_init() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->gen 4096-ptr_max
PARAM_VALUE 0 net->sysctls.dir.header.parent 0
PARAM_VALUE 0 net->sysctls.dir.header.parent->root.rb_node 4096-ptr_max
PARAM_VALUE 0 net->sysctls.dir.header.type 0-1
PARAM_VALUE 0 net->sysctls.dir.header.used 0
PARAM_VALUE 1 family 2,10
PARAM_VALUE 2 type 1
PARAM_VALUE 3 protocol 6
PARAM_VALUE 4 res 1066576815025008640
PARAM_VALUE 4 *res 0
BUF_SIZE 0 net (-1)-s32max
BUF_SIZE 0 net (-1)-s32max
BUF_SIZE 0 net->key_domain (-1),24
BUF_SIZE 0 net->ucounts (-1),184
CAPPED_DATA 0 net->gen 1
DATA_SOURCE 0 net $0
FUZZY_MAX 1 family 10
BIT_INFO 1 family 0x2,0xa
HARD_MAX 1 family 10
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &pernet_ops_rwsem

net/qrtr/ns.c qrtr_ns_init() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 0 net 1824583183996030976
PARAM_VALUE 1 family 42
PARAM_VALUE 2 type 2
PARAM_VALUE 3 protocol 42
PARAM_VALUE 4 res 1805418633789247488

drivers/block/drbd/drbd_receiver.c drbd_try_connect() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 0 net 1824583183996030976
PARAM_VALUE 2 type 1
PARAM_VALUE 3 protocol 6
PARAM_VALUE 4 res 4468539450114150400

drivers/block/drbd/drbd_receiver.c prepare_listen_socket() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 0 net 1824583183996030976
PARAM_VALUE 2 type 1
PARAM_VALUE 3 protocol 6
PARAM_VALUE 4 res 8184247370443141120

net/ceph/messenger.c ceph_tcp_connect() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 2 type 1
PARAM_VALUE 3 protocol 6
PARAM_VALUE 4 res 5403713872895012864
LOCK2 &con->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ceph_connection)->mutex

net/rxrpc/rxperf.c rxperf_open_socket() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 0 net 1824583183996030976
PARAM_VALUE 1 family 33
PARAM_VALUE 2 type 2
PARAM_VALUE 3 protocol 10
PARAM_VALUE 4 res 3289928178038960128

net/ipv4/udp_tunnel_core.c udp_sock_create4() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 1 family 2
PARAM_VALUE 2 type 2
PARAM_VALUE 3 protocol 0
PARAM_VALUE 4 res 5076260606649536512
PARAM_VALUE 4 *res 0
DATA_SOURCE 0 net $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte
HALF_LOCKED2 &rx->sk
HALF_LOCKED2 &rxnet->local_mutex
HALF_LOCKED2 &wg->device_update_lock
HALF_LOCKED2 global &link_ops_rwsem
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &sctp_sysctl_mutex

net/mctp/test/utils.c mctp_test_bind_run() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 0 net 1824583183996030976
PARAM_VALUE 1 family 45
PARAM_VALUE 2 type 2
PARAM_VALUE 3 protocol 0
PARAM_VALUE 4 res 4096-ptr_max
DATA_SOURCE 4 res $3

fs/afs/rxrpc.c afs_open_socket() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 0 net->gen 4096-ptr_max
PARAM_VALUE 1 family 33
PARAM_VALUE 2 type 2
PARAM_VALUE 3 protocol 10
PARAM_VALUE 4 res 8427039500470882304
BUF_SIZE 0 net (-1)-s32max
BUF_SIZE 0 net (-1)-s32max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &pernet_ops_rwsem

net/ipv4/af_inet.c inet_ctl_sock_create() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 1 family 2,10
PARAM_VALUE 2 type 2-3,5
PARAM_VALUE 3 protocol 0-1,6,17,58,132
PARAM_VALUE 4 res 1034227522271232000
BUF_SIZE 0 net (-1)-s32max
BUF_SIZE 0 net (-1)-s32max
BUF_SIZE 0 net->key_domain (-1),24
BUF_SIZE 0 net->ucounts (-1),184
DATA_SOURCE 0 net $4
DATA_SOURCE 1 family $1
DATA_SOURCE 2 type $2
DATA_SOURCE 3 protocol $3
FUZZY_MAX 1 family 10
HARD_MAX 1 family 10
HARD_MAX 2 type 5
HARD_MAX 3 protocol 132
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &pernet_ops_rwsem

net/smc/af_smc.c smc_create_clcsk() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 1 family 2,10,29,35-36,45
PARAM_VALUE 2 type 1
PARAM_VALUE 3 protocol 6
PARAM_VALUE 4 res 4096-ptr_max
BUF_SIZE 0 net (-1),1-s32max
BUF_SIZE 0 net (-1),1-s32max
DATA_SOURCE 0 net $0
DATA_SOURCE 1 family $2
FUZZY_MAX 1 family 10
HARD_MAX 1 family 45
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 net->ipv6.igmp_sk->sk_receive_queue.prev->next->tail
NO_OVERFLOW_SIMPLE 0 net->ipv6.igmp_sk->sk_receive_queue.prev->next->truesize
NO_OVERFLOW_SIMPLE 0 net->ipv6.igmp_sk->sk_receive_queue.prev->tail
NO_OVERFLOW_SIMPLE 0 net->ipv6.igmp_sk->sk_receive_queue.prev->truesize
NO_OVERFLOW_SIMPLE 0 net->ipv6.igmp_sk->sk_write_queue.next->prev->tail
NO_OVERFLOW_SIMPLE 0 net->ipv6.igmp_sk->sk_write_queue.next->prev->truesize
NO_OVERFLOW_SIMPLE 0 net->ipv6.igmp_sk->sk_write_queue.next->tail
NO_OVERFLOW_SIMPLE 0 net->ipv6.igmp_sk->sk_write_queue.next->truesize
NO_OVERFLOW_SIMPLE 0 net->sctp.ctl_sock->sk_receive_queue.prev->next->tail
NO_OVERFLOW_SIMPLE 0 net->sctp.ctl_sock->sk_receive_queue.prev->next->truesize
NO_OVERFLOW_SIMPLE 0 net->sctp.ctl_sock->sk_receive_queue.prev->tail
NO_OVERFLOW_SIMPLE 0 net->sctp.ctl_sock->sk_receive_queue.prev->truesize
NO_OVERFLOW_SIMPLE 0 net->sctp.ctl_sock->sk_write_queue.next->prev->tail
NO_OVERFLOW_SIMPLE 0 net->sctp.ctl_sock->sk_write_queue.next->prev->truesize
NO_OVERFLOW_SIMPLE 0 net->sctp.ctl_sock->sk_write_queue.next->tail
NO_OVERFLOW_SIMPLE 0 net->sctp.ctl_sock->sk_write_queue.next->truesize
UNITS 0 net unit_byte
HALF_LOCKED2 global &bt_proto_lock

fs/dlm/lowcomms.c dlm_connect() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 0 net 1824583183996030976
PARAM_VALUE 1 family 0-u16max
PARAM_VALUE 2 type 1
PARAM_VALUE 4 res 3629203311578451968
LOCK2 &con->sock_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct connection)->sock_lock

fs/dlm/lowcomms.c dlm_listen_for_all() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 0 net 1824583183996030976
PARAM_VALUE 1 family 0-u16max
PARAM_VALUE 2 type 1
PARAM_VALUE 4 res 4670035857536729088
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &ls_lock

net/ipv6/ip6_udp_tunnel.c udp_sock_create6() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 1 family 10
PARAM_VALUE 2 type 2
PARAM_VALUE 3 protocol 0
PARAM_VALUE 4 res 7036875526538416128
PARAM_VALUE 4 *res 0
DATA_SOURCE 0 net $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte
HALF_LOCKED2 &rx->sk
HALF_LOCKED2 &rxnet->local_mutex
HALF_LOCKED2 &wg->device_update_lock
HALF_LOCKED2 global &link_ops_rwsem
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &sctp_sysctl_mutex

drivers/soc/qcom/qmi_interface.c qmi_sock_create() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 0 net 1824583183996030976
PARAM_VALUE 1 family 42
PARAM_VALUE 2 type 2
PARAM_VALUE 3 protocol 42
PARAM_VALUE 4 res 7435152656418926592
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

net/mctp/af_mctp.c __mctp_sock_test_init() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 0 net 1824583183996030976
PARAM_VALUE 1 family 45
PARAM_VALUE 2 type 2
PARAM_VALUE 3 protocol 0
PARAM_VALUE 4 res 8126383056032624640

fs/smb/client/connect.c generic_ip_connect() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 1 family 2,10
PARAM_VALUE 2 type 1
PARAM_VALUE 3 protocol 6
PARAM_VALUE 4 res 4096-ptr_max
PARAM_VALUE 4 *res 0
FUZZY_MAX 1 family 10
BIT_INFO 1 family 0x2,0xa
HARD_MAX 1 family 10
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &server->_srv_mutex

drivers/nvme/host/tcp.c nvme_tcp_alloc_queue() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 2 type 1
PARAM_VALUE 3 protocol 6
PARAM_VALUE 4 res 4096-ptr_max
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &nvmf_dev_mutex

drivers/infiniband/sw/rxe/rxe_qp.c rxe_qp_init_req() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 0 net 1824583183996030976
PARAM_VALUE 1 family 2
PARAM_VALUE 2 type 2
PARAM_VALUE 3 protocol 0
PARAM_VALUE 4 res 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

fs/smb/server/transport_tcp.c create_socket() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 1 family 10
PARAM_VALUE 2 type 1
PARAM_VALUE 3 protocol 6
PARAM_VALUE 4 res 2584552052987109376

fs/smb/server/transport_tcp.c create_socket() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 1 family 2
PARAM_VALUE 2 type 1
PARAM_VALUE 3 protocol 6
PARAM_VALUE 4 res 2584552052987109376

net/mptcp/subflow.c mptcp_subflow_create_socket() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 2 type 1
PARAM_VALUE 3 protocol 6
PARAM_VALUE 4 res 2952763447204589568
DATA_SOURCE 1 family $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte
HALF_LOCKED2 sk

net/bluetooth/rfcomm/core.c rfcomm_l2sock_create() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 0 net 1824583183996030976
PARAM_VALUE 1 family 31
PARAM_VALUE 2 type 5
PARAM_VALUE 3 protocol 0
PARAM_VALUE 4 res 1509826450176393216,4718806950123847680
DATA_SOURCE 4 res $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &rfcomm_mutex

net/netfilter/ipvs/ip_vs_sync.c make_receive_sock() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 1 family 2,10
PARAM_VALUE 2 type 2
PARAM_VALUE 3 protocol 17
PARAM_VALUE 4 res 8070412530006892544
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ipvs->sync_mutex
LOCK2 global &rtnl_mutex
TYPE_LOCK (struct netns_ipvs)->sync_mutex

net/netfilter/ipvs/ip_vs_sync.c make_send_sock() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 1 family 2,10
PARAM_VALUE 2 type 2
PARAM_VALUE 3 protocol 17
PARAM_VALUE 4 res 6530045114410016768
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ipvs->sync_mutex
LOCK2 global &rtnl_mutex
TYPE_LOCK (struct netns_ipvs)->sync_mutex

net/tipc/topsrv.c tipc_topsrv_create_listener() -> sock_create_kern()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->gen 4096-ptr_max
PARAM_VALUE 1 family 30
PARAM_VALUE 2 type 5
PARAM_VALUE 3 protocol 0
PARAM_VALUE 4 res 5404589137419771904
PARAM_VALUE 4 *res 0
BUF_SIZE 0 net (-1),1-s32max
BUF_SIZE 0 net (-1),1-s32max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &pernet_ops_rwsem