• Home
  • Raw
  • Download

Lines Matching refs:t

95 int btf_find_spin_lock(const struct btf *btf, const struct btf_type *t);
96 bool btf_type_is_void(const struct btf_type *t);
118 static inline bool btf_type_is_ptr(const struct btf_type *t) in btf_type_is_ptr() argument
120 return BTF_INFO_KIND(t->info) == BTF_KIND_PTR; in btf_type_is_ptr()
123 static inline bool btf_type_is_int(const struct btf_type *t) in btf_type_is_int() argument
125 return BTF_INFO_KIND(t->info) == BTF_KIND_INT; in btf_type_is_int()
128 static inline bool btf_type_is_small_int(const struct btf_type *t) in btf_type_is_small_int() argument
130 return btf_type_is_int(t) && t->size <= sizeof(u64); in btf_type_is_small_int()
133 static inline bool btf_type_is_enum(const struct btf_type *t) in btf_type_is_enum() argument
135 return BTF_INFO_KIND(t->info) == BTF_KIND_ENUM; in btf_type_is_enum()
138 static inline bool btf_type_is_typedef(const struct btf_type *t) in btf_type_is_typedef() argument
140 return BTF_INFO_KIND(t->info) == BTF_KIND_TYPEDEF; in btf_type_is_typedef()
143 static inline bool btf_type_is_func(const struct btf_type *t) in btf_type_is_func() argument
145 return BTF_INFO_KIND(t->info) == BTF_KIND_FUNC; in btf_type_is_func()
148 static inline bool btf_type_is_func_proto(const struct btf_type *t) in btf_type_is_func_proto() argument
150 return BTF_INFO_KIND(t->info) == BTF_KIND_FUNC_PROTO; in btf_type_is_func_proto()
153 static inline bool btf_type_is_var(const struct btf_type *t) in btf_type_is_var() argument
155 return BTF_INFO_KIND(t->info) == BTF_KIND_VAR; in btf_type_is_var()
161 static inline bool btf_type_is_struct(const struct btf_type *t) in btf_type_is_struct() argument
163 u8 kind = BTF_INFO_KIND(t->info); in btf_type_is_struct()
168 static inline u16 btf_type_vlen(const struct btf_type *t) in btf_type_vlen() argument
170 return BTF_INFO_VLEN(t->info); in btf_type_vlen()
173 static inline u16 btf_func_linkage(const struct btf_type *t) in btf_func_linkage() argument
175 return BTF_INFO_VLEN(t->info); in btf_func_linkage()
178 static inline bool btf_type_kflag(const struct btf_type *t) in btf_type_kflag() argument
180 return BTF_INFO_KFLAG(t->info); in btf_type_kflag()
197 static inline const struct btf_member *btf_type_member(const struct btf_type *t) in btf_type_member() argument
199 return (const struct btf_member *)(t + 1); in btf_type_member()
203 const struct btf_type *t) in btf_type_var_secinfo() argument
205 return (const struct btf_var_secinfo *)(t + 1); in btf_type_var_secinfo()