Lines Matching refs:enums
3170 const struct btf_enum *enums = btf_type_enum(t); in btf_enum_check_meta() local
3176 meta_needed = nr_enums * sizeof(*enums); in btf_enum_check_meta()
3205 if (!btf_name_offset_valid(btf, enums[i].name_off)) { in btf_enum_check_meta()
3207 enums[i].name_off); in btf_enum_check_meta()
3212 if (!enums[i].name_off || in btf_enum_check_meta()
3213 !btf_name_valid_identifier(btf, enums[i].name_off)) { in btf_enum_check_meta()
3221 __btf_name_by_offset(btf, enums[i].name_off), in btf_enum_check_meta()
3222 enums[i].val); in btf_enum_check_meta()
3238 const struct btf_enum *enums = btf_type_enum(t); in btf_enum_show() local
3250 if (v != enums[i].val) in btf_enum_show()
3255 enums[i].name_off)); in btf_enum_show()