Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/bpf/hashtab.c __bpf_rhash_map_seq_show() -> rhtab_elem_value()

Type Parameter Key Value
PARAM_VALUE 0 l 4096-ptr_max
DATA_SOURCE 0 l $1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 key_size unit_byte
LOCK2 &seq->lock
TYPE_LOCK (struct seq_file)->lock

kernel/bpf/hashtab.c bpf_each_rhash_elem() -> rhtab_elem_value()

Type Parameter Key Value
PARAM_VALUE 0 l 4096-ptr_max
DATA_SOURCE 0 l r rhashtable_next_key
UNITS 1 key_size unit_byte
LOCK2 rcu_read

kernel/bpf/hashtab.c rhtab_check_and_free_fields() -> rhtab_elem_value()

Type Parameter Key Value
DATA_SOURCE 0 l $1
UNITS 1 key_size unit_byte
LOCK2 rcu_read

kernel/bpf/hashtab.c rhtab_free_elem() -> rhtab_elem_value()

Type Parameter Key Value
DATA_SOURCE 0 l $0
RX_PATH
TASK_NOT_RUNNING
UNITS 1 key_size unit_byte
HALF_LOCKED2 &ct_priv->control_lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &efx->tc->mutex
HALF_LOCKED2 global &pernet_ops_rwsem

kernel/bpf/hashtab.c rhtab_map_free_internal_structs() -> rhtab_elem_value()

Type Parameter Key Value
PARAM_VALUE 0 l 1-ptr_max
DATA_SOURCE 0 l r rhashtable_walk_next
RX_PATH
TASK_NOT_RUNNING
UNITS 1 key_size unit_byte
HALF_LOCKED2 global &sockmap_mutex

kernel/bpf/hashtab.c rhtab_map_lookup_elem() -> rhtab_elem_value()

Type Parameter Key Value
PARAM_VALUE 0 l 1-u64max
DATA_SOURCE 0 l r rhtab_lookup_elem
RX_PATH
TASK_NOT_RUNNING
UNITS 1 key_size unit_byte
HALF_LOCKED2 &m->lock
HALF_LOCKED2 rcu_read

kernel/bpf/hashtab.c rhtab_map_update_elem() -> rhtab_elem_value()

Type Parameter Key Value
PARAM_VALUE 0 l 4096-ptr_max
DATA_SOURCE 0 l r bpf_mem_cache_alloc
USER_DATA 0 *l->data 0-255
UNITS 1 key_size unit_byte
USER_PTR 0 l->data
LOCK2 rcu_read

kernel/bpf/hashtab.c rhtab_map_update_elem() -> rhtab_elem_value()

Type Parameter Key Value
PARAM_VALUE 0 l 4096-ptr_max
DATA_SOURCE 0 l r bpf_mem_cache_alloc
USER_DATA 0 *l->data 0-255
UNITS 1 key_size unit_byte
USER_PTR 0 l->data
LOCK2 rcu_read

kernel/bpf/hashtab.c rhtab_map_update_existing() -> rhtab_elem_value()

Type Parameter Key Value
PARAM_VALUE 0 l 1-u64max
DATA_SOURCE 0 l $1
UNITS 1 key_size unit_byte
LOCK2 rcu_read

kernel/bpf/hashtab.c rhtab_mem_dtor() -> rhtab_elem_value()

Type Parameter Key Value
DATA_SOURCE 0 l $0
RX_PATH
TASK_NOT_RUNNING
UNITS 1 key_size unit_byte

kernel/bpf/hashtab.c rhtab_read_elem_value() -> rhtab_elem_value()

Type Parameter Key Value
PARAM_VALUE 0 l 1-u64max
DATA_SOURCE 0 l $2
UNITS 1 key_size unit_byte
LOCK2 rcu_read