Lines Matching refs:meta_needed
2172 u32 int_data, nr_bits, meta_needed = sizeof(int_data); in btf_int_check_meta() local
2175 if (meta_left < meta_needed) { in btf_int_check_meta()
2178 meta_left, meta_needed); in btf_int_check_meta()
2229 return meta_needed; in btf_int_check_meta()
2841 u32 meta_needed = sizeof(*array); in btf_array_check_meta() local
2843 if (meta_left < meta_needed) { in btf_array_check_meta()
2846 meta_left, meta_needed); in btf_array_check_meta()
2886 return meta_needed; in btf_array_check_meta()
3089 u32 meta_needed, last_offset; in btf_struct_check_meta() local
3095 meta_needed = btf_type_vlen(t) * sizeof(*member); in btf_struct_check_meta()
3096 if (meta_left < meta_needed) { in btf_struct_check_meta()
3099 meta_left, meta_needed); in btf_struct_check_meta()
3161 return meta_needed; in btf_struct_check_meta()
4066 u32 meta_needed; in btf_enum_check_meta() local
4069 meta_needed = nr_enums * sizeof(*enums); in btf_enum_check_meta()
4071 if (meta_left < meta_needed) { in btf_enum_check_meta()
4074 meta_left, meta_needed); in btf_enum_check_meta()
4114 return meta_needed; in btf_enum_check_meta()
4174 u32 meta_needed; in btf_enum64_check_meta() local
4177 meta_needed = nr_enums * sizeof(*enums); in btf_enum64_check_meta()
4179 if (meta_left < meta_needed) { in btf_enum64_check_meta()
4182 meta_left, meta_needed); in btf_enum64_check_meta()
4223 return meta_needed; in btf_enum64_check_meta()
4273 u32 meta_needed = btf_type_vlen(t) * sizeof(struct btf_param); in btf_func_proto_check_meta() local
4275 if (meta_left < meta_needed) { in btf_func_proto_check_meta()
4278 meta_left, meta_needed); in btf_func_proto_check_meta()
4294 return meta_needed; in btf_func_proto_check_meta()
4410 u32 meta_needed = sizeof(*var); in btf_var_check_meta() local
4412 if (meta_left < meta_needed) { in btf_var_check_meta()
4415 meta_left, meta_needed); in btf_var_check_meta()
4450 return meta_needed; in btf_var_check_meta()
4475 u32 i, meta_needed; in btf_datasec_check_meta() local
4477 meta_needed = btf_type_vlen(t) * sizeof(*vsi); in btf_datasec_check_meta()
4478 if (meta_left < meta_needed) { in btf_datasec_check_meta()
4481 meta_left, meta_needed); in btf_datasec_check_meta()
4539 return meta_needed; in btf_datasec_check_meta()
4701 u32 meta_needed = sizeof(*tag); in btf_decl_tag_check_meta() local
4705 if (meta_left < meta_needed) { in btf_decl_tag_check_meta()
4708 meta_left, meta_needed); in btf_decl_tag_check_meta()
4736 return meta_needed; in btf_decl_tag_check_meta()