Lines Matching refs:btf_kind
215 static inline __u16 btf_kind(const struct btf_type *t) in btf_kind() function
232 return btf_kind(t) == BTF_KIND_UNKN; in btf_is_void()
237 return btf_kind(t) == BTF_KIND_INT; in btf_is_int()
242 return btf_kind(t) == BTF_KIND_PTR; in btf_is_ptr()
247 return btf_kind(t) == BTF_KIND_ARRAY; in btf_is_array()
252 return btf_kind(t) == BTF_KIND_STRUCT; in btf_is_struct()
257 return btf_kind(t) == BTF_KIND_UNION; in btf_is_union()
262 __u16 kind = btf_kind(t); in btf_is_composite()
269 return btf_kind(t) == BTF_KIND_ENUM; in btf_is_enum()
274 return btf_kind(t) == BTF_KIND_FWD; in btf_is_fwd()
279 return btf_kind(t) == BTF_KIND_TYPEDEF; in btf_is_typedef()
284 return btf_kind(t) == BTF_KIND_VOLATILE; in btf_is_volatile()
289 return btf_kind(t) == BTF_KIND_CONST; in btf_is_const()
294 return btf_kind(t) == BTF_KIND_RESTRICT; in btf_is_restrict()
299 __u16 kind = btf_kind(t); in btf_is_mod()
308 return btf_kind(t) == BTF_KIND_FUNC; in btf_is_func()
313 return btf_kind(t) == BTF_KIND_FUNC_PROTO; in btf_is_func_proto()
318 return btf_kind(t) == BTF_KIND_VAR; in btf_is_var()
323 return btf_kind(t) == BTF_KIND_DATASEC; in btf_is_datasec()
328 return btf_kind(t) == BTF_KIND_FLOAT; in btf_is_float()