Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/core/sock_map.c ____bpf_sock_map_update() -> sock_map_update_common()

Type Parameter Key Value
PARAM_VALUE 2 sk 4096-ptr_max
PARAM_VALUE 2 sk->__sk_common.skc_prot 4096-ptr_max
PARAM_VALUE 2 sk->__sk_common.skc_prot->psock_update_sk_prot 1-u64max
DATA_SOURCE 0 map $1
DATA_SOURCE 3 flags $3
UNITS 2 sk unit_byte

net/core/sock_map.c sock_map_update_elem() -> sock_map_update_common()

Type Parameter Key Value
PARAM_VALUE 0 map 4096-ptr_max
PARAM_VALUE 0 map->map_type 15
PARAM_VALUE 0 map->ops 4096-ptr_max
PARAM_VALUE 0 map->ops->map_update_batch 0,7911141981172039680
PARAM_VALUE 2 sk 4096-ptr_max
PARAM_VALUE 2 sk->__sk_common.skc_prot 4096-ptr_max
PARAM_VALUE 2 sk->__sk_common.skc_prot->psock_update_sk_prot 1-u64max
PARAM_VALUE 2 sk->sk_lock.slock.rlock.dep_map->name 0-255
BUF_SIZE 2 sk (-1)-s32max
BUF_SIZE 2 sk (-1)-s32max
DATA_SOURCE 0 map $0
DATA_SOURCE 2 sk $2
DATA_SOURCE 3 flags $3
PREEMPT_ADD <- disables preempt
LOCK2 bh
LOCK2 2 &sk->sk_lock.slock
TYPE_LOCK (struct socket_lock_t)->slock

net/core/sock_map.c sock_map_update_elem_sys() -> sock_map_update_common()

Type Parameter Key Value
PARAM_VALUE 0 map 4096-ptr_max
PARAM_VALUE 0 map->map_type 15
PARAM_VALUE 0 map->ops 0-8176211074560897023,8176211074560897025-u64max
PARAM_VALUE 0 map->ops->map_update_batch 0,7911141981172039680
PARAM_VALUE 2 sk 4096-ptr_max
PARAM_VALUE 2 sk->__sk_common.skc_prot 4096-ptr_max
PARAM_VALUE 2 sk->__sk_common.skc_prot->psock_update_sk_prot 1-u64max
PARAM_VALUE 2 sk->sk_lock.owned 1
PARAM_VALUE 2 sk->sk_lock.slock.rlock.dep_map->name 0-255
PARAM_VALUE 2 sk->sk_lock.wq.head.prev 4096-ptr_max
PARAM_VALUE 2 sk->sk_lock.wq.head.prev->next 4096-ptr_max
PARAM_VALUE 2 sk->sk_lock.wq.head.prev->next->next 4096-ptr_max
PARAM_VALUE 3 flags 4-u64max
BUF_SIZE 0 map s32min-(-2),1-s32max
BUF_SIZE 0 map s32min-(-2),1-s32max
DATA_SOURCE 0 map $0
DATA_SOURCE 3 flags $3
USER_DATA 1 idx 0-u32max
USER_DATA 3 flags 4-u64max
UNITS 2 sk unit_byte
LOCK2 rcu_read
LOCK2 2 sk