Searched refs:enums (Results 1 – 2 of 2) sorted by relevance
3689 const struct btf_enum *enums = btf_type_enum(t); in btf_enum_check_meta() local3696 meta_needed = nr_enums * sizeof(*enums); in btf_enum_check_meta()3720 if (!btf_name_offset_valid(btf, enums[i].name_off)) { in btf_enum_check_meta()3722 enums[i].name_off); in btf_enum_check_meta()3727 if (!enums[i].name_off || in btf_enum_check_meta()3728 !btf_name_valid_identifier(btf, enums[i].name_off)) { in btf_enum_check_meta()3737 __btf_name_by_offset(btf, enums[i].name_off), in btf_enum_check_meta()3738 enums[i].val); in btf_enum_check_meta()3754 const struct btf_enum *enums = btf_type_enum(t); in btf_enum_show() local3766 if (v != enums[i].val) in btf_enum_show()[all …]
883 used to show what enums/sizeof the kernel tried to convert.