Searched refs:fwd_kind (Results 1 – 4 of 4) sorted by relevance
102 [5] FWD 'sock' fwd_kind=union171 [13] FWD 'fwd_struct' fwd_kind=union
2496 int btf__add_fwd(struct btf *btf, const char *name, enum btf_fwd_kind fwd_kind) in btf__add_fwd() argument2501 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() local4332 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() local4840 if ((cand_kind == BTF_KIND_STRUCT && fwd_kind != BTF_FWD_STRUCT) || in btf_dedup_resolve_fwd()[all …]
221 LIBBPF_API int btf__add_fwd(struct btf *btf, const char *name, enum btf_fwd_kind fwd_kind);
298 const char *fwd_kind = BTF_INFO_KFLAG(t->info) ? "union" in dump_btf_type() local302 jsonw_string_field(w, "fwd_kind", fwd_kind); in dump_btf_type()304 printf(" fwd_kind=%s", fwd_kind); in dump_btf_type()