Lines Matching refs:base_size
305 const int base_size = sizeof(struct btf_type); in btf_type_size() local
318 return base_size; in btf_type_size()
320 return base_size + sizeof(__u32); in btf_type_size()
322 return base_size + vlen * sizeof(struct btf_enum); in btf_type_size()
324 return base_size + vlen * sizeof(struct btf_enum64); in btf_type_size()
326 return base_size + sizeof(struct btf_array); in btf_type_size()
329 return base_size + vlen * sizeof(struct btf_member); in btf_type_size()
331 return base_size + vlen * sizeof(struct btf_param); in btf_type_size()
333 return base_size + sizeof(struct btf_var); in btf_type_size()
335 return base_size + vlen * sizeof(struct btf_var_secinfo); in btf_type_size()
337 return base_size + sizeof(struct btf_decl_tag); in btf_type_size()