Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

kernel/bpf/syscall.c map_check_btf() -> bpf_map_free_record()

Type Parameter Key Value
PARAM_VALUE 0 map 4096-ptr_max
PARAM_VALUE 0 map->btf 4096-ptr_max
PARAM_VALUE 0 map->freeze_mutex.dep_map->name 0-255
PARAM_VALUE 0 map->freeze_mutex.first_waiter 0
PARAM_VALUE 0 map->freeze_mutex.magic 4096-ptr_max
PARAM_VALUE 0 map->freeze_mutex.osq.tail.counter 0
PARAM_VALUE 0 map->freeze_mutex.owner.counter 0
PARAM_VALUE 0 map->map_type 1-35
PARAM_VALUE 0 map->ops 4096-ptr_max
PARAM_VALUE 0 map->ops->map_alloc_check 0,4096-ptr_max
PARAM_VALUE 0 map->ops->map_check_btf 4096-ptr_max
PARAM_VALUE 0 map->ops->map_mem_usage 4096-ptr_max
PARAM_VALUE 0 map->record 0,4096-u64max
PARAM_VALUE 0 map->record->fields 4096-ptr_max
PARAM_VALUE 0 map->refcnt.counter 1
PARAM_VALUE 0 map->usercnt.counter 1
BUF_SIZE 0 map->btf s32min-(-2),1-s32max
BUF_SIZE 0 map->ops (-1),352
BUF_SIZE 0 map->record (-1),80-s32max
CAPPED_DATA 0 map->map_type 1
CAPPED_DATA 0 map->value_size 1
DATA_SOURCE 0 map $0
NOSPEC 0 map->map_type
NOCHECK_CALL
USER_DATA 0 map->map_type 1-34[c]
NO_OVERFLOW_SIMPLE 0 map->record->cnt

kernel/bpf/map_in_map.c bpf_map_meta_free() -> bpf_map_free_record()

Type Parameter Key Value
PARAM_VALUE 0 map->ops->map_meta_equal 0,4403099084937347072,5385591099180314624,5471911796494860288
BUF_SIZE 0 map (-1),520,536
BUF_SIZE 0 map (-1),520,536
DATA_SOURCE 0 map $0
NOCHECK_CALL