Searched refs:btf_vmlinux (Results 1 – 3 of 3) sorted by relevance
| /linux/tools/bpf/bpftool/ |
| H A D | struct_ops.c | 21 static struct btf *btf_vmlinux; variable 31 if (btf_vmlinux) in get_btf_vmlinux() 32 return btf_vmlinux; in get_btf_vmlinux() 34 btf_vmlinux = libbpf_find_kernel_btf(); in get_btf_vmlinux() 35 if (!btf_vmlinux) in get_btf_vmlinux() 38 return btf_vmlinux; in get_btf_vmlinux() 645 btf__free(btf_vmlinux); in do_struct_ops()
|
| H A D | map.c | 791 static struct btf *btf_vmlinux; variable 798 if (!btf_vmlinux) { in get_map_kv_btf() 799 btf_vmlinux = libbpf_find_kernel_btf(); in get_map_kv_btf() 800 if (!btf_vmlinux) { in get_map_kv_btf() 805 *btf = btf_vmlinux; in get_map_kv_btf() 821 if (btf != btf_vmlinux) in free_map_kv_btf() 961 btf__free(btf_vmlinux); in do_dump()
|
| /linux/kernel/bpf/ |
| H A D | verifier.c | 353 struct btf *btf_vmlinux; variable 3263 return btf_vmlinux ?: ERR_PTR(-ENOENT); in find_kfunc_desc_btf() 3283 if (!btf_vmlinux) { in add_kfunc_call() 7372 if (!btf_vmlinux) { in check_ptr_to_map_access() 7383 t = btf_type_by_id(btf_vmlinux, *map->ops->map_btf_id); in check_ptr_to_map_access() 7384 tname = btf_name_by_offset(btf_vmlinux, t->name_off); in check_ptr_to_map_access() 7407 btf_vmlinux, *map->ops->map_btf_id, 0); in check_ptr_to_map_access() 7415 ret = mark_btf_ld_reg(env, regs, value_regno, ret, btf_vmlinux, btf_id, flag); in check_ptr_to_map_access() 9411 btf_vmlinux, *arg_btf_id, in check_reg_type() 9415 btf_type_name(btf_vmlinux, *arg_btf_id)); in check_reg_type() [all …]
|