Lines Matching defs:enum_t
697 static bool find_btf_enum_const(const struct btf *btf, const struct btf_type *enum_t,
706 if (!btf || !enum_t)
709 for (i = 0, n = btf_vlen(enum_t); i < n; i++) {
710 e = &btf_enum(enum_t)[i];
729 const struct btf_type *enum_t,
750 if (btf && enum_t) {
751 for (i = 0, n = btf_vlen(enum_t); i < n; i++) {
752 e = &btf_enum(enum_t)[i];
1056 const struct btf_type *enum_t;
1068 enum_t = info.cmd_t;
1073 enum_t = info.map_t;
1078 enum_t = info.prog_t;
1083 enum_t = info.attach_t;
1094 } else if (find_btf_enum_const(info.btf, enum_t, enum_pfx, p, &val)) {