Lines Matching refs:base_size
293 const int base_size = sizeof(struct btf_type); in btf_type_size() local
306 return base_size; in btf_type_size()
308 return base_size + sizeof(__u32); in btf_type_size()
310 return base_size + vlen * sizeof(struct btf_enum); in btf_type_size()
312 return base_size + vlen * sizeof(struct btf_enum64); in btf_type_size()
314 return base_size + sizeof(struct btf_array); in btf_type_size()
317 return base_size + vlen * sizeof(struct btf_member); in btf_type_size()
319 return base_size + vlen * sizeof(struct btf_param); in btf_type_size()
321 return base_size + sizeof(struct btf_var); in btf_type_size()
323 return base_size + vlen * sizeof(struct btf_var_secinfo); in btf_type_size()
325 return base_size + sizeof(struct btf_decl_tag); in btf_type_size()