Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/core/sock_map.c sock_hash_update_common() -> sock_hash_alloc_elem()

Type Parameter Key Value
PARAM_VALUE 0 htab 4096-ptr_max
PARAM_VALUE 4 sk 4096-ptr_max
PARAM_VALUE 4 sk->__sk_common.skc_prot->psock_update_sk_prot 1-u64max
PARAM_VALUE 4 sk->sk_callback_lock.dep_map->name 0-255
PARAM_VALUE 4 sk->sk_data_ready 1-u64max
PARAM_VALUE 4 sk->sk_user_data 0,4101-18446744073709547525
PARAM_VALUE 5 old 0,4096-ptr_max
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 1 key (-1)-s32max
BUF_SIZE 4 sk (-1)-s32max
BUF_SIZE 4 sk (-1)-s32max
CAPPED_DATA 4 sk->sk_user_data 1
DATA_SOURCE 1 key $1
DATA_SOURCE 3 hash r sock_hash_bucket_hash
DATA_SOURCE 4 sk $2
DATA_SOURCE 5 old r sock_hash_lookup_elem_raw
PREEMPT_ADD
USER_DATA 1 *key s64min-s64max
USER_DATA 3 hash 0-u32max[c][u]
UNITS 2 key_size unit_byte
UNITS 4 sk unit_byte
USER_PTR 1 key
LOCK2 &bucket->lock
LOCK2 bh
HALF_LOCKED2 4 &sk->sk_lock.slock
TYPE_LOCK (struct bpf_shtab_bucket)->lock