Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

kernel/bpf/arraymap.c array_map_free_internal_structs() -> bpf_map_free_internal_structs()

Type Parameter Key Value
PARAM_VALUE 0 map 4096-ptr_max
PARAM_VALUE 0 map->ops 4096-ptr_max
PARAM_VALUE 0 map->ops->map_release 0,7496606770224660480
PARAM_VALUE 0 map->ops->map_release_uref 155227265115901952,734000422456176640,1166563338582691840,1619373784531501056,2705946601962881024,3547521723595931648
PARAM_VALUE 0 map->record 4096-ptr_max
PARAM_VALUE 1 val 4096-ptr_max
BUF_SIZE 0 map s32min-(-1),1-s32max
BUF_SIZE 0 map s32min-(-1),1-s32max
DATA_SOURCE 0 map $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &sockmap_mutex

kernel/bpf/syscall.c bpf_obj_cancel_fields() -> bpf_map_free_internal_structs()

Type Parameter Key Value
PARAM_VALUE 0 map 4096-ptr_max
PARAM_VALUE 0 map->ops->map_release 0,4096-ptr_max
PARAM_VALUE 0 map->ops->map_update_batch 0,7911141981172039680
BUF_SIZE 0 map s32min-(-1),1-s32max
BUF_SIZE 0 map s32min-(-1),1-s32max
DATA_SOURCE 0 map $0
DATA_SOURCE 1 val $1
PREEMPT_ADD
NOCHECK_CALL
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

kernel/bpf/hashtab.c htab_free_malloced_internal_structs() -> bpf_map_free_internal_structs()

Type Parameter Key Value
PARAM_VALUE 0 map 4096-ptr_max
PARAM_VALUE 0 map->map_flags 1-u32max
PARAM_VALUE 1 val 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 rcu_read
HALF_LOCKED2 global &sockmap_mutex

kernel/bpf/hashtab.c htab_free_prealloced_internal_structs() -> bpf_map_free_internal_structs()

Type Parameter Key Value
PARAM_VALUE 0 map 4096-ptr_max
PARAM_VALUE 1 val 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &sockmap_mutex

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

Type Parameter Key Value
PARAM_VALUE 1 val 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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() -> bpf_map_free_internal_structs()

Type Parameter Key Value
PARAM_VALUE 0 map 4096-ptr_max
PARAM_VALUE 0 map->ops 4096-ptr_max
PARAM_VALUE 0 map->ops->map_release 0,7496606770224660480
PARAM_VALUE 0 map->ops->map_release_uref 155227265115901952,734000422456176640,1166563338582691840,1619373784531501056,2705946601962881024,3547521723595931648
PARAM_VALUE 0 map->record 4096-ptr_max
PARAM_VALUE 1 val 4096-ptr_max
BUF_SIZE 0 map s32min-(-1),1-s32max
BUF_SIZE 0 map s32min-(-1),1-s32max
DATA_SOURCE 0 map $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &sockmap_mutex