Lines Matching refs:fwd_kind
2496 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()
4841 (cand_kind == BTF_KIND_UNION && fwd_kind != BTF_FWD_UNION)) in btf_dedup_resolve_fwd()