Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

kernel/bpf/hashtab.c __htab_lru_percpu_map_update_elem() -> lookup_elem_raw()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
BUF_SIZE 0 head 8
BUF_SIZE 2 key (-1)-s32max
BUF_SIZE 2 key (-1)-s32max
DATA_SOURCE 1 hash r htab_map_hash
DATA_SOURCE 2 key $1
PREEMPT_ADD <- disables preempt
USER_DATA 1 hash 0-u32max[c][u]
USER_DATA 2 *key s64min-s64max
UNITS 3 key_size unit_byte
USER_PTR 2 key
LOCK2 flags
HALF_LOCKED2 rcu_read

kernel/bpf/hashtab.c __htab_map_lookup_and_delete_elem() -> lookup_elem_raw()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PARAM_VALUE 2 key 0,16,4096-ptr_max
PARAM_VALUE 3 key_size 0-s32max
BUF_SIZE 0 head 8
CAPPED_DATA 3 key_size 1
DATA_SOURCE 1 hash r htab_map_hash
DATA_SOURCE 2 key $1
PREEMPT_ADD <- disables preempt
USER_DATA 1 hash 0-u32max[c][u]
USER_DATA 2 *key s64min-s64max
UNITS 3 key_size unit_byte
USER_PTR 2 key
LOCK2 flags
LOCK2 rcu_read

kernel/bpf/hashtab.c htab_lru_map_delete_elem() -> lookup_elem_raw()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
BUF_SIZE 0 head 8
BUF_SIZE 2 key (-1)-s32max
BUF_SIZE 2 key (-1)-s32max
DATA_SOURCE 1 hash r htab_map_hash
DATA_SOURCE 2 key $1
PREEMPT_ADD <- disables preempt
USER_DATA 1 hash 0-u32max[c][u]
USER_DATA 2 *key s64min-s64max
UNITS 3 key_size unit_byte
USER_PTR 2 key
LOCK2 flags
HALF_LOCKED2 rcu_read

kernel/bpf/hashtab.c htab_lru_map_update_elem() -> lookup_elem_raw()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
BUF_SIZE 0 head 8
DATA_SOURCE 1 hash r htab_map_hash
DATA_SOURCE 2 key $1
PREEMPT_ADD <- disables preempt
UNITS 3 key_size unit_byte
LOCK2 flags

kernel/bpf/hashtab.c htab_map_delete_elem() -> lookup_elem_raw()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
BUF_SIZE 0 head 8
BUF_SIZE 2 key (-1)-s32max
BUF_SIZE 2 key (-1)-s32max
DATA_SOURCE 1 hash r htab_map_hash
DATA_SOURCE 2 key $1
PREEMPT_ADD <- disables preempt
USER_DATA 1 hash 0-u32max[c][u]
USER_DATA 2 *key s64min-s64max
UNITS 3 key_size unit_byte
USER_PTR 2 key
LOCK2 flags
HALF_LOCKED2 rcu_read

kernel/bpf/hashtab.c htab_map_update_elem() -> lookup_elem_raw()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
BUF_SIZE 0 head 8
BUF_SIZE 2 key (-1)-s32max
BUF_SIZE 2 key (-1)-s32max
DATA_SOURCE 1 hash r htab_map_hash
DATA_SOURCE 2 key $1
PREEMPT_ADD <- disables preempt
USER_DATA 1 hash 0-u32max[c][u]
USER_DATA 2 *key s64min-s64max
UNITS 3 key_size unit_byte
USER_PTR 2 key
LOCK2 flags
HALF_LOCKED2 rcu_read

kernel/bpf/hashtab.c htab_map_update_elem_in_place() -> lookup_elem_raw()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
BUF_SIZE 0 head 8
BUF_SIZE 2 key (-1)-s32max
BUF_SIZE 2 key (-1)-s32max
DATA_SOURCE 1 hash r htab_map_hash
DATA_SOURCE 2 key $1
PREEMPT_ADD <- disables preempt
USER_DATA 1 hash 0-u32max[c][u]
USER_DATA 2 *key s64min-s64max
UNITS 3 key_size unit_byte
USER_PTR 2 key
LOCK2 flags
HALF_LOCKED2 rcu_read