Lines Matching refs:btf_kind
320 static inline __u16 btf_kind(const struct btf_type *t) in btf_kind() function
337 return btf_kind(t) == BTF_KIND_UNKN; in btf_is_void()
342 return btf_kind(t) == BTF_KIND_INT; in btf_is_int()
347 return btf_kind(t) == BTF_KIND_PTR; in btf_is_ptr()
352 return btf_kind(t) == BTF_KIND_ARRAY; in btf_is_array()
357 return btf_kind(t) == BTF_KIND_STRUCT; in btf_is_struct()
362 return btf_kind(t) == BTF_KIND_UNION; in btf_is_union()
367 __u16 kind = btf_kind(t); in btf_is_composite()
374 return btf_kind(t) == BTF_KIND_ENUM; in btf_is_enum()
379 return btf_kind(t) == BTF_KIND_ENUM64; in btf_is_enum64()
384 return btf_kind(t) == BTF_KIND_FWD; in btf_is_fwd()
389 return btf_kind(t) == BTF_KIND_TYPEDEF; in btf_is_typedef()
394 return btf_kind(t) == BTF_KIND_VOLATILE; in btf_is_volatile()
399 return btf_kind(t) == BTF_KIND_CONST; in btf_is_const()
404 return btf_kind(t) == BTF_KIND_RESTRICT; in btf_is_restrict()
409 __u16 kind = btf_kind(t); in btf_is_mod()
419 return btf_kind(t) == BTF_KIND_FUNC; in btf_is_func()
424 return btf_kind(t) == BTF_KIND_FUNC_PROTO; in btf_is_func_proto()
429 return btf_kind(t) == BTF_KIND_VAR; in btf_is_var()
434 return btf_kind(t) == BTF_KIND_DATASEC; in btf_is_datasec()
439 return btf_kind(t) == BTF_KIND_FLOAT; in btf_is_float()
444 return btf_kind(t) == BTF_KIND_DECL_TAG; in btf_is_decl_tag()
449 return btf_kind(t) == BTF_KIND_TYPE_TAG; in btf_is_type_tag()
460 return btf_kind(t1) == btf_kind(t2) || in btf_kind_core_compat()