Home
last modified time | relevance | path

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

/linux/tools/lib/bpf/
H A Dbtf.h456 static inline bool btf_is_func(const struct btf_type *t) in btf_is_func() function
H A Dlinker.c1707 if (!btf_is_var(src_t) && !btf_is_func(src_t)) { in glob_syms_match()
1727 || (btf_is_func(t) && btf_func_linkage(t) != BTF_FUNC_STATIC); in btf_is_non_static()
1772 if (btf_is_func(t) && btf_func_linkage(t) == BTF_FUNC_STATIC) in find_glob_sym_btf()
2458 if (btf_is_func(t)) in linker_append_btf()
H A Dlibbpf.c3167 } else if (!has_func && btf_is_func(t)) { in bpf_object__sanitize_btf()
3170 } else if (!has_func_global && btf_is_func(t)) { in bpf_object__sanitize_btf()
3546 if (!btf_is_func(t) || btf_func_linkage(t) != BTF_FUNC_GLOBAL) in bpf_object__sanitize_and_load_btf()
4031 if (!btf_is_var(t) && !btf_is_func(t)) in find_extern_btf_id()
4042 if (btf_is_func(t) && btf_func_linkage(t) != BTF_FUNC_EXTERN) in find_extern_btf_id()
4179 if (btf_is_func(vt)) in add_dummy_ksym_var()
4273 if (btf_is_func(t)) { in bpf_object__collect_externs()
4355 if (btf_is_func(vt)) { in bpf_object__collect_externs()
6670 if (!btf_is_func(t) || btf_func_linkage(t) != BTF_FUNC_GLOBAL) { in bpf_prog_assign_exc_cb()
6965 if (!btf_is_func(fn_t) || btf_func_linkage(fn_t) != BTF_FUNC_GLOBAL) in bpf_program_fixup_func_info()
/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()
H A Dbtf.c533 if (!btf_is_func(ft)) in dump_btf_kfuncs()