Home
last modified time | relevance | path

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

/tools/lib/bpf/
Dbtf.h306 static inline bool btf_is_func(const struct btf_type *t) in btf_is_func() function
Dlinker.c1627 if (!btf_is_var(src_t) && !btf_is_func(src_t)) { in glob_syms_match()
1647 || (btf_is_func(t) && btf_func_linkage(t) != BTF_FUNC_STATIC); in btf_is_non_static()
1692 if (btf_is_func(t) && btf_func_linkage(t) == BTF_FUNC_STATIC) in find_glob_sym_btf()
Dlibbpf.c2544 } else if (!has_func && btf_is_func(t)) { in bpf_object__sanitize_btf()
2547 } else if (!has_func_global && btf_is_func(t)) { in bpf_object__sanitize_btf()
2733 if (!btf_is_func(t) || btf_func_linkage(t) != BTF_FUNC_GLOBAL) in bpf_object__sanitize_and_load_btf()
3148 if (!btf_is_var(t) && !btf_is_func(t)) in find_extern_btf_id()
3159 if (btf_is_func(t) && btf_func_linkage(t) != BTF_FUNC_EXTERN) in find_extern_btf_id()
3292 if (btf_is_func(vt)) in add_dummy_ksym_var()
3376 if (btf_is_func(t)) { in bpf_object__collect_externs()
3402 if (btf_is_func(t) && ext->is_weak) { in bpf_object__collect_externs()
3463 if (btf_is_func(vt)) { in bpf_object__collect_externs()
/tools/bpf/resolve_btfids/
Dmain.c512 if (btf_is_func(type) && nr_funcs) { in symbols_resolve()
/tools/bpf/bpftool/
Dbtf_dumper.c74 if (!func_type || !btf_is_func(func_type)) in dump_prog_id_as_func_ptr()