Symbol: btf_type
drivers/hid/bpf/hid_bpf_struct_ops.c
149
static int hid_bpf_ops_init_member(const struct btf_type *t,
drivers/hid/bpf/hid_bpf_struct_ops.c
39
static int hid_bpf_ops_check_member(const struct btf_type *t,
drivers/hid/bpf/hid_bpf_struct_ops.c
84
const struct btf_type *state = NULL;
drivers/hid/bpf/hid_bpf_struct_ops.c
85
const struct btf_type *t;
include/linux/bpf.h
129
const struct btf_type *key_type,
include/linux/bpf.h
130
const struct btf_type *value_type);
include/linux/bpf.h
1367
const struct btf_type *tgt_type;
include/linux/bpf.h
1704
const struct btf_type *attach_func_proto;
include/linux/bpf.h
1990
int (*check_member)(const struct btf_type *t,
include/linux/bpf.h
1993
int (*init_member)(const struct btf_type *t,
include/linux/bpf.h
2022
const struct btf_type *type;
include/linux/bpf.h
2023
const struct btf_type *value_type;
include/linux/bpf.h
292
const struct btf_type *attach_func_proto;
include/linux/bpf.h
3019
const struct btf_type *func_proto,
include/linux/bpf.h
3026
struct btf *btf, const struct btf_type *t);
include/linux/bpf.h
3027
const char *btf_find_decl_tag_value(const struct btf *btf, const struct btf_type *pt,
include/linux/bpf.h
3029
int btf_find_next_decl_tag(const struct btf *btf, const struct btf_type *pt,
include/linux/bpf.h
46
struct btf_type;
include/linux/bpf.h
661
const struct btf_type *key_type,
include/linux/bpf.h
662
const struct btf_type *value_type);
include/linux/bpf_local_storage.h
181
const struct btf_type *key_type,
include/linux/bpf_local_storage.h
182
const struct btf_type *value_type);
include/linux/btf.h
113
struct btf_type;
include/linux/btf.h
174
const struct btf_type *btf_type_id_size(const struct btf *btf,
include/linux/btf.h
225
bool btf_type_is_i32(const struct btf_type *t);
include/linux/btf.h
226
bool btf_type_is_i64(const struct btf_type *t);
include/linux/btf.h
227
bool btf_type_is_primitive(const struct btf_type *t);
include/linux/btf.h
228
bool btf_member_is_reg_int(const struct btf *btf, const struct btf_type *s,
include/linux/btf.h
231
struct btf_record *btf_parse_fields(const struct btf *btf, const struct btf_type *t,
include/linux/btf.h
234
bool btf_type_is_void(const struct btf_type *t);
include/linux/btf.h
237
const struct btf_type *btf_type_skip_modifiers(const struct btf *btf,
include/linux/btf.h
239
const struct btf_type *btf_type_resolve_ptr(const struct btf *btf,
include/linux/btf.h
241
const struct btf_type *btf_type_resolve_func_ptr(const struct btf *btf,
include/linux/btf.h
243
const struct btf_type *
include/linux/btf.h
244
btf_resolve_size(const struct btf *btf, const struct btf_type *type,
include/linux/btf.h
246
const char *btf_type_str(const struct btf_type *t);
include/linux/btf.h
258
static inline bool btf_type_is_ptr(const struct btf_type *t)
include/linux/btf.h
263
static inline bool btf_type_is_int(const struct btf_type *t)
include/linux/btf.h
268
static inline bool btf_type_is_small_int(const struct btf_type *t)
include/linux/btf.h
273
static inline u8 btf_int_encoding(const struct btf_type *t)
include/linux/btf.h
278
static inline bool btf_type_is_signed_int(const struct btf_type *t)
include/linux/btf.h
283
static inline bool btf_type_is_enum(const struct btf_type *t)
include/linux/btf.h
288
static inline bool btf_is_any_enum(const struct btf_type *t)
include/linux/btf.h
294
static inline bool btf_kind_core_compat(const struct btf_type *t1,
include/linux/btf.h
295
const struct btf_type *t2)
include/linux/btf.h
306
static inline u16 btf_kind(const struct btf_type *t)
include/linux/btf.h
311
static inline bool btf_is_enum(const struct btf_type *t)
include/linux/btf.h
316
static inline bool btf_is_enum64(const struct btf_type *t)
include/linux/btf.h
326
static inline bool btf_is_composite(const struct btf_type *t)
include/linux/btf.h
333
static inline bool btf_is_array(const struct btf_type *t)
include/linux/btf.h
338
static inline bool btf_is_int(const struct btf_type *t)
include/linux/btf.h
343
static inline bool btf_is_ptr(const struct btf_type *t)
include/linux/btf.h
348
static inline u8 btf_int_offset(const struct btf_type *t)
include/linux/btf.h
353
static inline __u8 btf_int_bits(const struct btf_type *t)
include/linux/btf.h
358
static inline bool btf_type_is_scalar(const struct btf_type *t)
include/linux/btf.h
363
static inline bool btf_type_is_fwd(const struct btf_type *t)
include/linux/btf.h
368
static inline bool btf_type_is_typedef(const struct btf_type *t)
include/linux/btf.h
373
static inline bool btf_type_is_volatile(const struct btf_type *t)
include/linux/btf.h
378
static inline bool btf_type_is_func(const struct btf_type *t)
include/linux/btf.h
383
static inline bool btf_type_is_func_proto(const struct btf_type *t)
include/linux/btf.h
388
static inline bool btf_type_is_var(const struct btf_type *t)
include/linux/btf.h
393
static inline bool btf_type_is_type_tag(const struct btf_type *t)
include/linux/btf.h
401
static inline bool btf_type_is_struct(const struct btf_type *t)
include/linux/btf.h
408
static inline bool __btf_type_is_struct(const struct btf_type *t)
include/linux/btf.h
413
static inline bool btf_type_is_array(const struct btf_type *t)
include/linux/btf.h
418
static inline u16 btf_type_vlen(const struct btf_type *t)
include/linux/btf.h
423
static inline u16 btf_vlen(const struct btf_type *t)
include/linux/btf.h
428
static inline u16 btf_func_linkage(const struct btf_type *t)
include/linux/btf.h
433
static inline bool btf_type_kflag(const struct btf_type *t)
include/linux/btf.h
438
static inline u32 __btf_member_bit_offset(const struct btf_type *struct_type,
include/linux/btf.h
445
static inline u32 __btf_member_bitfield_size(const struct btf_type *struct_type,
include/linux/btf.h
452
static inline struct btf_member *btf_members(const struct btf_type *t)
include/linux/btf.h
457
static inline u32 btf_member_bit_offset(const struct btf_type *t, u32 member_idx)
include/linux/btf.h
464
static inline u32 btf_member_bitfield_size(const struct btf_type *t, u32 member_idx)
include/linux/btf.h
471
static inline const struct btf_member *btf_type_member(const struct btf_type *t)
include/linux/btf.h
476
static inline struct btf_array *btf_array(const struct btf_type *t)
include/linux/btf.h
481
static inline struct btf_enum *btf_enum(const struct btf_type *t)
include/linux/btf.h
486
static inline struct btf_enum64 *btf_enum64(const struct btf_type *t)
include/linux/btf.h
492
const struct btf_type *t)
include/linux/btf.h
497
static inline struct btf_param *btf_params(const struct btf_type *t)
include/linux/btf.h
502
static inline struct btf_decl_tag *btf_decl_tag(const struct btf_type *t)
include/linux/btf.h
527
int btf_ctx_arg_offset(const struct btf *btf, const struct btf_type *func_proto,
include/linux/btf.h
529
u32 btf_ctx_arg_idx(struct btf *btf, const struct btf_type *func_proto, int off);
include/linux/btf.h
568
const struct btf_type *btf_type_by_id(const struct btf *btf, u32 type_id);
include/linux/btf.h
571
int btf_field_iter_init(struct btf_field_iter *it, struct btf_type *t,
include/linux/btf.h
592
const struct btf_type *t, enum bpf_prog_type prog_type,
include/linux/btf.h
597
int btf_check_iter_arg(struct btf *btf, const struct btf_type *func, int arg_idx);
include/linux/btf.h
599
static inline bool btf_type_is_struct_ptr(struct btf *btf, const struct btf_type *t)
include/linux/btf.h
609
static inline const struct btf_type *btf_type_by_id(const struct btf *btf,
include/linux/btf.h
625
static inline int btf_field_iter_init(struct btf_field_iter *it, struct btf_type *t,
include/linux/btf.h
668
const struct btf_type *t, enum bpf_prog_type prog_type,
include/linux/btf.h
682
static inline int btf_check_iter_arg(struct btf *btf, const struct btf_type *func, int arg_idx)
kernel/bpf/arena.c
307
const struct btf_type *key_type, const struct btf_type *value_type)
kernel/bpf/arraymap.c
553
const struct btf_type *key_type,
kernel/bpf/arraymap.c
554
const struct btf_type *value_type)
kernel/bpf/bloom_filter.c
185
const struct btf_type *key_type,
kernel/bpf/bloom_filter.c
186
const struct btf_type *value_type)
kernel/bpf/bpf_insn_array.c
103
const struct btf_type *key_type,
kernel/bpf/bpf_insn_array.c
104
const struct btf_type *value_type)
kernel/bpf/bpf_local_storage.c
806
const struct btf_type *key_type,
kernel/bpf/bpf_local_storage.c
807
const struct btf_type *value_type)
kernel/bpf/bpf_struct_ops.c
1029
static u32 count_func_ptrs(const struct btf *btf, const struct btf_type *t)
kernel/bpf/bpf_struct_ops.c
1047
const struct btf_type *t, *vt;
kernel/bpf/bpf_struct_ops.c
1139
const struct btf_type *vt = st_ops_desc->value_type;
kernel/bpf/bpf_struct_ops.c
174
const struct btf_type *func_proto, void *stub_func_addr,
kernel/bpf/bpf_struct_ops.c
177
const struct btf_type *stub_func_proto, *pointed_type;
kernel/bpf/bpf_struct_ops.c
312
const struct btf_type *t;
kernel/bpf/bpf_struct_ops.c
338
const struct btf_type *t;
kernel/bpf/bpf_struct_ops.c
392
const struct btf_type *func_proto, *ret_type;
kernel/bpf/bpf_struct_ops.c
555
static int check_zero_holes(const struct btf *btf, const struct btf_type *t, void *data)
kernel/bpf/bpf_struct_ops.c
559
const struct btf_type *mtype;
kernel/bpf/bpf_struct_ops.c
693
const struct btf_type *module_type;
kernel/bpf/bpf_struct_ops.c
695
const struct btf_type *t = st_ops_desc->type;
kernel/bpf/bpf_struct_ops.c
747
const struct btf_type *mtype, *ptype;
kernel/bpf/bpf_struct_ops.c
90
const struct btf_type *type,
kernel/bpf/bpf_struct_ops.c
93
const struct btf_type *common_value_type;
kernel/bpf/bpf_struct_ops.c
95
const struct btf_type *vt, *mt;
kernel/bpf/btf.c
1000
bool btf_type_is_i64(const struct btf_type *t)
kernel/bpf/btf.c
1005
bool btf_type_is_primitive(const struct btf_type *t)
kernel/bpf/btf.c
1015
bool btf_member_is_reg_int(const struct btf *btf, const struct btf_type *s,
kernel/bpf/btf.c
1019
const struct btf_type *t;
kernel/bpf/btf.c
1053
static const struct btf_type *btf_type_skip_qualifiers(const struct btf *btf,
kernel/bpf/btf.c
1056
const struct btf_type *t = btf_type_by_id(btf, id);
kernel/bpf/btf.c
1086
const struct btf_type *t;
kernel/bpf/btf.c
1363
const struct btf_type *t,
kernel/bpf/btf.c
1366
const struct btf_type *rt;
kernel/bpf/btf.c
1439
const struct btf_type *t,
kernel/bpf/btf.c
1457
const struct btf_type *t,
kernel/bpf/btf.c
1505
const struct btf_type *t,
kernel/bpf/btf.c
1523
const struct btf_type *t,
kernel/bpf/btf.c
1560
const struct btf_type *t,
kernel/bpf/btf.c
1610
const struct btf_type *struct_type,
kernel/bpf/btf.c
1663
const struct btf_type *datasec_type,
kernel/bpf/btf.c
1713
static int btf_add_type(struct btf_verifier_env *env, struct btf_type *t)
kernel/bpf/btf.c
1720
struct btf_type **new_types;
kernel/bpf/btf.c
1963
const struct btf_type *next_type)
kernel/bpf/btf.c
1998
const struct btf_type *t, u32 type_id)
kernel/bpf/btf.c
2071
static const struct btf_type *
kernel/bpf/btf.c
2072
__btf_resolve_size(const struct btf *btf, const struct btf_type *type,
kernel/bpf/btf.c
2073
u32 *type_size, const struct btf_type **elem_type,
kernel/bpf/btf.c
2076
const struct btf_type *array_type = NULL;
kernel/bpf/btf.c
2141
const struct btf_type *
kernel/bpf/btf.c
2142
btf_resolve_size(const struct btf *btf, const struct btf_type *type,
kernel/bpf/btf.c
2157
static const struct btf_type *btf_type_id_resolve(const struct btf *btf,
kernel/bpf/btf.c
2172
const struct btf_type *btf_type_id_size(const struct btf *btf,
kernel/bpf/btf.c
2175
const struct btf_type *size_type;
kernel/bpf/btf.c
2216
const struct btf_type *struct_type,
kernel/bpf/btf.c
2218
const struct btf_type *member_type)
kernel/bpf/btf.c
2226
const struct btf_type *struct_type,
kernel/bpf/btf.c
2228
const struct btf_type *member_type)
kernel/bpf/btf.c
2239
const struct btf_type *struct_type,
kernel/bpf/btf.c
2241
const struct btf_type *member_type)
kernel/bpf/btf.c
2264
static void btf_df_show(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
2272
const struct btf_type *struct_type,
kernel/bpf/btf.c
2274
const struct btf_type *member_type)
kernel/bpf/btf.c
2310
const struct btf_type *struct_type,
kernel/bpf/btf.c
2312
const struct btf_type *member_type)
kernel/bpf/btf.c
2366
const struct btf_type *t,
kernel/bpf/btf.c
2430
const struct btf_type *t)
kernel/bpf/btf.c
2533
const struct btf_type *t,
kernel/bpf/btf.c
2551
static void btf_int_show(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
256
struct btf_type **types;
kernel/bpf/btf.c
2631
const struct btf_type *struct_type,
kernel/bpf/btf.c
2633
const struct btf_type *member_type)
kernel/bpf/btf.c
2635
const struct btf_type *resolved_type;
kernel/bpf/btf.c
2656
const struct btf_type *struct_type,
kernel/bpf/btf.c
2658
const struct btf_type *member_type)
kernel/bpf/btf.c
2660
const struct btf_type *resolved_type;
kernel/bpf/btf.c
2681
const struct btf_type *struct_type,
kernel/bpf/btf.c
2683
const struct btf_type *member_type)
kernel/bpf/btf.c
2707
const struct btf_type *t,
kernel/bpf/btf.c
2757
const struct btf_type *t = v->t;
kernel/bpf/btf.c
2758
const struct btf_type *next_type;
kernel/bpf/btf.c
2799
const struct btf_type *next_type;
kernel/bpf/btf.c
2800
const struct btf_type *t = v->t;
kernel/bpf/btf.c
2815
const struct btf_type *resolved_type;
kernel/bpf/btf.c
2845
const struct btf_type *next_type;
kernel/bpf/btf.c
2846
const struct btf_type *t = v->t;
kernel/bpf/btf.c
2869
const struct btf_type *resolved_type;
kernel/bpf/btf.c
289
const struct btf_type *t;
kernel/bpf/btf.c
2900
const struct btf_type *t,
kernel/bpf/btf.c
2912
static void btf_var_show(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
2921
static void btf_ptr_show(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
2940
const struct btf_type *t)
kernel/bpf/btf.c
2964
const struct btf_type *t,
kernel/bpf/btf.c
2990
const struct btf_type *t)
kernel/bpf/btf.c
3005
const struct btf_type *struct_type,
kernel/bpf/btf.c
3007
const struct btf_type *member_type)
kernel/bpf/btf.c
3034
const struct btf_type *t,
kernel/bpf/btf.c
3090
const struct btf_type *elem_type, *index_type;
kernel/bpf/btf.c
3152
const struct btf_type *t)
kernel/bpf/btf.c
3160
static void __btf_array_show(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
3166
const struct btf_type *elem_type;
kernel/bpf/btf.c
3213
static void btf_array_show(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
3256
const struct btf_type *struct_type,
kernel/bpf/btf.c
3258
const struct btf_type *member_type)
kernel/bpf/btf.c
3281
const struct btf_type *t,
kernel/bpf/btf.c
3373
const struct btf_type *last_member_type;
kernel/bpf/btf.c
3399
const struct btf_type *member_type = btf_type_by_id(env->btf,
kernel/bpf/btf.c
3433
const struct btf_type *t)
kernel/bpf/btf.c
3457
static int btf_find_struct(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
3470
static int btf_find_kptr(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
349
const char *btf_type_str(const struct btf_type *t)
kernel/bpf/btf.c
3518
int btf_find_next_decl_tag(const struct btf *btf, const struct btf_type *pt,
kernel/bpf/btf.c
3525
const struct btf_type *t = btf_type_by_id(btf, i);
kernel/bpf/btf.c
3540
const char *btf_find_decl_tag_value(const struct btf *btf, const struct btf_type *pt,
kernel/bpf/btf.c
3544
const struct btf_type *t;
kernel/bpf/btf.c
3565
btf_find_graph_root(const struct btf *btf, const struct btf_type *pt,
kernel/bpf/btf.c
3566
const struct btf_type *t, int comp_idx, u32 off,
kernel/bpf/btf.c
3602
static int btf_get_field_type(const struct btf *btf, const struct btf_type *var_type,
kernel/bpf/btf.c
3700
const struct btf_type *t, u32 field_mask,
kernel/bpf/btf.c
3710
static int btf_find_nested_struct(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
3744
const struct btf_type *var,
kernel/bpf/btf.c
3745
const struct btf_type *var_type,
kernel/bpf/btf.c
3841
const struct btf_type *t, u32 field_mask,
kernel/bpf/btf.c
3850
const struct btf_type *member_type = btf_type_by_id(btf,
kernel/bpf/btf.c
3870
static int btf_find_datasec_var(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
3879
const struct btf_type *var = btf_type_by_id(btf, vsi->type);
kernel/bpf/btf.c
3880
const struct btf_type *var_type = btf_type_by_id(btf, var->type);
kernel/bpf/btf.c
3894
static int btf_find_field(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
3910
const struct btf_type *t;
kernel/bpf/btf.c
3943
const struct btf_type *dtor_func;
kernel/bpf/btf.c
4002
const struct btf_type *t, *n = NULL;
kernel/bpf/btf.c
4066
struct btf_record *btf_parse_fields(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
4215
const struct btf_type *t;
kernel/bpf/btf.c
4287
static void __btf_struct_show(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
4300
const struct btf_type *member_type = btf_type_by_id(btf,
kernel/bpf/btf.c
433
const struct btf_type *type;
kernel/bpf/btf.c
4334
static void btf_struct_show(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
4378
const struct btf_type *struct_type,
kernel/bpf/btf.c
4380
const struct btf_type *member_type)
kernel/bpf/btf.c
4403
const struct btf_type *struct_type,
kernel/bpf/btf.c
4405
const struct btf_type *member_type)
kernel/bpf/btf.c
4438
const struct btf_type *t,
kernel/bpf/btf.c
447
const struct btf_type *t,
kernel/bpf/btf.c
4497
const struct btf_type *t)
kernel/bpf/btf.c
4502
static void btf_enum_show(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
452
const struct btf_type *struct_type,
kernel/bpf/btf.c
454
const struct btf_type *member_type);
kernel/bpf/btf.c
4546
const struct btf_type *t,
kernel/bpf/btf.c
456
const struct btf_type *struct_type,
kernel/bpf/btf.c
458
const struct btf_type *member_type);
kernel/bpf/btf.c
460
const struct btf_type *t);
kernel/bpf/btf.c
4605
static void btf_enum64_show(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
461
void (*show)(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
4649
const struct btf_type *t,
kernel/bpf/btf.c
467
static struct btf_type btf_void;
kernel/bpf/btf.c
4677
const struct btf_type *t)
kernel/bpf/btf.c
470
const struct btf_type *t, u32 type_id);
kernel/bpf/btf.c
473
const struct btf_type *t);
kernel/bpf/btf.c
4736
const struct btf_type *t,
kernel/bpf/btf.c
475
static bool btf_type_is_modifier(const struct btf_type *t)
kernel/bpf/btf.c
4763
const struct btf_type *t = v->t;
kernel/bpf/btf.c
4785
const struct btf_type *t,
kernel/bpf/btf.c
4832
static void btf_var_log(struct btf_verifier_env *env, const struct btf_type *t)
kernel/bpf/btf.c
4849
const struct btf_type *t,
kernel/bpf/btf.c
4931
const struct btf_type *var_type = btf_type_by_id(env->btf,
kernel/bpf/btf.c
4962
const struct btf_type *t)
kernel/bpf/btf.c
4968
const struct btf_type *t, u32 type_id,
kernel/bpf/btf.c
4973
const struct btf_type *var;
kernel/bpf/btf.c
5001
const struct btf_type *t,
kernel/bpf/btf.c
5026
const struct btf_type *struct_type,
kernel/bpf/btf.c
5028
const struct btf_type *member_type)
kernel/bpf/btf.c
504
bool btf_type_is_void(const struct btf_type *t)
kernel/bpf/btf.c
5061
const struct btf_type *t)
kernel/bpf/btf.c
5076
const struct btf_type *t,
kernel/bpf/btf.c
509
static bool btf_type_is_datasec(const struct btf_type *t)
kernel/bpf/btf.c
5116
const struct btf_type *next_type;
kernel/bpf/btf.c
5117
const struct btf_type *t = v->t;
kernel/bpf/btf.c
514
static bool btf_type_is_decl_tag(const struct btf_type *t)
kernel/bpf/btf.c
5159
static void btf_decl_tag_log(struct btf_verifier_env *env, const struct btf_type *t)
kernel/bpf/btf.c
5175
const struct btf_type *t)
kernel/bpf/btf.c
5177
const struct btf_type *ret_type;
kernel/bpf/btf.c
519
static bool btf_type_nosize(const struct btf_type *t)
kernel/bpf/btf.c
5230
const struct btf_type *arg_type;
kernel/bpf/btf.c
526
static bool btf_type_nosize_or_null(const struct btf_type *t)
kernel/bpf/btf.c
5270
const struct btf_type *t)
kernel/bpf/btf.c
5272
const struct btf_type *proto_type;
kernel/bpf/btf.c
531
static bool btf_type_is_decl_tag_target(const struct btf_type *t)
kernel/bpf/btf.c
5320
const struct btf_type *t,
kernel/bpf/btf.c
5373
struct btf_type *t = cur;
kernel/bpf/btf.c
5389
const struct btf_type *t,
kernel/bpf/btf.c
5416
const struct btf_type *elem_type;
kernel/bpf/btf.c
5430
const struct btf_type *t, u32 type_id)
kernel/bpf/btf.c
5465
const struct btf_type *t;
kernel/bpf/btf.c
565
const struct btf_type *t = btf_type_by_id(btf, i);
kernel/bpf/btf.c
5730
const struct btf_type *t;
kernel/bpf/btf.c
5763
const struct btf_type *t;
kernel/bpf/btf.c
577
const struct btf_type *ta = btf_type_by_id(btf, i - 1);
kernel/bpf/btf.c
578
const struct btf_type *tb = btf_type_by_id(btf, i);
kernel/bpf/btf.c
5830
const struct btf_type *t;
kernel/bpf/btf.c
6003
const struct btf_type *t;
kernel/bpf/btf.c
6022
static const struct btf_type *find_canonical_prog_ctx_type(enum bpf_prog_type prog_type)
kernel/bpf/btf.c
6024
const struct btf_type *conv_struct;
kernel/bpf/btf.c
6040
const struct btf_type *conv_struct;
kernel/bpf/btf.c
6064
const struct btf_type *t, enum bpf_prog_type prog_type,
kernel/bpf/btf.c
6067
const struct btf_type *ctx_type;
kernel/bpf/btf.c
6150
const struct btf_type *t, int arg,
kernel/bpf/btf.c
6154
const struct btf_type *ctx_type;
kernel/bpf/btf.c
618
const struct btf_type *t;
kernel/bpf/btf.c
6286
const struct btf_type *t,
kernel/bpf/btf.c
6298
const struct btf_type *conv_struct;
kernel/bpf/btf.c
6299
const struct btf_type *kctx_type;
kernel/bpf/btf.c
643
const struct btf_type *t;
kernel/bpf/btf.c
6520
static bool is_void_or_int_ptr(struct btf *btf, const struct btf_type *t)
kernel/bpf/btf.c
6527
u32 btf_ctx_arg_idx(struct btf *btf, const struct btf_type *func_proto,
kernel/bpf/btf.c
6531
const struct btf_type *t;
kernel/bpf/btf.c
6571
int btf_ctx_arg_offset(const struct btf *btf, const struct btf_type *func_proto,
kernel/bpf/btf.c
6575
const struct btf_type *t;
kernel/bpf/btf.c
6792
const struct btf_type *t = prog->aux->attach_func_proto;
kernel/bpf/btf.c
6948
const struct btf_type *t;
kernel/bpf/btf.c
7045
const struct btf_type *t, int off, int size,
kernel/bpf/btf.c
7050
const struct btf_type *mtype, *elem_type = NULL;
kernel/bpf/btf.c
723
const struct btf_type *btf_type_skip_modifiers(const struct btf *btf,
kernel/bpf/btf.c
7248
const struct btf_type *stype, *t;
kernel/bpf/btf.c
726
const struct btf_type *t = btf_type_by_id(btf, id);
kernel/bpf/btf.c
7313
const struct btf_type *t;
kernel/bpf/btf.c
739
const struct btf_type *btf_type_resolve_ptr(const struct btf *btf,
kernel/bpf/btf.c
7402
const struct btf_type *type;
kernel/bpf/btf.c
742
const struct btf_type *t;
kernel/bpf/btf.c
7437
const struct btf_type **ret_type)
kernel/bpf/btf.c
7439
const struct btf_type *t;
kernel/bpf/btf.c
7459
static u8 __get_type_fmodel_flags(const struct btf_type *t)
kernel/bpf/btf.c
7473
const struct btf_type *func,
kernel/bpf/btf.c
7478
const struct btf_type *t;
kernel/bpf/btf.c
751
const struct btf_type *btf_type_resolve_func_ptr(const struct btf *btf,
kernel/bpf/btf.c
754
const struct btf_type *ptype;
kernel/bpf/btf.c
7551
struct btf *btf1, const struct btf_type *t1,
kernel/bpf/btf.c
7552
struct btf *btf2, const struct btf_type *t2)
kernel/bpf/btf.c
766
static bool btf_type_is_resolve_source_only(const struct btf_type *t)
kernel/bpf/btf.c
7662
struct btf *btf2, const struct btf_type *t2)
kernel/bpf/btf.c
7665
const struct btf_type *t1;
kernel/bpf/btf.c
7684
static bool btf_is_dynptr_ptr(const struct btf *btf, const struct btf_type *t)
kernel/bpf/btf.c
7720
const struct btf *btf, const struct btf_type *t)
kernel/bpf/btf.c
7796
const struct btf_type *t, *ref_t, *fn_t;
kernel/bpf/btf.c
7872
const struct btf_type *tag_t = btf_type_by_id(btf, id);
kernel/bpf/btf.c
789
static bool btf_type_needs_resolve(const struct btf_type *t)
kernel/bpf/btf.c
802
static bool btf_type_has_size(const struct btf_type *t)
kernel/bpf/btf.c
8036
const struct btf_type *t = btf_type_by_id(btf, type_id);
kernel/bpf/btf.c
832
static u32 btf_type_int(const struct btf_type *t)
kernel/bpf/btf.c
837
static const struct btf_array *btf_type_array(const struct btf_type *t)
kernel/bpf/btf.c
842
static const struct btf_enum *btf_type_enum(const struct btf_type *t)
kernel/bpf/btf.c
847
static const struct btf_var *btf_type_var(const struct btf_type *t)
kernel/bpf/btf.c
852
static const struct btf_decl_tag *btf_type_decl_tag(const struct btf_type *t)
kernel/bpf/btf.c
8546
int btf_check_iter_arg(struct btf *btf, const struct btf_type *func, int arg_idx)
kernel/bpf/btf.c
8549
const struct btf_type *t;
kernel/bpf/btf.c
857
static const struct btf_enum64 *btf_type_enum64(const struct btf_type *t)
kernel/bpf/btf.c
8572
const struct btf_type *func, u32 func_flags)
kernel/bpf/btf.c
8576
const struct btf_type *t;
kernel/bpf/btf.c
862
static const struct btf_kind_operations *btf_type_ops(const struct btf_type *t)
kernel/bpf/btf.c
8639
const struct btf_type *func;
kernel/bpf/btf.c
8990
const struct btf_type *dtor_func, *dtor_func_proto, *t;
kernel/bpf/btf.c
9313
const struct btf_type *t;
kernel/bpf/btf.c
9362
const struct btf_type *local_type;
kernel/bpf/btf.c
9452
const struct btf_type *type;
kernel/bpf/btf.c
9529
const struct btf_type *walk_type, *safe_type;
kernel/bpf/btf.c
9556
const struct btf_type *mtype = btf_type_by_id(btf, member->type);
kernel/bpf/btf.c
9576
const struct btf_type *reg_type, *arg_type;
kernel/bpf/btf.c
959
const struct btf_type *btf_type_by_id(const struct btf *btf, u32 type_id)
kernel/bpf/btf.c
978
static bool __btf_type_int_is_regular(const struct btf_type *t, size_t expected_size)
kernel/bpf/btf.c
990
static bool btf_type_int_is_regular(const struct btf_type *t)
kernel/bpf/btf.c
995
bool btf_type_is_i32(const struct btf_type *t)
kernel/bpf/core.c
568
const struct btf_type *type;
kernel/bpf/hashtab.c
526
const struct btf_type *key_type, const struct btf_type *value_type)
kernel/bpf/inode.c
595
const struct btf_type *cmd_t;
kernel/bpf/inode.c
596
const struct btf_type *map_t;
kernel/bpf/inode.c
597
const struct btf_type *prog_t;
kernel/bpf/inode.c
598
const struct btf_type *attach_t;
kernel/bpf/inode.c
604
const struct btf_type **type;
kernel/bpf/inode.c
637
static bool find_btf_enum_const(const struct btf *btf, const struct btf_type *enum_t,
kernel/bpf/inode.c
669
const struct btf_type *enum_t,
kernel/bpf/inode.c
867
const struct btf_type *enum_t;
kernel/bpf/local_storage.c
369
const struct btf_type *key_type,
kernel/bpf/local_storage.c
370
const struct btf_type *value_type)
kernel/bpf/lpm_trie.c
756
const struct btf_type *key_type,
kernel/bpf/lpm_trie.c
757
const struct btf_type *value_type)
kernel/bpf/preload/iterators/iterators.bpf.c
36
struct btf_type **types;
kernel/bpf/preload/iterators/iterators.bpf.c
61
struct btf_type **types, *t;
kernel/bpf/syscall.c
1239
const struct btf_type *key_type,
kernel/bpf/syscall.c
1240
const struct btf_type *value_type)
kernel/bpf/syscall.c
1248
const struct btf_type *key_type, *value_type;
kernel/bpf/syscall.c
199
const struct btf_type *t;
kernel/bpf/verifier.c
11924
const struct btf_type *type;
kernel/bpf/verifier.c
12012
const struct btf_type *t;
kernel/bpf/verifier.c
12018
const struct btf_type *ret;
kernel/bpf/verifier.c
12234
const struct btf_type *t;
kernel/bpf/verifier.c
12247
const struct btf_type *t;
kernel/bpf/verifier.c
12348
const struct btf_type *t;
kernel/bpf/verifier.c
12407
static bool is_rbtree_node_type(const struct btf_type *t)
kernel/bpf/verifier.c
12412
static bool is_list_node_type(const struct btf_type *t)
kernel/bpf/verifier.c
12420
const struct btf_type *t;
kernel/bpf/verifier.c
12437
const struct btf_type *t, int rec)
kernel/bpf/verifier.c
12439
const struct btf_type *member_type;
kernel/bpf/verifier.c
12681
const struct btf_type *t, const struct btf_type *ref_t,
kernel/bpf/verifier.c
12785
const struct btf_type *ref_t,
kernel/bpf/verifier.c
12790
const struct btf_type *reg_ref_t;
kernel/bpf/verifier.c
13259
const struct btf_type *et, *t;
kernel/bpf/verifier.c
13378
const struct btf_type *t, *ref_t, *resolve_ret;
kernel/bpf/verifier.c
13935
const struct btf_type *ptr_type, struct btf *desc_btf)
kernel/bpf/verifier.c
13937
const struct btf_type *ret_t;
kernel/bpf/verifier.c
14117
const struct btf_type *t, *ptr_type;
kernel/bpf/verifier.c
17948
const struct btf_type *reg_type, *ret_type = NULL;
kernel/bpf/verifier.c
19118
const struct btf_type *type, *func_proto;
kernel/bpf/verifier.c
19219
const struct btf_type *type, *func_proto, *ret_type;
kernel/bpf/verifier.c
21421
const struct btf_type *t;
kernel/bpf/verifier.c
21497
const struct btf_type *datasec;
kernel/bpf/verifier.c
21498
const struct btf_type *t;
kernel/bpf/verifier.c
21551
const struct btf_type *ret;
kernel/bpf/verifier.c
24819
const struct btf_type *t, *func_proto;
kernel/bpf/verifier.c
24970
const struct btf_type *t;
kernel/bpf/verifier.c
303
const struct btf_type *proto;
kernel/bpf/verifier.c
3119
const struct btf_type *t;
kernel/bpf/verifier.c
314
const struct btf_type *func_proto;
kernel/bpf/verifier.c
3350
static const struct btf_type *find_kfunc_impl_proto(struct bpf_verifier_env *env,
kernel/bpf/verifier.c
3355
const struct btf_type *func;
kernel/bpf/verifier.c
3381
const struct btf_type *func, *func_proto;
kernel/bpf/verifier.c
4172
const struct btf_type *func;
kernel/bpf/verifier.c
6146
const struct btf_type *t;
kernel/bpf/verifier.c
7386
const struct btf_type *t = btf_type_by_id(reg->btf, reg->btf_id);
kernel/bpf/verifier.c
7542
const struct btf_type *t;
kernel/bpf/verifier.c
8972
const struct btf_type *t;
kernel/sched/ext.c
5366
static const struct btf_type *task_struct_type;
kernel/sched/ext.c
5387
const struct btf_type *t;
kernel/sched/ext.c
5411
static int bpf_scx_init_member(const struct btf_type *t,
kernel/sched/ext.c
5457
static int bpf_scx_check_member(const struct btf_type *t,
kernel/trace/bpf_trace.c
980
const struct btf_type *t;
kernel/trace/trace_btf.c
13
const struct btf_type *btf_find_func_proto(const char *func_name, struct btf **btf_p)
kernel/trace/trace_btf.c
15
const struct btf_type *t;
kernel/trace/trace_btf.c
43
const struct btf_param *btf_get_func_param(const struct btf_type *func_proto, s32 *nr)
kernel/trace/trace_btf.c
71
const struct btf_type *type,
kernel/trace/trace_btf.h
4
const struct btf_type *btf_find_func_proto(const char *func_name,
kernel/trace/trace_btf.h
6
const struct btf_param *btf_get_func_param(const struct btf_type *func_proto,
kernel/trace/trace_btf.h
9
const struct btf_type *type,
kernel/trace/trace_output.c
721
const struct btf_type *t;
kernel/trace/trace_probe.c
337
static u32 btf_type_int(const struct btf_type *t)
kernel/trace/trace_probe.c
342
static bool btf_type_is_char_ptr(struct btf *btf, const struct btf_type *type)
kernel/trace/trace_probe.c
344
const struct btf_type *real_type;
kernel/trace/trace_probe.c
360
static bool btf_type_is_char_array(struct btf *btf, const struct btf_type *type)
kernel/trace/trace_probe.c
362
const struct btf_type *real_type;
kernel/trace/trace_probe.c
414
const struct btf_type *type,
kernel/trace/trace_probe.c
470
const struct btf_type *type;
kernel/trace/trace_probe.c
550
static int parse_btf_field(char *fieldname, const struct btf_type *type,
kernel/trace/trace_probe.c
638
const struct btf_type *type;
kernel/trace/trace_probe.h
420
const struct btf_type *proto; /* Prototype of the function */
kernel/trace/trace_probe.h
424
const struct btf_type *last_type; /* Saved type */
net/bpf/bpf_dummy_struct_ops.c
103
const struct btf_type *t;
net/bpf/bpf_dummy_struct_ops.c
133
const struct btf_type *func_proto;
net/bpf/bpf_dummy_struct_ops.c
219
static int bpf_dummy_ops_check_member(const struct btf_type *t,
net/bpf/bpf_dummy_struct_ops.c
240
const struct btf_type *state;
net/bpf/bpf_dummy_struct_ops.c
241
const struct btf_type *t;
net/bpf/bpf_dummy_struct_ops.c
269
static int bpf_dummy_init_member(const struct btf_type *t,
net/bpf/bpf_dummy_struct_ops.c
98
const struct btf_type *func_proto = prog->aux->attach_func_proto;
net/ipv4/bpf_tcp_ca.c
141
const struct btf_type *t;
net/ipv4/bpf_tcp_ca.c
17
static const struct btf_type *tcp_sock_type;
net/ipv4/bpf_tcp_ca.c
19
static const struct btf_type *tcp_congestion_ops_type;
net/ipv4/bpf_tcp_ca.c
210
static int bpf_tcp_ca_init_member(const struct btf_type *t,
net/ipv4/bpf_tcp_ca.c
65
const struct btf_type *t;
net/netfilter/nf_conntrack_bpf.c
239
const struct btf_type *ncit, *nct, *t;
net/sched/bpf_qdisc.c
100
const struct btf_type *t, *skbt, *qdisct;
net/sched/bpf_qdisc.c
361
static int bpf_qdisc_init_member(const struct btf_type *t,
net/smc/smc_hs_bpf.c
85
static int smc_bpf_hs_ctrl_init_member(const struct btf_type *t,
tools/bpf/bpftool/btf.c
120
const struct btf_type *t)
tools/bpf/bpftool/btf.c
370
const struct btf_type *vt;
tools/bpf/bpftool/btf.c
438
const struct btf_type *t;
tools/bpf/bpftool/btf.c
505
const struct btf_type *a = *(void **)pa;
tools/bpf/bpftool/btf.c
506
const struct btf_type *b = *(void **)pb;
tools/bpf/bpftool/btf.c
524
const struct btf_type *t = btf__type_by_id(btf, i);
tools/bpf/bpftool/btf.c
525
const struct btf_type *ft;
tools/bpf/bpftool/btf.c
555
const struct btf_type *t = kfuncs.elems[i];
tools/bpf/bpftool/btf.c
591
const struct btf_type *t = btf__type_by_id(btf, index);
tools/bpf/bpftool/btf.c
631
const struct btf_type *t = btf__type_by_id(btf, index);
tools/bpf/bpftool/btf.c
676
const struct btf_type *t = btf__type_by_id(btf, id);
tools/bpf/bpftool/btf.c
757
const struct btf_type *t = btf__type_by_id(btf, i);
tools/bpf/bpftool/btf.c
93
static const char *btf_func_linkage_str(const struct btf_type *t)
tools/bpf/bpftool/btf_dumper.c
108
const struct btf_type *t,
tools/bpf/bpftool/btf_dumper.c
112
const struct btf_type *ptr_type;
tools/bpf/bpftool/btf_dumper.c
148
const struct btf_type *t,
tools/bpf/bpftool/btf_dumper.c
186
const struct btf_type *t,
tools/bpf/bpftool/btf_dumper.c
214
const struct btf_type *elem_type;
tools/bpf/bpftool/btf_dumper.c
250
const struct btf_type *t = btf__type_by_id(d->btf, type_id);
tools/bpf/bpftool/btf_dumper.c
28
const struct btf_type *func_proto,
tools/bpf/bpftool/btf_dumper.c
29
const struct btf_type *func, int pos, int size);
tools/bpf/bpftool/btf_dumper.c
32
const struct btf_type *func_proto,
tools/bpf/bpftool/btf_dumper.c
35
const struct btf_type *func_type;
tools/bpf/bpftool/btf_dumper.c
395
static int btf_dumper_int(const struct btf_type *t, __u8 bit_offset,
tools/bpf/bpftool/btf_dumper.c
468
const struct btf_type *t;
tools/bpf/bpftool/btf_dumper.c
516
const struct btf_type *t = btf__type_by_id(d->btf, type_id);
tools/bpf/bpftool/btf_dumper.c
531
const struct btf_type *t;
tools/bpf/bpftool/btf_dumper.c
558
const struct btf_type *t = btf__type_by_id(d->btf, type_id);
tools/bpf/bpftool/btf_dumper.c
622
const struct btf_type *proto_type;
tools/bpf/bpftool/btf_dumper.c
625
const struct btf_type *t;
tools/bpf/bpftool/btf_dumper.c
711
const struct btf_type *func_proto,
tools/bpf/bpftool/btf_dumper.c
712
const struct btf_type *func, int pos, int size)
tools/bpf/bpftool/cgroup.c
162
const struct btf_type *t =
tools/bpf/bpftool/common.c
417
const struct btf_type *func_type;
tools/bpf/bpftool/gen.c
1016
const struct btf_type *map_type, __u32 map_type_id)
tools/bpf/bpftool/gen.c
1019
const struct btf_type *member_type;
tools/bpf/bpftool/gen.c
1133
const struct btf_type *map_type;
tools/bpf/bpftool/gen.c
150
const struct btf_type *sec,
tools/bpf/bpftool/gen.c
1643
const struct btf_type *map_type, *var_type;
tools/bpf/bpftool/gen.c
167
const struct btf_type *var = btf__type_by_id(btf, sec_var->type);
tools/bpf/bpftool/gen.c
2084
const struct btf_type *t = btf__type_by_id(info->marked_btf, type_id);
tools/bpf/bpftool/gen.c
2093
const struct btf_type *btf_type = btf__type_by_id(info->src_btf, type_id);
tools/bpf/bpftool/gen.c
2094
struct btf_type *cloned_type;
tools/bpf/bpftool/gen.c
2103
cloned_type = (struct btf_type *) btf__type_by_id(info->marked_btf, type_id);
tools/bpf/bpftool/gen.c
2107
switch (btf_kind(btf_type)) {
tools/bpf/bpftool/gen.c
2118
err = btfgen_mark_type(info, btf_type->type, follow_pointers);
tools/bpf/bpftool/gen.c
2127
err = btfgen_mark_type(info, btf_type->type, follow_pointers);
tools/bpf/bpftool/gen.c
2132
array = btf_array(btf_type);
tools/bpf/bpftool/gen.c
2143
err = btfgen_mark_type(info, btf_type->type, follow_pointers);
tools/bpf/bpftool/gen.c
2148
param = btf_params(btf_type);
tools/bpf/bpftool/gen.c
2149
for (i = 0; i < btf_vlen(btf_type); i++) {
tools/bpf/bpftool/gen.c
2158
p_err("unsupported kind: %s (%u)", btf_kind_str(btf_type), type_id);
tools/bpf/bpftool/gen.c
2168
const struct btf_type *btf_type;
tools/bpf/bpftool/gen.c
2175
btf_type = btf__type_by_id(btf, type_id);
tools/bpf/bpftool/gen.c
2183
while (btf_is_mod(btf_type) || btf_is_typedef(btf_type)) {
tools/bpf/bpftool/gen.c
2184
type_id = btf_type->type;
tools/bpf/bpftool/gen.c
2185
btf_type = btf__type_by_id(btf, type_id);
tools/bpf/bpftool/gen.c
2188
switch (btf_kind(btf_type)) {
tools/bpf/bpftool/gen.c
2192
btf_member = btf_members(btf_type) + idx;
tools/bpf/bpftool/gen.c
2199
btf_type = btf__type_by_id(btf, type_id);
tools/bpf/bpftool/gen.c
2205
array = btf_array(btf_type);
tools/bpf/bpftool/gen.c
2207
btf_type = btf__type_by_id(btf, type_id);
tools/bpf/bpftool/gen.c
2211
btf_kind_str(btf_type), btf_type->type);
tools/bpf/bpftool/gen.c
2229
const struct btf_type *btf_type;
tools/bpf/bpftool/gen.c
2231
struct btf_type *cloned_type;
tools/bpf/bpftool/gen.c
2237
btf_type = btf__type_by_id(btf, type_id);
tools/bpf/bpftool/gen.c
2239
cloned_type = (struct btf_type *)btf__type_by_id(info->marked_btf, type_id);
tools/bpf/bpftool/gen.c
2242
switch (btf_kind(btf_type)) {
tools/bpf/bpftool/gen.c
2251
struct btf_member *m = btf_members(btf_type);
tools/bpf/bpftool/gen.c
2252
__u16 vlen = btf_vlen(btf_type);
tools/bpf/bpftool/gen.c
2273
return btfgen_mark_type_match(info, btf_type->type, behind_ptr);
tools/bpf/bpftool/gen.c
2275
return btfgen_mark_type_match(info, btf_type->type, true);
tools/bpf/bpftool/gen.c
2279
array = btf_array(btf_type);
tools/bpf/bpftool/gen.c
2289
__u16 vlen = btf_vlen(btf_type);
tools/bpf/bpftool/gen.c
2293
err = btfgen_mark_type_match(info, btf_type->type, false);
tools/bpf/bpftool/gen.c
2298
param = btf_params(btf_type);
tools/bpf/bpftool/gen.c
2309
p_err("unsupported kind: %s (%u)", btf_kind_str(btf_type), type_id);
tools/bpf/bpftool/gen.c
235
static const struct btf_type *find_type_for_map(struct btf *btf, const char *map_ident)
tools/bpf/bpftool/gen.c
2364
const struct btf_type *local_type;
tools/bpf/bpftool/gen.c
241
const struct btf_type *t = btf__type_by_id(btf, i);
tools/bpf/bpftool/gen.c
2512
const struct btf_type *cloned_type, *type;
tools/bpf/bpftool/gen.c
2568
struct btf_type *btf_type = (struct btf_type *) btf__type_by_id(btf_new, i);
tools/bpf/bpftool/gen.c
2572
err = btf_field_iter_init(&it, btf_type, BTF_FIELD_ITER_IDS);
tools/bpf/bpftool/gen.c
280
const struct btf_type *sec;
tools/bpf/bpftool/gen.c
319
const struct btf_type *v)
tools/bpf/bpftool/gen.c
329
const struct btf_type *sec, *var;
tools/bpf/bpftool/gen.c
503
const struct btf_type *sec;
tools/bpf/bpftool/gen.c
533
const struct btf_type *var = btf__type_by_id(btf, sec_var->type);
tools/bpf/bpftool/gen.c
58
static const struct btf_type *
tools/bpf/bpftool/gen.c
61
const struct btf_type *t;
tools/bpf/bpftool/prog.c
2295
const struct btf_type *t;
tools/bpf/bpftool/prog.c
307
const struct btf_type *t_datasec, *t_var;
tools/bpf/bpftool/struct_ops.c
19
static const struct btf_type *map_info_type;
tools/bpf/bpftool/struct_ops.c
360
const struct btf_type *struct_ops_type;
tools/bpf/bpftool/struct_ops.c
44
const struct btf_type *t;
tools/bpf/resolve_btfids/main.c
1069
const struct btf_type *t;
tools/bpf/resolve_btfids/main.c
1120
struct btf_type *t;
tools/bpf/resolve_btfids/main.c
1122
t = (struct btf_type *)btf__type_by_id(btf, kfunc->btf_id);
tools/bpf/resolve_btfids/main.c
1131
t = (struct btf_type *)btf__type_by_id(btf, proto_id);
tools/bpf/resolve_btfids/main.c
1157
t = (struct btf_type *)btf__type_by_id(btf, ctx->decl_tags[i]);
tools/bpf/resolve_btfids/main.c
1180
t = (struct btf_type *)btf__type_by_id(btf, proto_id);
tools/bpf/resolve_btfids/main.c
1188
t = (struct btf_type *)btf__type_by_id(btf, proto_id);
tools/bpf/resolve_btfids/main.c
1201
t = (struct btf_type *)btf__type_by_id(btf, proto_id);
tools/bpf/resolve_btfids/main.c
1205
t = (struct btf_type *)btf__type_by_id(btf, kfunc->btf_id);
tools/bpf/resolve_btfids/main.c
1248
const struct btf_type *ta = btf__type_by_id(btf, *(__u32 *)a);
tools/bpf/resolve_btfids/main.c
1249
const struct btf_type *tb = btf__type_by_id(btf, *(__u32 *)b);
tools/bpf/resolve_btfids/main.c
634
const struct btf_type *type;
tools/bpf/resolve_btfids/main.c
881
static const struct btf_type *btf_type_skip_qualifiers(const struct btf *btf, s32 type_id)
tools/bpf/resolve_btfids/main.c
883
const struct btf_type *t = btf__type_by_id(btf, type_id);
tools/bpf/resolve_btfids/main.c
933
const struct btf_type *t;
tools/bpf/resolve_btfids/main.c
996
const struct btf_type *t;
tools/lib/bpf/btf.c
1605
struct btf_type *t;
tools/lib/bpf/btf.c
1903
static void btf_type_inc_vlen(struct btf_type *t)
tools/lib/bpf/btf.c
1959
static int btf_add_type(struct btf_pipe *p, const struct btf_type *src_type)
tools/lib/bpf/btf.c
1962
struct btf_type *t;
tools/lib/bpf/btf.c
1993
int btf__add_type(struct btf *btf, const struct btf *src_btf, const struct btf_type *src_type)
tools/lib/bpf/btf.c
2133
struct btf_type *t;
tools/lib/bpf/btf.c
2149
sz = sizeof(struct btf_type) + sizeof(int);
tools/lib/bpf/btf.c
2181
struct btf_type *t;
tools/lib/bpf/btf.c
2196
sz = sizeof(struct btf_type);
tools/lib/bpf/btf.c
2226
struct btf_type *t;
tools/lib/bpf/btf.c
2235
sz = sizeof(struct btf_type);
tools/lib/bpf/btf.c
2276
struct btf_type *t;
tools/lib/bpf/btf.c
2286
sz = sizeof(struct btf_type) + sizeof(struct btf_array);
tools/lib/bpf/btf.c
2306
struct btf_type *t;
tools/lib/bpf/btf.c
2312
sz = sizeof(struct btf_type);
tools/lib/bpf/btf.c
2368
static struct btf_type *btf_last_type(struct btf *btf)
tools/lib/bpf/btf.c
2386
struct btf_type *t;
tools/lib/bpf/btf.c
2441
struct btf_type *t;
tools/lib/bpf/btf.c
2451
sz = sizeof(struct btf_type);
tools/lib/bpf/btf.c
2502
struct btf_type *t;
tools/lib/bpf/btf.c
2580
struct btf_type *t;
tools/lib/bpf/btf.c
2637
struct btf_type *t;
tools/lib/bpf/btf.c
2763
struct btf_type *t = btf_type_by_id(btf, id);
tools/lib/bpf/btf.c
2784
struct btf_type *t;
tools/lib/bpf/btf.c
2793
sz = sizeof(struct btf_type);
tools/lib/bpf/btf.c
2818
struct btf_type *t;
tools/lib/bpf/btf.c
2871
struct btf_type *t;
tools/lib/bpf/btf.c
2888
sz = sizeof(struct btf_type) + sizeof(struct btf_var);
tools/lib/bpf/btf.c
2921
struct btf_type *t;
tools/lib/bpf/btf.c
2931
sz = sizeof(struct btf_type);
tools/lib/bpf/btf.c
2960
struct btf_type *t;
tools/lib/bpf/btf.c
297
static int btf_type_size(const struct btf_type *t)
tools/lib/bpf/btf.c
299
const int base_size = sizeof(struct btf_type);
tools/lib/bpf/btf.c
2999
struct btf_type *t;
tools/lib/bpf/btf.c
30
static struct btf_type btf_void;
tools/lib/bpf/btf.c
3011
sz = sizeof(struct btf_type) + sizeof(struct btf_decl_tag);
tools/lib/bpf/btf.c
338
static void btf_bswap_type_base(struct btf_type *t)
tools/lib/bpf/btf.c
345
static int btf_bswap_type_rest(struct btf_type *t)
tools/lib/bpf/btf.c
3826
struct btf_type *t = btf_type_by_id(d->btf, i);
tools/lib/bpf/btf.c
3862
struct btf_type *t = btf_type_by_id(d->btf, d->btf->start_id + i);
tools/lib/bpf/btf.c
3974
static long btf_hash_typedef(struct btf_type *t)
tools/lib/bpf/btf.c
3983
static long btf_hash_common(struct btf_type *t)
tools/lib/bpf/btf.c
3993
static bool btf_equal_common(struct btf_type *t1, struct btf_type *t2)
tools/lib/bpf/btf.c
4001
static bool btf_equal_typedef(struct btf_type *t1, struct btf_type *t2)
tools/lib/bpf/btf.c
4008
static long btf_hash_int_decl_tag(struct btf_type *t)
tools/lib/bpf/btf.c
4019
static bool btf_equal_int_tag(struct btf_type *t1, struct btf_type *t2)
tools/lib/bpf/btf.c
4031
static long btf_hash_enum(struct btf_type *t)
tools/lib/bpf/btf.c
4040
static bool btf_equal_enum_members(struct btf_type *t1, struct btf_type *t2)
tools/lib/bpf/btf.c
4058
static bool btf_equal_enum64_members(struct btf_type *t1, struct btf_type *t2)
tools/lib/bpf/btf.c
4078
static bool btf_equal_enum(struct btf_type *t1, struct btf_type *t2)
tools/lib/bpf/btf.c
4090
static inline bool btf_is_enum_fwd(struct btf_type *t)
tools/lib/bpf/btf.c
4095
static bool btf_compat_enum(struct btf_type *t1, struct btf_type *t2)
tools/lib/bpf/btf.c
4114
static long btf_hash_struct(struct btf_type *t)
tools/lib/bpf/btf.c
4135
static bool btf_shallow_equal_struct(struct btf_type *t1, struct btf_type *t2)
tools/lib/bpf/btf.c
4161
static long btf_hash_array(struct btf_type *t)
tools/lib/bpf/btf.c
4179
static bool btf_equal_array(struct btf_type *t1, struct btf_type *t2)
tools/lib/bpf/btf.c
4198
static bool btf_compat_array(struct btf_type *t1, struct btf_type *t2)
tools/lib/bpf/btf.c
4211
static long btf_hash_fnproto(struct btf_type *t)
tools/lib/bpf/btf.c
4233
static bool btf_equal_fnproto(struct btf_type *t1, struct btf_type *t2)
tools/lib/bpf/btf.c
4259
static bool btf_compat_fnproto(struct btf_type *t1, struct btf_type *t2)
tools/lib/bpf/btf.c
4287
struct btf_type *t;
tools/lib/bpf/btf.c
429
while (next_type + sizeof(struct btf_type) <= end_type) {
tools/lib/bpf/btf.c
4353
struct btf_type *t = btf_type_by_id(d->btf, type_id);
tools/lib/bpf/btf.c
4355
struct btf_type *cand;
tools/lib/bpf/btf.c
4489
static inline __u16 btf_fwd_kind(struct btf_type *t)
tools/lib/bpf/btf.c
4496
struct btf_type *t1, *t2;
tools/lib/bpf/btf.c
4704
struct btf_type *cand_type;
tools/lib/bpf/btf.c
4705
struct btf_type *canon_type;
tools/lib/bpf/btf.c
475
const struct btf_type *t;
tools/lib/bpf/btf.c
486
static int btf_validate_type(const struct btf *btf, const struct btf_type *t, __u32 id)
tools/lib/bpf/btf.c
4952
static inline long btf_hash_by_kind(struct btf_type *t, __u16 kind)
tools/lib/bpf/btf.c
4960
static inline bool btf_equal_by_kind(struct btf_type *t1, struct btf_type *t2, __u16 kind)
tools/lib/bpf/btf.c
4993
struct btf_type *cand_type, *t;
tools/lib/bpf/btf.c
5091
struct btf_type *t, *cand;
tools/lib/bpf/btf.c
5235
struct btf_type *t;
tools/lib/bpf/btf.c
5268
struct btf_type *t = btf_type_by_id(d->btf, type_id);
tools/lib/bpf/btf.c
5271
struct btf_type *cand_t;
tools/lib/bpf/btf.c
5370
const struct btf_type *t;
tools/lib/bpf/btf.c
5449
struct btf_type *t = btf_type_by_id(d->btf, d->btf->start_id + i);
tools/lib/bpf/btf.c
558
const struct btf_type *ft;
tools/lib/bpf/btf.c
5641
struct btf_type *split_t = btf_type_by_id(dist->pipe.src, i);
tools/lib/bpf/btf.c
5650
struct btf_type *base_t;
tools/lib/bpf/btf.c
5708
struct btf_type *t;
tools/lib/bpf/btf.c
5801
struct btf_type *t = btf_type_by_id(dist->pipe.dst, i);
tools/lib/bpf/btf.c
5841
struct btf_type *t;
tools/lib/bpf/btf.c
6043
const struct btf_type *t;
tools/lib/bpf/btf.c
606
const struct btf_type *t;
tools/lib/bpf/btf.c
630
struct btf_type *btf_type_by_id(const struct btf *btf, __u32 type_id)
tools/lib/bpf/btf.c
639
const struct btf_type *btf__type_by_id(const struct btf *btf, __u32 type_id)
tools/lib/bpf/btf.c
661
const struct btf_type *t;
tools/lib/bpf/btf.c
760
static bool btf_type_is_void(const struct btf_type *t)
tools/lib/bpf/btf.c
765
static bool btf_type_is_void_or_null(const struct btf_type *t)
tools/lib/bpf/btf.c
775
const struct btf_type *t;
tools/lib/bpf/btf.c
829
const struct btf_type *t = btf__type_by_id(btf, id);
tools/lib/bpf/btf.c
884
const struct btf_type *t;
tools/lib/bpf/btf.c
908
struct btf_type *ta = btf_type_by_id(btf, i - 1);
tools/lib/bpf/btf.c
909
struct btf_type *tb = btf_type_by_id(btf, i);
tools/lib/bpf/btf.c
929
const struct btf_type *t;
tools/lib/bpf/btf.c
955
const struct btf_type *t;
tools/lib/bpf/btf.h
157
LIBBPF_API const struct btf_type *btf__type_by_id(const struct btf *btf,
tools/lib/bpf/btf.h
182
const struct btf_type *src_type);
tools/lib/bpf/btf.h
26
struct btf_type;
tools/lib/bpf/btf.h
413
static inline __u16 btf_kind(const struct btf_type *t)
tools/lib/bpf/btf.h
418
static inline __u16 btf_vlen(const struct btf_type *t)
tools/lib/bpf/btf.h
423
static inline bool btf_kflag(const struct btf_type *t)
tools/lib/bpf/btf.h
428
static inline bool btf_is_void(const struct btf_type *t)
tools/lib/bpf/btf.h
433
static inline bool btf_is_int(const struct btf_type *t)
tools/lib/bpf/btf.h
438
static inline bool btf_is_ptr(const struct btf_type *t)
tools/lib/bpf/btf.h
443
static inline bool btf_is_array(const struct btf_type *t)
tools/lib/bpf/btf.h
448
static inline bool btf_is_struct(const struct btf_type *t)
tools/lib/bpf/btf.h
453
static inline bool btf_is_union(const struct btf_type *t)
tools/lib/bpf/btf.h
458
static inline bool btf_is_composite(const struct btf_type *t)
tools/lib/bpf/btf.h
465
static inline bool btf_is_enum(const struct btf_type *t)
tools/lib/bpf/btf.h
470
static inline bool btf_is_enum64(const struct btf_type *t)
tools/lib/bpf/btf.h
475
static inline bool btf_is_fwd(const struct btf_type *t)
tools/lib/bpf/btf.h
480
static inline bool btf_is_typedef(const struct btf_type *t)
tools/lib/bpf/btf.h
485
static inline bool btf_is_volatile(const struct btf_type *t)
tools/lib/bpf/btf.h
490
static inline bool btf_is_const(const struct btf_type *t)
tools/lib/bpf/btf.h
495
static inline bool btf_is_restrict(const struct btf_type *t)
tools/lib/bpf/btf.h
500
static inline bool btf_is_mod(const struct btf_type *t)
tools/lib/bpf/btf.h
510
static inline bool btf_is_func(const struct btf_type *t)
tools/lib/bpf/btf.h
515
static inline bool btf_is_func_proto(const struct btf_type *t)
tools/lib/bpf/btf.h
520
static inline bool btf_is_var(const struct btf_type *t)
tools/lib/bpf/btf.h
525
static inline bool btf_is_datasec(const struct btf_type *t)
tools/lib/bpf/btf.h
530
static inline bool btf_is_float(const struct btf_type *t)
tools/lib/bpf/btf.h
535
static inline bool btf_is_decl_tag(const struct btf_type *t)
tools/lib/bpf/btf.h
540
static inline bool btf_is_type_tag(const struct btf_type *t)
tools/lib/bpf/btf.h
545
static inline bool btf_is_any_enum(const struct btf_type *t)
tools/lib/bpf/btf.h
550
static inline bool btf_kind_core_compat(const struct btf_type *t1,
tools/lib/bpf/btf.h
551
const struct btf_type *t2)
tools/lib/bpf/btf.h
557
static inline __u8 btf_int_encoding(const struct btf_type *t)
tools/lib/bpf/btf.h
562
static inline __u8 btf_int_offset(const struct btf_type *t)
tools/lib/bpf/btf.h
567
static inline __u8 btf_int_bits(const struct btf_type *t)
tools/lib/bpf/btf.h
572
static inline struct btf_array *btf_array(const struct btf_type *t)
tools/lib/bpf/btf.h
577
static inline struct btf_enum *btf_enum(const struct btf_type *t)
tools/lib/bpf/btf.h
584
static inline struct btf_enum64 *btf_enum64(const struct btf_type *t)
tools/lib/bpf/btf.h
615
static inline struct btf_member *btf_members(const struct btf_type *t)
tools/lib/bpf/btf.h
621
static inline __u32 btf_member_bit_offset(const struct btf_type *t,
tools/lib/bpf/btf.h
633
static inline __u32 btf_member_bitfield_size(const struct btf_type *t,
tools/lib/bpf/btf.h
642
static inline struct btf_param *btf_params(const struct btf_type *t)
tools/lib/bpf/btf.h
647
static inline struct btf_var *btf_var(const struct btf_type *t)
tools/lib/bpf/btf.h
653
btf_var_secinfos(const struct btf_type *t)
tools/lib/bpf/btf.h
659
static inline struct btf_decl_tag *btf_decl_tag(const struct btf_type *t)
tools/lib/bpf/btf_dump.c
1045
const struct btf_type *t)
tools/lib/bpf/btf_dump.c
1060
const struct btf_type *t)
tools/lib/bpf/btf_dump.c
1066
const struct btf_type *t,
tools/lib/bpf/btf_dump.c
1091
const struct btf_type *t,
tools/lib/bpf/btf_dump.c
1122
const struct btf_type *t,
tools/lib/bpf/btf_dump.c
1180
const struct btf_type *t)
tools/lib/bpf/btf_dump.c
1191
const struct btf_type *t, int lvl)
tools/lib/bpf/btf_dump.c
1295
const struct btf_type *t;
tools/lib/bpf/btf_dump.c
1374
const struct btf_type *t;
tools/lib/bpf/btf_dump.c
1400
const struct btf_type *t;
tools/lib/bpf/btf_dump.c
1434
const struct btf_type *t;
tools/lib/bpf/btf_dump.c
1507
const struct btf_type *next_t;
tools/lib/bpf/btf_dump.c
1611
const struct btf_type *t;
tools/lib/bpf/btf_dump.c
1668
const struct btf_type *t = btf__type_by_id(d->btf, id);
tools/lib/bpf/btf_dump.c
1709
const struct btf_type *t,
tools/lib/bpf/btf_dump.c
1748
const struct btf_type *t,
tools/lib/bpf/btf_dump.c
1756
const struct btf_type *t,
tools/lib/bpf/btf_dump.c
1806
const struct btf_type *t,
tools/lib/bpf/btf_dump.c
1823
const struct btf_type *t,
tools/lib/bpf/btf_dump.c
1842
const struct btf_type *t,
tools/lib/bpf/btf_dump.c
1879
const struct btf_type *t,
tools/lib/bpf/btf_dump.c
1978
const struct btf_type *t,
tools/lib/bpf/btf_dump.c
2010
const struct btf_type *v,
tools/lib/bpf/btf_dump.c
2015
const struct btf_type *t;
tools/lib/bpf/btf_dump.c
2044
const struct btf_type *t,
tools/lib/bpf/btf_dump.c
2090
const struct btf_type *t,
tools/lib/bpf/btf_dump.c
2095
const struct btf_type *elem_type;
tools/lib/bpf/btf_dump.c
2157
const struct btf_type *t,
tools/lib/bpf/btf_dump.c
2176
const struct btf_type *mtype;
tools/lib/bpf/btf_dump.c
2203
const struct btf_type *t,
tools/lib/bpf/btf_dump.c
2222
const struct btf_type *t,
tools/lib/bpf/btf_dump.c
2260
const struct btf_type *t,
tools/lib/bpf/btf_dump.c
2301
const struct btf_type *t,
tools/lib/bpf/btf_dump.c
2306
const struct btf_type *var;
tools/lib/bpf/btf_dump.c
2324
const struct btf_type *t,
tools/lib/bpf/btf_dump.c
2383
const struct btf_type *t,
tools/lib/bpf/btf_dump.c
2420
const struct btf_type *elem_type;
tools/lib/bpf/btf_dump.c
2458
const struct btf_type *mtype;
tools/lib/bpf/btf_dump.c
2492
const struct btf_type *t,
tools/lib/bpf/btf_dump.c
2586
const struct btf_type *t;
tools/lib/bpf/btf_dump.c
318
const struct btf_type *t;
tools/lib/bpf/btf_dump.c
487
const struct btf_type *t;
tools/lib/bpf/btf_dump.c
621
const struct btf_type *t);
tools/lib/bpf/btf_dump.c
624
const struct btf_type *t);
tools/lib/bpf/btf_dump.c
626
const struct btf_type *t, int lvl);
tools/lib/bpf/btf_dump.c
629
const struct btf_type *t);
tools/lib/bpf/btf_dump.c
631
const struct btf_type *t, int lvl);
tools/lib/bpf/btf_dump.c
634
const struct btf_type *t);
tools/lib/bpf/btf_dump.c
637
const struct btf_type *t, int lvl);
tools/lib/bpf/btf_dump.c
658
const struct btf_type *t = btf__type_by_id(d->btf, id);
tools/lib/bpf/btf_dump.c
693
const struct btf_type *t;
tools/lib/bpf/btf_dump.c
838
const struct btf_type *t)
tools/lib/bpf/btf_dump.c
959
const struct btf_type *t)
tools/lib/bpf/btf_dump.c
969
const struct btf_type *t,
tools/lib/bpf/btf_iter.c
103
1, {offsetof(struct btf_type, name_off)},
tools/lib/bpf/btf_iter.c
110
1, {offsetof(struct btf_type, name_off)},
tools/lib/bpf/btf_iter.c
118
1, {offsetof(struct btf_type, name_off)},
tools/lib/bpf/btf_iter.c
125
1, {offsetof(struct btf_type, name_off)},
tools/lib/bpf/btf_iter.c
155
it->p += sizeof(struct btf_type);
tools/lib/bpf/btf_iter.c
16
int btf_field_iter_init(struct btf_field_iter *it, struct btf_type *t,
tools/lib/bpf/btf_iter.c
44
it->desc = (struct btf_field_desc) { 1, {offsetof(struct btf_type, type)} };
tools/lib/bpf/btf_iter.c
48
2, {sizeof(struct btf_type) + offsetof(struct btf_array, type),
tools/lib/bpf/btf_iter.c
49
sizeof(struct btf_type) + offsetof(struct btf_array, index_type)}
tools/lib/bpf/btf_iter.c
62
1, {offsetof(struct btf_type, type)},
tools/lib/bpf/btf_iter.c
98
1, {offsetof(struct btf_type, name_off)}
tools/lib/bpf/btf_relocate.c
134
struct btf_type *t = btf_type_by_id(r->btf, i);
tools/lib/bpf/btf_relocate.c
16
#define btf_type_by_id (struct btf_type *)btf_type_by_id
tools/lib/bpf/btf_relocate.c
187
struct btf_type *base_t, *dist_t;
tools/lib/bpf/btf_relocate.c
388
struct btf_type *t = btf_type_by_id(r->dist_base_btf, i);
tools/lib/bpf/btf_relocate.c
414
struct btf_type *t = btf_type_by_id(r->btf, i);
tools/lib/bpf/btf_relocate.c
68
struct btf_type *t = btf_type_by_id(r->btf, i);
tools/lib/bpf/libbpf.c
1001
find_member_by_offset(const struct btf_type *t, __u32 bit_offset)
tools/lib/bpf/libbpf.c
1015
find_member_by_name(const struct btf *btf, const struct btf_type *t,
tools/lib/bpf/libbpf.c
10196
const struct btf_type *type;
tools/lib/bpf/libbpf.c
1040
const struct btf_type **type, __u32 *type_id,
tools/lib/bpf/libbpf.c
1041
const struct btf_type **vtype, __u32 *vtype_id,
tools/lib/bpf/libbpf.c
1044
const struct btf_type *kern_type, *kern_vtype;
tools/lib/bpf/libbpf.c
10646
struct btf_type *datasec_type, *var_type;
tools/lib/bpf/libbpf.c
10648
const struct btf_type *array_type;
tools/lib/bpf/libbpf.c
1139
const struct btf_type *type;
tools/lib/bpf/libbpf.c
1168
const struct btf_type *type, *kern_type, *kern_vtype;
tools/lib/bpf/libbpf.c
1208
const struct btf_type *mtype, *kern_mtype;
tools/lib/bpf/libbpf.c
1390
const struct btf_type *type, *datasec;
tools/lib/bpf/libbpf.c
14385
const struct btf_type *map_type, *var_type;
tools/lib/bpf/libbpf.c
1932
const struct btf_type *t, *vt;
tools/lib/bpf/libbpf.c
2398
const struct btf_type *
tools/lib/bpf/libbpf.c
2401
const struct btf_type *t = btf__type_by_id(btf, id);
tools/lib/bpf/libbpf.c
2415
static const struct btf_type *
tools/lib/bpf/libbpf.c
2418
const struct btf_type *t;
tools/lib/bpf/libbpf.c
2456
const char *btf_kind_str(const struct btf_type *t)
tools/lib/bpf/libbpf.c
2471
const struct btf_type *t = skip_mods_and_typedefs(btf, m->type, NULL);
tools/lib/bpf/libbpf.c
2474
const struct btf_type *arr_t;
tools/lib/bpf/libbpf.c
2501
const struct btf_type *t = skip_mods_and_typedefs(btf, m->type, NULL);
tools/lib/bpf/libbpf.c
2574
const struct btf_type *def_t, bool strict,
tools/lib/bpf/libbpf.c
2577
const struct btf_type *t;
tools/lib/bpf/libbpf.c
2890
const struct btf_type *sec,
tools/lib/bpf/libbpf.c
2896
const struct btf_type *var, *def;
tools/lib/bpf/libbpf.c
3021
const struct btf_type *sec = NULL;
tools/lib/bpf/libbpf.c
3023
const struct btf_type *t;
tools/lib/bpf/libbpf.c
3157
struct btf_type *t;
tools/lib/bpf/libbpf.c
3161
t = (struct btf_type *)btf__type_by_id(btf, i);
tools/lib/bpf/libbpf.c
3177
struct btf_type *vt;
tools/lib/bpf/libbpf.c
3239
t = (struct btf_type *)btf__type_by_id(btf, i);
tools/lib/bpf/libbpf.c
3356
struct btf_type *t)
tools/lib/bpf/libbpf.c
3399
const struct btf_type *t_var;
tools/lib/bpf/libbpf.c
3457
struct btf_type *t = btf_type_by_id(obj->btf, i);
tools/lib/bpf/libbpf.c
3579
struct btf_type *t;
tools/lib/bpf/libbpf.c
4070
const struct btf_type *t;
tools/lib/bpf/libbpf.c
4103
const struct btf_type *t;
tools/lib/bpf/libbpf.c
4129
const struct btf_type *t;
tools/lib/bpf/libbpf.c
4195
const struct btf_type *t;
tools/lib/bpf/libbpf.c
4213
const struct btf_type *sec;
tools/lib/bpf/libbpf.c
4226
const struct btf_type *vt;
tools/lib/bpf/libbpf.c
4250
struct btf_type *sec, *kcfg_sec = NULL, *ksym_sec = NULL;
tools/lib/bpf/libbpf.c
4251
const struct btf_type *t;
tools/lib/bpf/libbpf.c
4382
const struct btf_type *dummy_var;
tools/lib/bpf/libbpf.c
4397
struct btf_type *vt;
tools/lib/bpf/libbpf.c
4408
const struct btf_type *func_proto;
tools/lib/bpf/libbpf.c
5707
const struct btf_type *t, *local_t;
tools/lib/bpf/libbpf.c
5853
const struct btf_type *local_t;
tools/lib/bpf/libbpf.c
5993
const struct btf_type *local_type;
tools/lib/bpf/libbpf.c
6983
struct btf_type *t;
tools/lib/bpf/libbpf.c
7097
const struct btf_type *t;
tools/lib/bpf/libbpf.c
7168
struct btf_type *fn_t, *fn_proto_t, *t;
tools/lib/bpf/libbpf.c
7237
struct btf_type *fn_t, *fn_proto_t;
tools/lib/bpf/libbpf.c
7239
const struct btf_type *t;
tools/lib/bpf/libbpf.c
7497
const struct btf_type *sec, *var, *def;
tools/lib/bpf/libbpf.c
8501
const struct btf_type *t;
tools/lib/bpf/libbpf.c
8572
const struct btf_type *targ_var, *targ_type;
tools/lib/bpf/libbpf.c
8599
const struct btf_type *local_type;
tools/lib/bpf/libbpf.c
8627
const struct btf_type *kern_func;
tools/lib/bpf/libbpf.c
8696
const struct btf_type *t;
tools/lib/bpf/libbpf.c
8834
const struct btf_type *type;
tools/lib/bpf/libbpf_internal.h
245
struct btf_type;
tools/lib/bpf/libbpf_internal.h
247
struct btf_type *btf_type_by_id(const struct btf *btf, __u32 type_id);
tools/lib/bpf/libbpf_internal.h
248
const char *btf_kind_str(const struct btf_type *t);
tools/lib/bpf/libbpf_internal.h
249
const struct btf_type *skip_mods_and_typedefs(const struct btf *btf, __u32 id, __u32 *res_id);
tools/lib/bpf/libbpf_internal.h
254
static inline enum btf_func_linkage btf_func_linkage(const struct btf_type *t)
tools/lib/bpf/libbpf_internal.h
295
const struct btf_type *def_t, bool strict,
tools/lib/bpf/libbpf_internal.h
580
int btf_field_iter_init(struct btf_field_iter *it, struct btf_type *t, enum btf_field_iter_kind iter_kind);
tools/lib/bpf/linker.c
1088
struct btf_type *t;
tools/lib/bpf/linker.c
1486
const struct btf_type *t1, *t2;
tools/lib/bpf/linker.c
1770
const struct btf_type *t;
tools/lib/bpf/linker.c
1808
const struct btf_type *src_t;
tools/lib/bpf/linker.c
1836
static bool btf_is_non_static(const struct btf_type *t)
tools/lib/bpf/linker.c
1846
const struct btf_type *t;
tools/lib/bpf/linker.c
1929
struct btf_type *dst_t = btf_type_by_id(dst_btf, dst_id);
tools/lib/bpf/linker.c
1930
struct btf_type *src_t = btf_type_by_id(src_btf, src_id);
tools/lib/bpf/linker.c
2043
const struct btf_type *t;
tools/lib/bpf/linker.c
2329
struct btf_type *t;
tools/lib/bpf/linker.c
2383
const struct btf_type *vt = btf__type_by_id(obj->btf, vi->type);
tools/lib/bpf/linker.c
2414
const struct btf_type *t;
tools/lib/bpf/linker.c
2485
struct btf_type *dst_t = btf_type_by_id(linker->btf, i);
tools/lib/bpf/linker.c
2512
struct btf_type *glob_t;
tools/lib/bpf/relo_core.c
11
static const char *btf_kind_str(const struct btf_type *t)
tools/lib/bpf/relo_core.c
1173
const struct btf_type *t;
tools/lib/bpf/relo_core.c
1307
const struct btf_type *local_type;
tools/lib/bpf/relo_core.c
1455
static int bpf_core_enums_match(const struct btf *local_btf, const struct btf_type *local_t,
tools/lib/bpf/relo_core.c
1456
const struct btf *targ_btf, const struct btf_type *targ_t)
tools/lib/bpf/relo_core.c
148
const struct btf_type *local_type, *targ_type;
tools/lib/bpf/relo_core.c
1494
static int bpf_core_composites_match(const struct btf *local_btf, const struct btf_type *local_t,
tools/lib/bpf/relo_core.c
1495
const struct btf *targ_btf, const struct btf_type *targ_t,
tools/lib/bpf/relo_core.c
1562
const struct btf_type *local_t, *targ_t;
tools/lib/bpf/relo_core.c
21
static const struct btf_type *
tools/lib/bpf/relo_core.c
268
const struct btf_type *t;
tools/lib/bpf/relo_core.c
34
const struct btf_type *t;
tools/lib/bpf/relo_core.c
416
const struct btf_type *local_type, *targ_type;
tools/lib/bpf/relo_core.c
487
const struct btf_type *local_type, *targ_type;
tools/lib/bpf/relo_core.c
560
const struct btf_type *targ_type;
tools/lib/bpf/relo_core.c
684
const struct btf_type *t;
tools/lib/bpf/relo_core.c
687
const struct btf_type *mt;
tools/lib/bpf/relo_core.c
74
const struct btf_type *t;
tools/lib/bpf/relo_core.c
866
const struct btf_type *t;
tools/lib/bpf/relo_core.c
926
const struct btf_type *orig_t, *new_t;
tools/perf/builtin-trace.c
1015
static size_t btf_enum_scnprintf(const struct btf_type *type, struct btf *btf, char *bf, size_t size, int val)
tools/perf/builtin-trace.c
1042
static size_t btf_struct_scnprintf(const struct btf_type *type, struct btf *btf, char *bf, size_t size, struct syscall_arg *arg)
tools/perf/builtin-trace.c
123
const struct btf_type *type;
tools/perf/builtin-trace.c
3810
const struct btf_type *bt;
tools/perf/builtin-trace.c
969
const struct btf_type *bt = arg->fmt->type;
tools/perf/builtin-trace.c
988
const struct btf_type *bt;
tools/perf/tests/sigtrap.c
96
const struct btf_type *type;
tools/perf/util/bpf-event.c
140
const struct btf_type *t;
tools/perf/util/bpf-event.c
177
const struct btf_type *datasec;
tools/perf/util/bpf-event.c
190
const struct btf_type *datasec;
tools/perf/util/bpf-event.c
228
const struct btf_type *t_var = btf__type_by_id(btf, vsi->type);
tools/perf/util/bpf-event.c
280
const struct btf_type *t, const void *btf_data)
tools/perf/util/bpf-event.c
313
const struct btf_type *t_var = btf__type_by_id(map->btf,
tools/perf/util/bpf_counter.c
125
const struct btf_type *t;
tools/perf/util/bpf_off_cpu.c
117
const struct btf_type *t1, *t2, *t3;
tools/perf/util/btf.c
15
const struct btf_type *t = btf__type_by_id(btf, type_id);
tools/sched_ext/include/scx/compat.h
27
const struct btf_type *t;
tools/sched_ext/include/scx/compat.h
83
const struct btf_type *t;
tools/testing/selftests/bpf/btf_helpers.c
67
static const char *btf_func_linkage_str(const struct btf_type *t)
tools/testing/selftests/bpf/btf_helpers.c
90
const struct btf_type *t;
tools/testing/selftests/bpf/prog_tests/btf.c
4959
const struct btf_type *t;
tools/testing/selftests/bpf/prog_tests/btf.c
8092
static int btf_type_size(const struct btf_type *t)
tools/testing/selftests/bpf/prog_tests/btf.c
8094
int base_size = sizeof(struct btf_type);
tools/testing/selftests/bpf/prog_tests/btf.c
8264
const struct btf_type *test_type, *expect_type;
tools/testing/selftests/bpf/prog_tests/btf_dedup_split.c
489
const struct btf_type *t;
tools/testing/selftests/bpf/prog_tests/btf_dedup_split.c
8
const struct btf_type *t;
tools/testing/selftests/bpf/prog_tests/btf_endian.c
20
const struct btf_type *t;
tools/testing/selftests/bpf/prog_tests/btf_field_iter.c
129
struct btf_type *t = btf_type_by_id(btf, id);
tools/testing/selftests/bpf/prog_tests/btf_split.c
51
const struct btf_type *t, *ot;
tools/testing/selftests/bpf/prog_tests/btf_write.c
10
const struct btf_type *t;
tools/testing/selftests/bpf/prog_tests/core_reloc.c
430
const struct btf_type *t;
tools/testing/selftests/bpf/prog_tests/ctx_rewrite.c
254
const struct btf_type *type = btf__type_by_id(btf, btf_id);
tools/testing/selftests/bpf/prog_tests/libbpf_probes.c
10
const struct btf_type *t;
tools/testing/selftests/bpf/prog_tests/libbpf_probes.c
50
const struct btf_type *t;
tools/testing/selftests/bpf/prog_tests/libbpf_str.c
114
const struct btf_type *t;
tools/testing/selftests/bpf/prog_tests/libbpf_str.c
171
const struct btf_type *t;
tools/testing/selftests/bpf/prog_tests/libbpf_str.c
24
const struct btf_type *t;
tools/testing/selftests/bpf/prog_tests/libbpf_str.c
69
const struct btf_type *t;
tools/testing/selftests/bpf/prog_tests/resolve_btfids.c
68
const struct btf_type *type;
tools/testing/selftests/bpf/prog_tests/test_global_funcs.c
28
const struct btf_type *t;
tools/testing/selftests/bpf/prog_tests/test_global_funcs.c
93
const struct btf_type *fn_t, *proto_t;
tools/testing/selftests/bpf/prog_tests/verifier_log.c
273
struct btf_type *t;
tools/testing/selftests/bpf/test_kmods/bpf_test_no_cfi.c
18
static int dummy_init_member(const struct btf_type *t,
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1287
static int bpf_testmod_ops_init_member(const struct btf_type *t,
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1444
static int st_ops3_check_member(const struct btf_type *t,
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1685
static int st_ops_init_member(const struct btf_type *t,
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1714
static int multi_st_ops_init_member(const struct btf_type *t,
tools/testing/selftests/bpf/test_loader.c
443
const struct btf_type *t;
tools/testing/selftests/bpf/test_progs.c
1230
const struct btf_type *t;
tools/testing/selftests/bpf/veristat.c
1214
const struct btf_type *t, *mt;
tools/testing/selftests/bpf/veristat.c
1274
const struct btf_type *t;
tools/testing/selftests/bpf/veristat.c
1830
static bool is_signed_type(const struct btf_type *t)
tools/testing/selftests/bpf/veristat.c
1839
static int enum_value_from_name(const struct btf *btf, const struct btf_type *t,
tools/testing/selftests/bpf/veristat.c
1871
static bool is_preset_supported(const struct btf_type *t)
tools/testing/selftests/bpf/veristat.c
1878
const struct btf_type *t;
tools/testing/selftests/bpf/veristat.c
1922
const struct btf_type *t;
tools/testing/selftests/bpf/veristat.c
1950
const struct btf_type *parent_type,
tools/testing/selftests/bpf/veristat.c
1964
const struct btf_type *member_type;
tools/testing/selftests/bpf/veristat.c
2001
static int adjust_var_secinfo(struct btf *btf, const struct btf_type *t,
tools/testing/selftests/bpf/veristat.c
2004
const struct btf_type *base_type;
tools/testing/selftests/bpf/veristat.c
2046
const struct btf_type *base_type;
tools/testing/selftests/bpf/veristat.c
2111
const struct btf_type *t;
tools/testing/selftests/bpf/veristat.c
2138
const struct btf_type *var_type = btf__type_by_id(btf, sinfo->type);