Searched refs:btf_vmlinux (Results 1 – 3 of 3) sorted by relevance
21 static struct btf *btf_vmlinux; variable31 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 (IS_ERR(btf_vmlinux)) in get_btf_vmlinux()38 return btf_vmlinux; in get_btf_vmlinux()599 if (!IS_ERR(btf_vmlinux)) in do_struct_ops()600 btf__free(btf_vmlinux); in do_struct_ops()
794 static struct btf *btf_vmlinux; variable801 if (!btf_vmlinux) { in get_map_kv_btf()802 btf_vmlinux = libbpf_find_kernel_btf(); in get_map_kv_btf()803 if (IS_ERR(btf_vmlinux)) in get_map_kv_btf()806 return btf_vmlinux; in get_map_kv_btf()823 if (!IS_ERR(btf) && btf != btf_vmlinux) in free_map_kv_btf()829 if (!IS_ERR(btf_vmlinux)) in free_btf_vmlinux()830 btf__free(btf_vmlinux); in free_btf_vmlinux()
502 struct btf *btf_vmlinux; member998 obj->btf_vmlinux); in bpf_object__init_kern_struct_ops_maps()2679 if (obj->btf_vmlinux || obj->gen_loader) in bpf_object__load_vmlinux_btf()2685 obj->btf_vmlinux = btf__load_vmlinux_btf(); in bpf_object__load_vmlinux_btf()2686 err = libbpf_get_error(obj->btf_vmlinux); in bpf_object__load_vmlinux_btf()2689 obj->btf_vmlinux = NULL; in bpf_object__load_vmlinux_btf()4928 btf = btf_get_from_fd(fd, obj->btf_vmlinux); in load_module_btfs()4985 main_btf = obj->btf_vmlinux_override ?: obj->btf_vmlinux; in bpf_core_find_cands()5007 btf__get_nr_types(obj->btf_vmlinux) + 1, in bpf_core_find_cands()6653 btf = obj->btf_vmlinux; in find_ksym_btf_id()[all …]