Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

net/sunrpc/xprtsock.c xs_create_sock() -> __sock_create()

Type Parameter Key Value
PARAM_VALUE 1 family 0-u16max
PARAM_VALUE 2 type 1-2
PARAM_VALUE 3 protocol 6,17
PARAM_VALUE 4 res 2685035153651802112
PARAM_VALUE 5 kern 1
DATA_SOURCE 1 family $2
DATA_SOURCE 2 type $3
DATA_SOURCE 3 protocol $4
HARD_MAX 2 type 2
HARD_MAX 3 protocol 17
HALF_LOCKED2 &pool->lock

net/sunrpc/xprtsock.c xs_local_setup_socket() -> __sock_create()

Type Parameter Key Value
PARAM_VALUE 1 family 1
PARAM_VALUE 2 type 1
PARAM_VALUE 3 protocol 0
PARAM_VALUE 4 res 628982960834396160
PARAM_VALUE 5 kern 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

net/9p/trans_fd.c p9_fd_create_tcp() -> __sock_create()

Type Parameter Key Value
PARAM_VALUE 2 type 1
PARAM_VALUE 3 protocol 6
PARAM_VALUE 4 res 8744965884969652224
PARAM_VALUE 4 *res 0
PARAM_VALUE 5 kern 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fc->uapi_mutex

net/9p/trans_fd.c p9_fd_create_unix() -> __sock_create()

Type Parameter Key Value
PARAM_VALUE 1 family 1
PARAM_VALUE 2 type 1
PARAM_VALUE 3 protocol 0
PARAM_VALUE 4 res 5734815756601847808
PARAM_VALUE 4 *res 0
PARAM_VALUE 5 kern 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fc->uapi_mutex

net/wireless/nl80211.c nl80211_parse_wowlan_tcp() -> __sock_create()

Type Parameter Key Value
PARAM_VALUE 1 family 2
PARAM_VALUE 2 type 1
PARAM_VALUE 3 protocol 6
PARAM_VALUE 4 res 4096-ptr_max
PARAM_VALUE 5 kern 1

net/handshake/handshake-test.c handshake_req_cancel_test1() -> __sock_create()

Type Parameter Key Value
PARAM_VALUE 0 net 1824583183996030976
PARAM_VALUE 1 family 2
PARAM_VALUE 2 type 1
PARAM_VALUE 3 protocol 6
PARAM_VALUE 4 res 2148399053727580160
PARAM_VALUE 5 kern 1

net/handshake/handshake-test.c handshake_req_cancel_test2() -> __sock_create()

Type Parameter Key Value
PARAM_VALUE 0 net 1824583183996030976
PARAM_VALUE 1 family 2
PARAM_VALUE 2 type 1
PARAM_VALUE 3 protocol 6
PARAM_VALUE 4 res 4842075604939583488
PARAM_VALUE 5 kern 1

net/handshake/handshake-test.c handshake_req_cancel_test3() -> __sock_create()

Type Parameter Key Value
PARAM_VALUE 0 net 1824583183996030976
PARAM_VALUE 1 family 2
PARAM_VALUE 2 type 1
PARAM_VALUE 3 protocol 6
PARAM_VALUE 4 res 1495369629305667584
PARAM_VALUE 5 kern 1

net/handshake/handshake-test.c handshake_req_destroy_test1() -> __sock_create()

Type Parameter Key Value
PARAM_VALUE 0 net 1824583183996030976
PARAM_VALUE 1 family 2
PARAM_VALUE 2 type 1
PARAM_VALUE 3 protocol 6
PARAM_VALUE 4 res 6970757602331475968
PARAM_VALUE 5 kern 1

net/handshake/handshake-test.c handshake_req_submit_test1() -> __sock_create()

Type Parameter Key Value
PARAM_VALUE 0 net 1824583183996030976
PARAM_VALUE 1 family 2
PARAM_VALUE 2 type 1
PARAM_VALUE 3 protocol 6
PARAM_VALUE 4 res 6105951126710190080
PARAM_VALUE 5 kern 1

net/handshake/handshake-test.c handshake_req_submit_test3() -> __sock_create()

Type Parameter Key Value
PARAM_VALUE 0 net 1824583183996030976
PARAM_VALUE 1 family 2
PARAM_VALUE 2 type 1
PARAM_VALUE 3 protocol 6
PARAM_VALUE 4 res 5992223183884316672
PARAM_VALUE 5 kern 1

