Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/core/sock.c sk_alloc() -> sock_lock_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_prot | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_prot_creator | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_prot_creator->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_prot_creator->slab | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_security | 0,4096-ptr_max |
| BUF_SIZE | 0 | sk->sk_prot_creator | (-1),448 |
| DATA_SOURCE | 0 | sk | r sk_prot_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &proto_tab_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | sk |
net/core/sock.c sk_clone() -> sock_lock_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_node.pprev | 0 |
| PARAM_VALUE | 0 | sk->__sk_common.skc_prot | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->ns_tracker | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_bpf_storage | 0 |
| PARAM_VALUE | 0 | sk->sk_prot_creator | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_prot_creator->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_prot_creator->slab | 0,4096-ptr_max |
| BUF_SIZE | 0 | sk->sk_prot_creator | (-1),448 |
| CAPPED_DATA | 0 | sk->__sk_common.skc_net.net | 1 |
| DATA_SOURCE | 0 | sk | r sk_prot_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_backlog.len | |
| HALF_LOCKED2 | sk |