Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/core/sock_diag.c sock_diag_destroy() -> (struct proto)->diag_destroy()

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_common.skc_prot->diag_destroy 1-u64max
PARAM_VALUE 0 sk->__sk_common.skc_refcnt.refs.counter (-1073741824),0-s32max
PARAM_VALUE 1 err 103
CAPPED_DATA 0 sk->__sk_common.skc_net.net 1
DATA_SOURCE 0 sk $0
DATA_SOURCE 1 err $1
NS_CAPABLE 0 12
CONTAINER 0 -440-40-0+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
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 &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex

net/core/filter.c bpf_sock_destroy() -> (struct proto)->diag_destroy()

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_common.skc_prot->diag_destroy 1-u64max
PARAM_VALUE 0 sk->sk_protocol 6,17
PARAM_VALUE 1 err 103
DATA_SOURCE 0 sk $0
CONTAINER 0 -440-40-0+0 $(-1)
BIT_INFO 0 sk->sk_protocol 0x0,0x17