Lines Matching refs:meta_needed
2135 u32 int_data, nr_bits, meta_needed = sizeof(int_data); in btf_int_check_meta() local
2138 if (meta_left < meta_needed) { in btf_int_check_meta()
2141 meta_left, meta_needed); in btf_int_check_meta()
2192 return meta_needed; in btf_int_check_meta()
2804 u32 meta_needed = sizeof(*array); in btf_array_check_meta() local
2806 if (meta_left < meta_needed) { in btf_array_check_meta()
2809 meta_left, meta_needed); in btf_array_check_meta()
2849 return meta_needed; in btf_array_check_meta()
3052 u32 meta_needed, last_offset; in btf_struct_check_meta() local
3058 meta_needed = btf_type_vlen(t) * sizeof(*member); in btf_struct_check_meta()
3059 if (meta_left < meta_needed) { in btf_struct_check_meta()
3062 meta_left, meta_needed); in btf_struct_check_meta()
3124 return meta_needed; in btf_struct_check_meta()
3693 u32 meta_needed; in btf_enum_check_meta() local
3696 meta_needed = nr_enums * sizeof(*enums); in btf_enum_check_meta()
3698 if (meta_left < meta_needed) { in btf_enum_check_meta()
3701 meta_left, meta_needed); in btf_enum_check_meta()
3741 return meta_needed; in btf_enum_check_meta()
3801 u32 meta_needed; in btf_enum64_check_meta() local
3804 meta_needed = nr_enums * sizeof(*enums); in btf_enum64_check_meta()
3806 if (meta_left < meta_needed) { in btf_enum64_check_meta()
3809 meta_left, meta_needed); in btf_enum64_check_meta()
3850 return meta_needed; in btf_enum64_check_meta()
3900 u32 meta_needed = btf_type_vlen(t) * sizeof(struct btf_param); in btf_func_proto_check_meta() local
3902 if (meta_left < meta_needed) { in btf_func_proto_check_meta()
3905 meta_left, meta_needed); in btf_func_proto_check_meta()
3921 return meta_needed; in btf_func_proto_check_meta()
4037 u32 meta_needed = sizeof(*var); in btf_var_check_meta() local
4039 if (meta_left < meta_needed) { in btf_var_check_meta()
4042 meta_left, meta_needed); in btf_var_check_meta()
4077 return meta_needed; in btf_var_check_meta()
4102 u32 i, meta_needed; in btf_datasec_check_meta() local
4104 meta_needed = btf_type_vlen(t) * sizeof(*vsi); in btf_datasec_check_meta()
4105 if (meta_left < meta_needed) { in btf_datasec_check_meta()
4108 meta_left, meta_needed); in btf_datasec_check_meta()
4166 return meta_needed; in btf_datasec_check_meta()
4328 u32 meta_needed = sizeof(*tag); in btf_decl_tag_check_meta() local
4332 if (meta_left < meta_needed) { in btf_decl_tag_check_meta()
4335 meta_left, meta_needed); in btf_decl_tag_check_meta()
4363 return meta_needed; in btf_decl_tag_check_meta()