Home
last modified time | relevance | path

Searched refs:fwd_kind (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/tools/bpf/bpftool/Documentation/
Dbpftool-btf.rst102 [5] FWD 'sock' fwd_kind=union
171 [13] FWD 'fwd_struct' fwd_kind=union
/linux-6.12.1/tools/lib/bpf/
Dbtf.c2496 int btf__add_fwd(struct btf *btf, const char *name, enum btf_fwd_kind fwd_kind) in btf__add_fwd() argument
2501 switch (fwd_kind) { in btf__add_fwd()
2511 t->info = btf_type_info(BTF_KIND_FWD, 0, fwd_kind == BTF_FWD_UNION); in btf__add_fwd()
4328 __u16 fwd_kind; in btf_dedup_is_equiv() local
4332 fwd_kind = btf_fwd_kind(cand_type); in btf_dedup_is_equiv()
4335 fwd_kind = btf_fwd_kind(canon_type); in btf_dedup_is_equiv()
4337 if (fwd_kind == real_kind && canon_id < d->btf->start_id) in btf_dedup_is_equiv()
4340 return fwd_kind == real_kind; in btf_dedup_is_equiv()
4819 enum btf_fwd_kind fwd_kind = btf_kflag(t); in btf_dedup_resolve_fwd() local
4840 if ((cand_kind == BTF_KIND_STRUCT && fwd_kind != BTF_FWD_STRUCT) || in btf_dedup_resolve_fwd()
[all …]
Dbtf.h221 LIBBPF_API int btf__add_fwd(struct btf *btf, const char *name, enum btf_fwd_kind fwd_kind);
/linux-6.12.1/tools/bpf/bpftool/
Dbtf.c298 const char *fwd_kind = BTF_INFO_KFLAG(t->info) ? "union" in dump_btf_type() local
302 jsonw_string_field(w, "fwd_kind", fwd_kind); in dump_btf_type()
304 printf(" fwd_kind=%s", fwd_kind); in dump_btf_type()