Home
last modified time | relevance | path

Searched refs:BTF_FUNC_GLOBAL (Results 1 – 12 of 12) sorted by relevance

/Linux-v6.6/tools/include/uapi/linux/
Dbtf.h158 BTF_FUNC_GLOBAL = 1, enumerator
/Linux-v6.6/include/uapi/linux/
Dbtf.h158 BTF_FUNC_GLOBAL = 1, enumerator
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dbtf_write.c219 id = btf__add_func(btf, "func1", BTF_FUNC_GLOBAL, 15); in gen_btf()
225 ASSERT_EQ(btf_vlen(t), BTF_FUNC_GLOBAL, "func_vlen"); in gen_btf()
/Linux-v6.6/tools/testing/selftests/bpf/
Dbtf_helpers.c72 case BTF_FUNC_GLOBAL: in btf_func_linkage_str()
/Linux-v6.6/tools/bpf/bpftool/
Dbtf.c81 case BTF_FUNC_GLOBAL: in btf_func_linkage_str()
/Linux-v6.6/kernel/bpf/
Dbtf.c4366 if (btf_type_vlen(t) > BTF_FUNC_GLOBAL) { in btf_func_check_meta()
6638 if (btf_func_linkage(t1) != BTF_FUNC_GLOBAL) { in btf_check_func_type_match()
6642 if (btf_func_linkage(t2) != BTF_FUNC_GLOBAL) { in btf_check_func_type_match()
6889 is_global = prog->aux->func_info_aux[subprog].linkage == BTF_FUNC_GLOBAL; in btf_check_subprog_arg_match()
6932 is_global = prog->aux->func_info_aux[subprog].linkage == BTF_FUNC_GLOBAL; in btf_check_subprog_call()
6964 prog->aux->func_info_aux[subprog].linkage != BTF_FUNC_GLOBAL) { in btf_prepare_func_args()
Dverifier.c495 return aux && aux[subprog].linkage == BTF_FUNC_GLOBAL; in subprog_is_global()
19125 if (aux->func_info_aux[i].linkage != BTF_FUNC_GLOBAL) in do_check_subprogs()
/Linux-v6.6/Documentation/bpf/
Dbtf.rst372 * ``info.vlen``: linkage information (BTF_FUNC_STATIC, BTF_FUNC_GLOBAL
384 Currently, only linkage values of BTF_FUNC_STATIC and BTF_FUNC_GLOBAL are
/Linux-v6.6/tools/lib/bpf/
Dbtf_dump.c2007 case BTF_FUNC_GLOBAL: in btf_dump_var_data()
Dlinker.c1759 dst_t->info = btf_type_info(BTF_KIND_FUNC, BTF_FUNC_GLOBAL, 0); in complete_extern_btf_info()
Dbtf.c2366 if (linkage != BTF_FUNC_STATIC && linkage != BTF_FUNC_GLOBAL && in btf__add_func()
Dlibbpf.c3133 if (!btf_is_func(t) || btf_func_linkage(t) != BTF_FUNC_GLOBAL) in bpf_object__sanitize_and_load_btf()
3945 vt->info |= BTF_FUNC_GLOBAL; in bpf_object__collect_externs()
4633 BTF_TYPE_ENC(5, BTF_INFO_ENC(BTF_KIND_FUNC, 0, BTF_FUNC_GLOBAL), 2), in probe_kern_btf_func_global()