Searched refs:BTF_INFO_KIND (Results 1 – 16 of 16) sorted by relevance
236 return BTF_INFO_KIND(t->info) == BTF_KIND_PTR; in btf_type_is_ptr()241 return BTF_INFO_KIND(t->info) == BTF_KIND_INT; in btf_type_is_int()261 return BTF_INFO_KIND(t->info) == BTF_KIND_ENUM; in btf_type_is_enum()266 return BTF_INFO_KIND(t->info) == BTF_KIND_ENUM || in btf_is_any_enum()267 BTF_INFO_KIND(t->info) == BTF_KIND_ENUM64; in btf_is_any_enum()273 return BTF_INFO_KIND(t1->info) == BTF_INFO_KIND(t2->info) || in btf_kind_core_compat()284 return BTF_INFO_KIND(t->info); in btf_kind()336 return BTF_INFO_KIND(t->info) == BTF_KIND_TYPEDEF; in btf_type_is_typedef()341 return BTF_INFO_KIND(t->info) == BTF_KIND_VOLATILE; in btf_type_is_volatile()346 return BTF_INFO_KIND(t->info) == BTF_KIND_FUNC; in btf_type_is_func()[all …]
55 #define BTF_INFO_KIND(info) (((info) >> 24) & 0x1f) macro
82 if (BTF_INFO_KIND(type->info) != test_symbols[i].type) in BTF_ID()
7957 __u16 kind = BTF_INFO_KIND(t->info); in btf_type_size()
338 return btf_kind_str[BTF_INFO_KIND(t->info)]; in btf_type_str()474 switch (BTF_INFO_KIND(t->info)) { in btf_type_is_modifier()493 return BTF_INFO_KIND(t->info) == BTF_KIND_FWD; in btf_type_is_fwd()498 return BTF_INFO_KIND(t->info) == BTF_KIND_DATASEC; in btf_type_is_datasec()503 return BTF_INFO_KIND(t->info) == BTF_KIND_DECL_TAG; in btf_type_is_decl_tag()545 if (BTF_INFO_KIND(t->info) != kind) in btf_find_by_name_kind()681 switch (BTF_INFO_KIND(t->info)) { in btf_type_has_size()741 return kind_ops[BTF_INFO_KIND(t->info)]; in btf_type_ops()908 BTF_INFO_KIND(t->info) != BTF_KIND_TYPEDEF) { in btf_type_skip_qualifiers()995 switch (BTF_INFO_KIND(t->info)) { in btf_show_name()[all …]
376 if (BTF_INFO_KIND(key_type->info) != BTF_KIND_STRUCT || in cgroup_storage_check_btf()403 if (BTF_INFO_KIND(key_type->info) != BTF_KIND_INT) in cgroup_storage_check_btf()
716 return BTF_INFO_KIND(key_type->info) != BTF_KIND_STRUCT ? in trie_check_btf()
501 if (BTF_INFO_KIND(value_type->info) != BTF_KIND_DATASEC) in array_map_check_btf()507 if (BTF_INFO_KIND(key_type->info) != BTF_KIND_INT) in array_map_check_btf()
720 if (BTF_INFO_KIND(key_type->info) != BTF_KIND_INT) in bpf_local_storage_map_check_btf()
16792 if (BTF_INFO_KIND(t->info) != BTF_KIND_DATASEC) in find_btf_percpu_datasec()
560 switch (BTF_INFO_KIND(t->info)) { in btf_dumper_do_type()634 switch (BTF_INFO_KIND(t->info)) { in __btf_dumper_type_only()
323 if (BTF_INFO_KIND(real_type->info) != BTF_KIND_INT) in btf_type_is_char_ptr()338 if (BTF_INFO_KIND(type->info) != BTF_KIND_ARRAY) in btf_type_is_char_array()391 switch (BTF_INFO_KIND(type->info)) { in fetch_type_from_btf_type()534 if (BTF_INFO_KIND(type->info) != BTF_KIND_PTR) { in parse_btf_field()
322 return BTF_INFO_KIND(t->info); in btf_kind()
2499 BTF_INFO_KIND(t->info), id); in btf_dump_dump_type_data()
1060 if (BTF_INFO_KIND(mtype->info) != in bpf_map__init_kern_struct_ops()1061 BTF_INFO_KIND(kern_mtype->info)) { in bpf_map__init_kern_struct_ops()1063 map->name, mname, BTF_INFO_KIND(mtype->info), in bpf_map__init_kern_struct_ops()1064 BTF_INFO_KIND(kern_mtype->info)); in bpf_map__init_kern_struct_ops()