Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/bpf/reuseport_array.c bpf_fd_reuseport_array_update_elem() -> reuseport_array_update_check()

Type Parameter Key Value
PARAM_VALUE 0 array 4096-ptr_max
PARAM_VALUE 1 nsk 4096-ptr_max
BUF_SIZE 0 array s32min-(-2),1-s32max
BUF_SIZE 0 array s32min-(-2),1-s32max
DATA_SOURCE 0 array $0
DATA_SOURCE 4 map_flags $3
UNITS 1 nsk unit_byte

kernel/bpf/reuseport_array.c bpf_fd_reuseport_array_update_elem() -> reuseport_array_update_check()

Type Parameter Key Value
PARAM_VALUE 0 array 4096-ptr_max
PARAM_VALUE 1 nsk 4096-ptr_max
PARAM_VALUE 1 nsk->__sk_common.skc_family 2,10
PARAM_VALUE 1 nsk->__sk_common.skc_node.pprev 1-u64max
PARAM_VALUE 1 nsk->sk_protocol 6,17
PARAM_VALUE 1 nsk->sk_type 1-2
PARAM_VALUE 1 nsk->sk_user_data 0
BUF_SIZE 0 array s32min-(-2),1-s32max
BUF_SIZE 0 array s32min-(-2),1-s32max
DATA_SOURCE 0 array $0
DATA_SOURCE 4 map_flags $3
PREEMPT_ADD <- disables preempt
UNITS 1 nsk unit_byte
LOCK2 bh
LOCK2 global &reuseport_lock
LOCK2 1 &nsk->sk_callback_lock
TYPE_LOCK (struct sock)->sk_callback_lock