Defined in 1 files as a member:

Defined in 1 files as a function:

Referenced in 17 files:

Smatch caller information:

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

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_mem_usage 4096-ptr_max
PARAM_VALUE 0 map->refcnt.counter 1
PARAM_VALUE 0 map->usercnt.counter 1
PARAM_VALUE 1 token 0,4096-ptr_max
PARAM_VALUE 2 btf 4096-ptr_max
PARAM_VALUE 2 btf->kernel_btf 0
PARAM_VALUE 4 btf_value_id 1-u32max
BUF_SIZE 0 map->btf s32min-(-2),1-s32max
BUF_SIZE 0 map->ops (-1),352
BUF_SIZE 1 token s32min-(-2),0-s32max
BUF_SIZE 1 token s32min-(-2),0-s32max
BUF_SIZE 2 btf s32min-(-2),1-s32max
BUF_SIZE 2 btf s32min-(-2),1-s32max
CAPPED_DATA 0 map->map_type 1
DATA_SOURCE 2 btf r btf_get_by_fd
NOSPEC 0 map->map_type
USER_DATA 0 map->map_type 1-34[c]
USER_DATA 3 btf_key_id 0-u32max
USER_DATA 4 btf_value_id 1-u32max