Searched refs:base_size (Results 1 – 2 of 2) sorted by relevance
143 int base_size = sizeof(struct btf_type); in btf_type_size() local154 return base_size; in btf_type_size()156 return base_size + sizeof(__u32); in btf_type_size()158 return base_size + vlen * sizeof(struct btf_enum); in btf_type_size()160 return base_size + sizeof(struct btf_array); in btf_type_size()163 return base_size + vlen * sizeof(struct btf_member); in btf_type_size()165 return base_size + vlen * sizeof(struct btf_param); in btf_type_size()167 return base_size + sizeof(struct btf_var); in btf_type_size()169 return base_size + vlen * sizeof(struct btf_var_secinfo); in btf_type_size()
6702 int base_size = sizeof(struct btf_type); in btf_type_size() local6714 return base_size; in btf_type_size()6716 return base_size + sizeof(__u32); in btf_type_size()6718 return base_size + vlen * sizeof(struct btf_enum); in btf_type_size()6720 return base_size + sizeof(struct btf_array); in btf_type_size()6723 return base_size + vlen * sizeof(struct btf_member); in btf_type_size()6725 return base_size + vlen * sizeof(struct btf_param); in btf_type_size()6727 return base_size + sizeof(struct btf_var); in btf_type_size()6729 return base_size + vlen * sizeof(struct btf_var_secinfo); in btf_type_size()