Home
last modified time | relevance | path

Searched refs:btf_is_func (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/tools/lib/bpf/
H A Dbtf.h417 static inline bool btf_is_func(const struct btf_type *t) in btf_is_func() function
H A Dlinker.c1635 if (!btf_is_var(src_t) && !btf_is_func(src_t)) { in glob_syms_match()
1655 || (btf_is_func(t) && btf_func_linkage(t) != BTF_FUNC_STATIC); in btf_is_non_static()
1700 if (btf_is_func(t) && btf_func_linkage(t) == BTF_FUNC_STATIC) in find_glob_sym_btf()
H A Dlibbpf.c2765 } else if (!has_func && btf_is_func(t)) { in bpf_object__sanitize_btf()
2768 } else if (!has_func_global && btf_is_func(t)) { in bpf_object__sanitize_btf()
3134 if (!btf_is_func(t) || btf_func_linkage(t) != BTF_FUNC_GLOBAL) in bpf_object__sanitize_and_load_btf()
3605 if (!btf_is_var(t) && !btf_is_func(t)) in find_extern_btf_id()
3616 if (btf_is_func(t) && btf_func_linkage(t) != BTF_FUNC_EXTERN) in find_extern_btf_id()
3753 if (btf_is_func(vt)) in add_dummy_ksym_var()
3847 if (btf_is_func(t)) { in bpf_object__collect_externs()
3929 if (btf_is_func(vt)) { in bpf_object__collect_externs()
/openbmc/linux/tools/bpf/resolve_btfids/
H A Dmain.c572 if (btf_is_func(type) && nr_funcs) { in symbols_resolve()
/openbmc/linux/tools/bpf/bpftool/
H A Dbtf_dumper.c81 if (!func_type || !btf_is_func(func_type)) in dump_prog_id_as_func_ptr()
H A Dcommon.c439 if (!func_type || !btf_is_func(func_type)) in get_prog_full_name()