net/handshake/handshake-test.c handshake_req_submit_test4() -> __sock_create()

Type Parameter Key Value
PARAM_VALUE 0 net 1824583183996030976
PARAM_VALUE 1 family 2
PARAM_VALUE 2 type 1
PARAM_VALUE 3 protocol 6
PARAM_VALUE 4 res 3873028276745011200
PARAM_VALUE 5 kern 1

net/handshake/handshake-test.c handshake_req_submit_test5() -> __sock_create()

Type Parameter Key Value
PARAM_VALUE 0 net 1824583183996030976
PARAM_VALUE 1 family 2
PARAM_VALUE 2 type 1
PARAM_VALUE 3 protocol 6
PARAM_VALUE 4 res 326094499834372096
PARAM_VALUE 5 kern 1

net/handshake/handshake-test.c handshake_req_submit_test6() -> __sock_create()

Type Parameter Key Value
PARAM_VALUE 0 net 1824583183996030976
PARAM_VALUE 1 family 2
PARAM_VALUE 2 type 1
PARAM_VALUE 3 protocol 6
PARAM_VALUE 4 res 516870784321331200
PARAM_VALUE 5 kern 1

net/socket.c sock_create() -> __sock_create()

Type Parameter Key Value
PARAM_VALUE 2 type 0-15
PARAM_VALUE 4 res 4096-ptr_max
PARAM_VALUE 5 kern 0
DATA_SOURCE 1 family $0
DATA_SOURCE 2 type $1
DATA_SOURCE 3 protocol $2
DATA_SOURCE 4 res $3
FUZZY_MAX 2 type 5
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 family s32min-s32max
USER_DATA 2 type 0-15[c]
USER_DATA 3 protocol s32min-s32max
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &dir->i_rwsem
HALF_LOCKED2 &frag->frag_sem
HALF_LOCKED2 &tpg->tpg_access_lock
HALF_LOCKED2 global &np_lock
HALF_LOCKED2 global &nvmet_config_sem
HALF_LOCKED2 global &o2nm_cluster_group.cs_subsys.su_mutex

net/socket.c sock_create_kern() -> __sock_create()

Type Parameter Key Value
PARAM_VALUE 2 type 1-3,5
PARAM_VALUE 4 res 4096-ptr_max
PARAM_VALUE 5 kern 1
BUF_SIZE 0 net (-1),1-s32max
BUF_SIZE 0 net (-1),1-s32max
BUF_SIZE 0 net->key_domain (-1),24
BUF_SIZE 0 net->ucounts (-1),184
DATA_SOURCE 0 net $0
DATA_SOURCE 1 family $1
DATA_SOURCE 2 type $2
DATA_SOURCE 3 protocol $3
DATA_SOURCE 4 res $4
HARD_MAX 2 type 5
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 &con->mutex
HALF_LOCKED2 &con->sock_lock
HALF_LOCKED2 &ipvs->sync_mutex
HALF_LOCKED2 &tc->t_conn_path_lock
HALF_LOCKED2 global &ls_lock
HALF_LOCKED2 global &pernet_ops_rwsem
HALF_LOCKED2 global &rtnl_mutex

net/sunrpc/svcsock.c svc_create_socket() -> __sock_create()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
PARAM_VALUE 0 net->gen 4096-ptr_max
PARAM_VALUE 1 family 2,10
PARAM_VALUE 2 type 1-2
PARAM_VALUE 3 protocol 6,17
PARAM_VALUE 4 res 957755194592215040
PARAM_VALUE 5 kern 1
BUF_SIZE 0 net (-1),1-s32max
BUF_SIZE 0 net (-1),1-s32max
CAPPED_DATA 0 net->gen 1
DATA_SOURCE 0 net $2
DATA_SOURCE 3 protocol $1
FUZZY_MAX 1 family 10
FUZZY_MAX 2 type 2
BIT_INFO 1 family 0x2,0xa
BIT_INFO 3 protocol 0x0,0x17
HARD_MAX 1 family 10
HARD_MAX 2 type 2
HARD_MAX 3 protocol 17
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &nfsd_mutex

net/sunrpc/clnt.c rpc_sockname() -> __sock_create()

Type Parameter Key Value
PARAM_VALUE 2 type 2
PARAM_VALUE 3 protocol 17
PARAM_VALUE 4 res 4199796303094784000
PARAM_VALUE 5 kern 1
DATA_SOURCE 0 net $0
RX_PATH
TASK_NOT_RUNNING