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

Smatch assignments to (struct bpf_map_ops)->map_check_btf:

kernel/bpf/local_storage.c (null)() -> (struct bpf_map_ops)->map_check_btf [1139747781944807424]

kernel/bpf/stackmap.c (null)() -> (struct bpf_map_ops)->map_check_btf [5384734755237093376]

kernel/bpf/bpf_cgrp_storage.c (null)() -> (struct bpf_map_ops)->map_check_btf [1201168668956057600]

kernel/bpf/arraymap.c (null)() -> (struct bpf_map_ops)->map_check_btf [0,2564664136731291648,5384734755237093376]

net/core/bpf_sk_storage.c (null)() -> (struct bpf_map_ops)->map_check_btf [1201168668956057600]

kernel/bpf/devmap.c (null)() -> (struct bpf_map_ops)->map_check_btf [5384734755237093376]

kernel/bpf/syscall.c (null)() -> (struct bpf_map_ops)->map_check_btf [5384734755237093376]

kernel/bpf/cpumap.c (null)() -> (struct bpf_map_ops)->map_check_btf [5384734755237093376]

kernel/bpf/reuseport_array.c (null)() -> (struct bpf_map_ops)->map_check_btf [0]

kernel/bpf/queue_stack_maps.c (null)() -> (struct bpf_map_ops)->map_check_btf [0]

kernel/bpf/bloom_filter.c (null)() -> (struct bpf_map_ops)->map_check_btf [8897204951678529536]

net/xdp/xskmap.c (null)() -> (struct bpf_map_ops)->map_check_btf [5384734755237093376]

net/core/sock_map.c (null)() -> (struct bpf_map_ops)->map_check_btf [5384734755237093376]

kernel/bpf/bpf_insn_array.c (null)() -> (struct bpf_map_ops)->map_check_btf [3243219315270807552]

kernel/bpf/arena.c (null)() -> (struct bpf_map_ops)->map_check_btf [4543051578987556864]

kernel/bpf/bpf_inode_storage.c (null)() -> (struct bpf_map_ops)->map_check_btf [1201168668956057600]

kernel/bpf/lpm_trie.c (null)() -> (struct bpf_map_ops)->map_check_btf [5606446858841534464]

kernel/bpf/bpf_struct_ops.c (null)() -> (struct bpf_map_ops)->map_check_btf [0]

kernel/bpf/ringbuf.c (null)() -> (struct bpf_map_ops)->map_check_btf [0]

kernel/bpf/hashtab.c (null)() -> (struct bpf_map_ops)->map_check_btf [3953604125033451520,5384734755237093376,7543130789707595776]

kernel/bpf/core.c (null)() -> (struct bpf_map_ops)->map_check_btf [0]

kernel/bpf/bpf_task_storage.c (null)() -> (struct bpf_map_ops)->map_check_btf [1201168668956057600]