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
1706
const struct btf_type *attach_func_proto;
include/linux/bpf.h
1992
int (*check_member)(const struct btf_type *t,
include/linux/bpf.h
1995
int (*init_member)(const struct btf_type *t,
include/linux/bpf.h
2024
const struct btf_type *type;
include/linux/bpf.h
2025
const struct btf_type *value_type;
include/linux/bpf.h
292
const struct btf_type *attach_func_proto;
include/linux/bpf.h
3016
const struct btf_type *func_proto,
include/linux/bpf.h
3023
struct btf *btf, const struct btf_type *t);
include/linux/bpf.h
3024
const char *btf_find_decl_tag_value(const struct btf *btf, const struct btf_type *pt,
include/linux/bpf.h
3026
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
177
const struct btf_type *key_type,
include/linux/bpf_local_storage.h
178
const struct btf_type *value_type);
include/linux/bpf_verifier.h
1327
const struct btf_type *func_proto;
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)
io_uring/bpf-ops.c
106
static const struct btf_type *
io_uring/bpf-ops.c
13
static const struct btf_type *loop_params_type;
io_uring/bpf-ops.c
136
static int bpf_io_check_member(const struct btf_type *t,
io_uring/bpf-ops.c
143
static int bpf_io_init_member(const struct btf_type *t,
io_uring/bpf-ops.c
90
const struct btf_type *t = btf_type_by_id(reg->btf, reg->btf_id);
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
720
const struct btf_type *key_type,
kernel/bpf/bpf_local_storage.c
721
const struct btf_type *value_type)
kernel/bpf/bpf_struct_ops.c
1030
static u32 count_func_ptrs(const struct btf *btf, const struct btf_type *t)
kernel/bpf/bpf_struct_ops.c
1048
const struct btf_type *t, *vt;
kernel/bpf/bpf_struct_ops.c
1140
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
1001
bool btf_type_is_i64(const struct btf_type *t)
kernel/bpf/btf.c
1006
bool btf_type_is_primitive(const struct btf_type *t)
kernel/bpf/btf.c
1016
bool btf_member_is_reg_int(const struct btf *btf, const struct btf_type *s,
kernel/bpf/btf.c
1020
const struct btf_type *t;
kernel/bpf/btf.c
1054
static const struct btf_type *btf_type_skip_qualifiers(const struct btf *btf,
kernel/bpf/btf.c
1057
const struct btf_type *t = btf_type_by_id(btf, id);
kernel/bpf/btf.c
1087
const struct btf_type *t;
kernel/bpf/btf.c
1364
const struct btf_type *t,
kernel/bpf/btf.c
1367
const struct btf_type *rt;
kernel/bpf/btf.c
1440
const struct btf_type *t,
kernel/bpf/btf.c
1458
const struct btf_type *t,
kernel/bpf/btf.c
1506
const struct btf_type *t,
kernel/bpf/btf.c
1524
const struct btf_type *t,
kernel/bpf/btf.c
1561
const struct btf_type *t,
kernel/bpf/btf.c
1611
const struct btf_type *struct_type,
kernel/bpf/btf.c
1664
const struct btf_type *datasec_type,
kernel/bpf/btf.c
1719
static int btf_add_type(struct btf_verifier_env *env, struct btf_type *t)
kernel/bpf/btf.c
1726
struct btf_type **new_types;
kernel/bpf/btf.c
1969
const struct btf_type *next_type)
kernel/bpf/btf.c
2004
const struct btf_type *t, u32 type_id)
kernel/bpf/btf.c
2077
static const struct btf_type *
kernel/bpf/btf.c
2078
__btf_resolve_size(const struct btf *btf, const struct btf_type *type,
kernel/bpf/btf.c
2079
u32 *type_size, const struct btf_type **elem_type,
kernel/bpf/btf.c
2082
const struct btf_type *array_type = NULL;
kernel/bpf/btf.c
2147
const struct btf_type *
kernel/bpf/btf.c
2148
btf_resolve_size(const struct btf *btf, const struct btf_type *type,
kernel/bpf/btf.c
2163
static const struct btf_type *btf_type_id_resolve(const struct btf *btf,
kernel/bpf/btf.c
2178
const struct btf_type *btf_type_id_size(const struct btf *btf,
kernel/bpf/btf.c
2181
const struct btf_type *size_type;
kernel/bpf/btf.c
2222
const struct btf_type *struct_type,
kernel/bpf/btf.c
2224
const struct btf_type *member_type)
kernel/bpf/btf.c
2232
const struct btf_type *struct_type,
kernel/bpf/btf.c
2234
const struct btf_type *member_type)
kernel/bpf/btf.c
2245
const struct btf_type *struct_type,
kernel/bpf/btf.c
2247
const struct btf_type *member_type)
kernel/bpf/btf.c
2270
static void btf_df_show(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
2278
const struct btf_type *struct_type,
kernel/bpf/btf.c
2280
const struct btf_type *member_type)
kernel/bpf/btf.c
2316
const struct btf_type *struct_type,
kernel/bpf/btf.c
2318
const struct btf_type *member_type)
kernel/bpf/btf.c
2372
const struct btf_type *t,
kernel/bpf/btf.c
2436
const struct btf_type *t)
kernel/bpf/btf.c
2539
const struct btf_type *t,
kernel/bpf/btf.c
2557
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
2637
const struct btf_type *struct_type,
kernel/bpf/btf.c
2639
const struct btf_type *member_type)
kernel/bpf/btf.c
2641
const struct btf_type *resolved_type;
kernel/bpf/btf.c
2662
const struct btf_type *struct_type,
kernel/bpf/btf.c
2664
const struct btf_type *member_type)
kernel/bpf/btf.c
2666
const struct btf_type *resolved_type;
kernel/bpf/btf.c
2687
const struct btf_type *struct_type,
kernel/bpf/btf.c
2689
const struct btf_type *member_type)
kernel/bpf/btf.c
2713
const struct btf_type *t,
kernel/bpf/btf.c
2763
const struct btf_type *t = v->t;
kernel/bpf/btf.c
2764
const struct btf_type *next_type;
kernel/bpf/btf.c
2805
const struct btf_type *next_type;
kernel/bpf/btf.c
2806
const struct btf_type *t = v->t;
kernel/bpf/btf.c
2821
const struct btf_type *resolved_type;
kernel/bpf/btf.c
2851
const struct btf_type *next_type;
kernel/bpf/btf.c
2852
const struct btf_type *t = v->t;
kernel/bpf/btf.c
2875
const struct btf_type *resolved_type;
kernel/bpf/btf.c
290
const struct btf_type *t;
kernel/bpf/btf.c
2906
const struct btf_type *t,
kernel/bpf/btf.c
2918
static void btf_var_show(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
2927
static void btf_ptr_show(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
2946
const struct btf_type *t)
kernel/bpf/btf.c
2970
const struct btf_type *t,
kernel/bpf/btf.c
2996
const struct btf_type *t)
kernel/bpf/btf.c
3011
const struct btf_type *struct_type,
kernel/bpf/btf.c
3013
const struct btf_type *member_type)
kernel/bpf/btf.c
3040
const struct btf_type *t,
kernel/bpf/btf.c
3096
const struct btf_type *elem_type, *index_type;
kernel/bpf/btf.c
3158
const struct btf_type *t)
kernel/bpf/btf.c
3166
static void __btf_array_show(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
3172
const struct btf_type *elem_type;
kernel/bpf/btf.c
3219
static void btf_array_show(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
3262
const struct btf_type *struct_type,
kernel/bpf/btf.c
3264
const struct btf_type *member_type)
kernel/bpf/btf.c
3287
const struct btf_type *t,
kernel/bpf/btf.c
3379
const struct btf_type *last_member_type;
kernel/bpf/btf.c
3405
const struct btf_type *member_type = btf_type_by_id(env->btf,
kernel/bpf/btf.c
3439
const struct btf_type *t)
kernel/bpf/btf.c
3463
static int btf_find_struct(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
3476
static int btf_find_kptr(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
350
const char *btf_type_str(const struct btf_type *t)
kernel/bpf/btf.c
3524
int btf_find_next_decl_tag(const struct btf *btf, const struct btf_type *pt,
kernel/bpf/btf.c
3531
const struct btf_type *t = btf_type_by_id(btf, i);
kernel/bpf/btf.c
3546
const char *btf_find_decl_tag_value(const struct btf *btf, const struct btf_type *pt,
kernel/bpf/btf.c
3550
const struct btf_type *t;
kernel/bpf/btf.c
3571
btf_find_graph_root(const struct btf *btf, const struct btf_type *pt,
kernel/bpf/btf.c
3572
const struct btf_type *t, int comp_idx, u32 off,
kernel/bpf/btf.c
3608
static int btf_get_field_type(const struct btf *btf, const struct btf_type *var_type,
kernel/bpf/btf.c
3706
const struct btf_type *t, u32 field_mask,
kernel/bpf/btf.c
3716
static int btf_find_nested_struct(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
3750
const struct btf_type *var,
kernel/bpf/btf.c
3751
const struct btf_type *var_type,
kernel/bpf/btf.c
3847
const struct btf_type *t, u32 field_mask,
kernel/bpf/btf.c
3856
const struct btf_type *member_type = btf_type_by_id(btf,
kernel/bpf/btf.c
3876
static int btf_find_datasec_var(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
3885
const struct btf_type *var = btf_type_by_id(btf, vsi->type);
kernel/bpf/btf.c
3886
const struct btf_type *var_type = btf_type_by_id(btf, var->type);
kernel/bpf/btf.c
3900
static int btf_find_field(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
3916
const struct btf_type *t;
kernel/bpf/btf.c
3949
const struct btf_type *dtor_func;
kernel/bpf/btf.c
4008
const struct btf_type *t, *n = NULL;
kernel/bpf/btf.c
4072
struct btf_record *btf_parse_fields(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
4221
const struct btf_type *t;
kernel/bpf/btf.c
4293
static void __btf_struct_show(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
4306
const struct btf_type *member_type = btf_type_by_id(btf,
kernel/bpf/btf.c
434
const struct btf_type *type;
kernel/bpf/btf.c
4340
static void btf_struct_show(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
4384
const struct btf_type *struct_type,
kernel/bpf/btf.c
4386
const struct btf_type *member_type)
kernel/bpf/btf.c
4409
const struct btf_type *struct_type,
kernel/bpf/btf.c
4411
const struct btf_type *member_type)
kernel/bpf/btf.c
4444
const struct btf_type *t,
kernel/bpf/btf.c
448
const struct btf_type *t,
kernel/bpf/btf.c
4503
const struct btf_type *t)
kernel/bpf/btf.c
4508
static void btf_enum_show(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
453
const struct btf_type *struct_type,
kernel/bpf/btf.c
455
const struct btf_type *member_type);
kernel/bpf/btf.c
4552
const struct btf_type *t,
kernel/bpf/btf.c
457
const struct btf_type *struct_type,
kernel/bpf/btf.c
459
const struct btf_type *member_type);
kernel/bpf/btf.c
461
const struct btf_type *t);
kernel/bpf/btf.c
4611
static void btf_enum64_show(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
462
void (*show)(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
4655
const struct btf_type *t,
kernel/bpf/btf.c
468
static struct btf_type btf_void;
kernel/bpf/btf.c
4683
const struct btf_type *t)
kernel/bpf/btf.c
471
const struct btf_type *t, u32 type_id);
kernel/bpf/btf.c
474
const struct btf_type *t);
kernel/bpf/btf.c
4742
const struct btf_type *t,
kernel/bpf/btf.c
476
static bool btf_type_is_modifier(const struct btf_type *t)
kernel/bpf/btf.c
4769
const struct btf_type *t = v->t;
kernel/bpf/btf.c
4791
const struct btf_type *t,
kernel/bpf/btf.c
4838
static void btf_var_log(struct btf_verifier_env *env, const struct btf_type *t)
kernel/bpf/btf.c
4855
const struct btf_type *t,
kernel/bpf/btf.c
4937
const struct btf_type *var_type = btf_type_by_id(env->btf,
kernel/bpf/btf.c
4968
const struct btf_type *t)
kernel/bpf/btf.c
4974
const struct btf_type *t, u32 type_id,
kernel/bpf/btf.c
4979
const struct btf_type *var;
kernel/bpf/btf.c
5007
const struct btf_type *t,
kernel/bpf/btf.c
5032
const struct btf_type *struct_type,
kernel/bpf/btf.c
5034
const struct btf_type *member_type)
kernel/bpf/btf.c
505
bool btf_type_is_void(const struct btf_type *t)
kernel/bpf/btf.c
5067
const struct btf_type *t)
kernel/bpf/btf.c
5082
const struct btf_type *t,
kernel/bpf/btf.c
510
static bool btf_type_is_datasec(const struct btf_type *t)
kernel/bpf/btf.c
5122
const struct btf_type *next_type;
kernel/bpf/btf.c
5123
const struct btf_type *t = v->t;
kernel/bpf/btf.c
515
static bool btf_type_is_decl_tag(const struct btf_type *t)
kernel/bpf/btf.c
5165
static void btf_decl_tag_log(struct btf_verifier_env *env, const struct btf_type *t)
kernel/bpf/btf.c
5181
const struct btf_type *t)
kernel/bpf/btf.c
5183
const struct btf_type *ret_type;
kernel/bpf/btf.c
520
static bool btf_type_nosize(const struct btf_type *t)
kernel/bpf/btf.c
5236
const struct btf_type *arg_type;
kernel/bpf/btf.c
527
static bool btf_type_nosize_or_null(const struct btf_type *t)
kernel/bpf/btf.c
5276
const struct btf_type *t)
kernel/bpf/btf.c
5278
const struct btf_type *proto_type;
kernel/bpf/btf.c
532
static bool btf_type_is_decl_tag_target(const struct btf_type *t)
kernel/bpf/btf.c
5326
const struct btf_type *t,
kernel/bpf/btf.c
5379
struct btf_type *t = cur;
kernel/bpf/btf.c
5395
const struct btf_type *t,
kernel/bpf/btf.c
5422
const struct btf_type *elem_type;
kernel/bpf/btf.c
5436
const struct btf_type *t, u32 type_id)
kernel/bpf/btf.c
5471
const struct btf_type *t;
kernel/bpf/btf.c
566
const struct btf_type *t = btf_type_by_id(btf, i);
kernel/bpf/btf.c
5778
const struct btf_type *t;
kernel/bpf/btf.c
578
const struct btf_type *ta = btf_type_by_id(btf, i - 1);
kernel/bpf/btf.c
579
const struct btf_type *tb = btf_type_by_id(btf, i);
kernel/bpf/btf.c
5811
const struct btf_type *t;
kernel/bpf/btf.c
5878
const struct btf_type *t;
kernel/bpf/btf.c
6055
const struct btf_type *t;
kernel/bpf/btf.c
6074
static const struct btf_type *find_canonical_prog_ctx_type(enum bpf_prog_type prog_type)
kernel/bpf/btf.c
6076
const struct btf_type *conv_struct;
kernel/bpf/btf.c
6092
const struct btf_type *conv_struct;
kernel/bpf/btf.c
6116
const struct btf_type *t, enum bpf_prog_type prog_type,
kernel/bpf/btf.c
6119
const struct btf_type *ctx_type;
kernel/bpf/btf.c
619
const struct btf_type *t;
kernel/bpf/btf.c
6202
const struct btf_type *t, int arg,
kernel/bpf/btf.c
6206
const struct btf_type *ctx_type;
kernel/bpf/btf.c
6338
const struct btf_type *t,
kernel/bpf/btf.c
6350
const struct btf_type *conv_struct;
kernel/bpf/btf.c
6351
const struct btf_type *kctx_type;
kernel/bpf/btf.c
644
const struct btf_type *t;
kernel/bpf/btf.c
6572
u32 btf_ctx_arg_idx(struct btf *btf, const struct btf_type *func_proto,
kernel/bpf/btf.c
6576
const struct btf_type *t;
kernel/bpf/btf.c
6616
int btf_ctx_arg_offset(const struct btf *btf, const struct btf_type *func_proto,
kernel/bpf/btf.c
6620
const struct btf_type *t;
kernel/bpf/btf.c
6837
const struct btf_type *t = prog->aux->attach_func_proto;
kernel/bpf/btf.c
6997
const struct btf_type *t;
kernel/bpf/btf.c
7094
const struct btf_type *t, int off, int size,
kernel/bpf/btf.c
7099
const struct btf_type *mtype, *elem_type = NULL;
kernel/bpf/btf.c
724
const struct btf_type *btf_type_skip_modifiers(const struct btf *btf,
kernel/bpf/btf.c
727
const struct btf_type *t = btf_type_by_id(btf, id);
kernel/bpf/btf.c
7297
const struct btf_type *stype, *t;
kernel/bpf/btf.c
7362
const struct btf_type *t;
kernel/bpf/btf.c
740
const struct btf_type *btf_type_resolve_ptr(const struct btf *btf,
kernel/bpf/btf.c
743
const struct btf_type *t;
kernel/bpf/btf.c
7451
const struct btf_type *type;
kernel/bpf/btf.c
7486
const struct btf_type **ret_type)
kernel/bpf/btf.c
7488
const struct btf_type *t;
kernel/bpf/btf.c
7508
static u8 __get_type_fmodel_flags(const struct btf_type *t)
kernel/bpf/btf.c
752
const struct btf_type *btf_type_resolve_func_ptr(const struct btf *btf,
kernel/bpf/btf.c
7522
const struct btf_type *func,
kernel/bpf/btf.c
7527
const struct btf_type *t;
kernel/bpf/btf.c
755
const struct btf_type *ptype;
kernel/bpf/btf.c
7600
struct btf *btf1, const struct btf_type *t1,
kernel/bpf/btf.c
7601
struct btf *btf2, const struct btf_type *t2)
kernel/bpf/btf.c
767
static bool btf_type_is_resolve_source_only(const struct btf_type *t)
kernel/bpf/btf.c
7711
struct btf *btf2, const struct btf_type *t2)
kernel/bpf/btf.c
7714
const struct btf_type *t1;
kernel/bpf/btf.c
7733
static bool btf_is_dynptr_ptr(const struct btf *btf, const struct btf_type *t)
kernel/bpf/btf.c
7769
const struct btf *btf, const struct btf_type *t)
kernel/bpf/btf.c
7845
const struct btf_type *t, *ref_t, *fn_t;
kernel/bpf/btf.c
790
static bool btf_type_needs_resolve(const struct btf_type *t)
kernel/bpf/btf.c
7922
const struct btf_type *tag_t = btf_type_by_id(btf, id);
kernel/bpf/btf.c
803
static bool btf_type_has_size(const struct btf_type *t)
kernel/bpf/btf.c
8086
const struct btf_type *t = btf_type_by_id(btf, type_id);
kernel/bpf/btf.c
833
static u32 btf_type_int(const struct btf_type *t)
kernel/bpf/btf.c
838
static const struct btf_array *btf_type_array(const struct btf_type *t)
kernel/bpf/btf.c
843
static const struct btf_enum *btf_type_enum(const struct btf_type *t)
kernel/bpf/btf.c
848
static const struct btf_var *btf_type_var(const struct btf_type *t)
kernel/bpf/btf.c
853
static const struct btf_decl_tag *btf_type_decl_tag(const struct btf_type *t)
kernel/bpf/btf.c
858
static const struct btf_enum64 *btf_type_enum64(const struct btf_type *t)
kernel/bpf/btf.c
8596
int btf_check_iter_arg(struct btf *btf, const struct btf_type *func, int arg_idx)
kernel/bpf/btf.c
8599
const struct btf_type *t;
kernel/bpf/btf.c
8622
const struct btf_type *func, u32 func_flags)
kernel/bpf/btf.c
8626
const struct btf_type *t;
kernel/bpf/btf.c
863
static const struct btf_kind_operations *btf_type_ops(const struct btf_type *t)
kernel/bpf/btf.c
8689
const struct btf_type *func;
kernel/bpf/btf.c
9040
const struct btf_type *dtor_func, *dtor_func_proto, *t;
kernel/bpf/btf.c
9363
const struct btf_type *t;
kernel/bpf/btf.c
9412
const struct btf_type *local_type;
kernel/bpf/btf.c
9502
const struct btf_type *type;
kernel/bpf/btf.c
9579
const struct btf_type *walk_type, *safe_type;
kernel/bpf/btf.c
960
const struct btf_type *btf_type_by_id(const struct btf *btf, u32 type_id)
kernel/bpf/btf.c
9606
const struct btf_type *mtype = btf_type_by_id(btf, member->type);
kernel/bpf/btf.c
9626
const struct btf_type *reg_type, *arg_type;
kernel/bpf/btf.c
979
static bool __btf_type_int_is_regular(const struct btf_type *t, size_t expected_size)
kernel/bpf/btf.c
991
static bool btf_type_int_is_regular(const struct btf_type *t)
kernel/bpf/btf.c
996
bool btf_type_is_i32(const struct btf_type *t)
kernel/bpf/check_btf.c
137
const struct btf_type *type, *func_proto, *ret_type;
kernel/bpf/check_btf.c
36
const struct btf_type *type, *func_proto;
kernel/bpf/core.c
567
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
1232
const struct btf_type *key_type,
kernel/bpf/syscall.c
1233
const struct btf_type *value_type)
kernel/bpf/syscall.c
1241
const struct btf_type *key_type, *value_type;
kernel/bpf/syscall.c
199
const struct btf_type *t;
kernel/bpf/verifier.c
10523
const struct btf_type *type;
kernel/bpf/verifier.c
10611
const struct btf_type *t;
kernel/bpf/verifier.c
10617
const struct btf_type *ret;
kernel/bpf/verifier.c
10829
const struct btf_type *t;
kernel/bpf/verifier.c
10842
const struct btf_type *t;
kernel/bpf/verifier.c
10943
const struct btf_type *t;
kernel/bpf/verifier.c
11002
static bool is_rbtree_node_type(const struct btf_type *t)
kernel/bpf/verifier.c
11007
static bool is_list_node_type(const struct btf_type *t)
kernel/bpf/verifier.c
11015
const struct btf_type *t;
kernel/bpf/verifier.c
11038
const struct btf_type *func, *func_proto;
kernel/bpf/verifier.c
11054
const struct btf_type *t, int rec)
kernel/bpf/verifier.c
11056
const struct btf_type *member_type;
kernel/bpf/verifier.c
11356
const struct btf_type *t, const struct btf_type *ref_t,
kernel/bpf/verifier.c
11460
const struct btf_type *ref_t,
kernel/bpf/verifier.c
11465
const struct btf_type *reg_ref_t;
kernel/bpf/verifier.c
11932
const struct btf_type *et, *t;
kernel/bpf/verifier.c
12051
const struct btf_type *t, *ref_t, *resolve_ret;
kernel/bpf/verifier.c
12737
const struct btf_type *t, *ref_t;
kernel/bpf/verifier.c
12798
const struct btf_type *ptr_type, struct btf *desc_btf)
kernel/bpf/verifier.c
12800
const struct btf_type *ret_t;
kernel/bpf/verifier.c
12981
const struct btf_type *t, *ptr_type;
kernel/bpf/verifier.c
16876
const struct btf_type *reg_type, *ret_type = NULL;
kernel/bpf/verifier.c
17852
const struct btf_type *t;
kernel/bpf/verifier.c
17928
const struct btf_type *datasec;
kernel/bpf/verifier.c
17929
const struct btf_type *t;
kernel/bpf/verifier.c
17982
const struct btf_type *ret;
kernel/bpf/verifier.c
18929
const struct btf_type *t, *func_proto;
kernel/bpf/verifier.c
19142
const struct btf_type *t;
kernel/bpf/verifier.c
256
const struct btf_type *proto;
kernel/bpf/verifier.c
2694
const struct btf_type *t;
kernel/bpf/verifier.c
2903
static const struct btf_type *find_kfunc_impl_proto(struct bpf_verifier_env *env,
kernel/bpf/verifier.c
2908
const struct btf_type *func;
kernel/bpf/verifier.c
2934
const struct btf_type *func, *func_proto;
kernel/bpf/verifier.c
349
const struct btf_type *type, *func, *func_proto;
kernel/bpf/verifier.c
3585
const struct btf_type *func;
kernel/bpf/verifier.c
4710
const struct btf_type *t;
kernel/bpf/verifier.c
5986
const struct btf_type *t = btf_type_by_id(reg->btf, reg->btf_id);
kernel/bpf/verifier.c
6146
const struct btf_type *t;
kernel/bpf/verifier.c
7575
const struct btf_type *t;
kernel/sched/ext.c
7182
static const struct btf_type *task_struct_type;
kernel/sched/ext.c
7203
const struct btf_type *t;
kernel/sched/ext.c
7232
static int bpf_scx_init_member(const struct btf_type *t,
kernel/sched/ext.c
7297
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
725
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
121
const struct btf_type *t)
tools/bpf/bpftool/btf.c
371
const struct btf_type *vt;
tools/bpf/bpftool/btf.c
439
const struct btf_type *t;
tools/bpf/bpftool/btf.c
506
const struct btf_type *a = *(void **)pa;
tools/bpf/bpftool/btf.c
507
const struct btf_type *b = *(void **)pb;
tools/bpf/bpftool/btf.c
525
const struct btf_type *t = btf__type_by_id(btf, i);
tools/bpf/bpftool/btf.c
526
const struct btf_type *ft;
tools/bpf/bpftool/btf.c
556
const struct btf_type *t = kfuncs.elems[i];
tools/bpf/bpftool/btf.c
592
const struct btf_type *t = btf__type_by_id(btf, index);
tools/bpf/bpftool/btf.c
632
const struct btf_type *t = btf__type_by_id(btf, index);
tools/bpf/bpftool/btf.c
677
const struct btf_type *t = btf__type_by_id(btf, id);
tools/bpf/bpftool/btf.c
758
const struct btf_type *t = btf__type_by_id(btf, i);
tools/bpf/bpftool/btf.c
94
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
1070
const struct btf_type *t;
tools/bpf/resolve_btfids/main.c
1121
struct btf_type *t;
tools/bpf/resolve_btfids/main.c
1123
t = (struct btf_type *)btf__type_by_id(btf, kfunc->btf_id);
tools/bpf/resolve_btfids/main.c
1132
t = (struct btf_type *)btf__type_by_id(btf, proto_id);
tools/bpf/resolve_btfids/main.c
1158
t = (struct btf_type *)btf__type_by_id(btf, ctx->decl_tags[i]);
tools/bpf/resolve_btfids/main.c
1181
t = (struct btf_type *)btf__type_by_id(btf, proto_id);
tools/bpf/resolve_btfids/main.c
1189
t = (struct btf_type *)btf__type_by_id(btf, proto_id);
tools/bpf/resolve_btfids/main.c
1202
t = (struct btf_type *)btf__type_by_id(btf, proto_id);
tools/bpf/resolve_btfids/main.c
1206
t = (struct btf_type *)btf__type_by_id(btf, kfunc->btf_id);
tools/bpf/resolve_btfids/main.c
1249
const struct btf_type *ta = btf__type_by_id(btf, *(__u32 *)a);
tools/bpf/resolve_btfids/main.c
1250
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
1043
const struct btf_type *t;
tools/lib/bpf/btf.c
1067
struct btf_type *ta = btf_type_by_id(btf, i - 1);
tools/lib/bpf/btf.c
1068
struct btf_type *tb = btf_type_by_id(btf, i);
tools/lib/bpf/btf.c
1088
const struct btf_type *t;
tools/lib/bpf/btf.c
1114
const struct btf_type *t;
tools/lib/bpf/btf.c
1796
struct btf_type *t;
tools/lib/bpf/btf.c
2124
static void btf_type_inc_vlen(struct btf_type *t)
tools/lib/bpf/btf.c
2195
static int btf_add_type(struct btf_pipe *p, const struct btf_type *src_type)
tools/lib/bpf/btf.c
2198
struct btf_type *t;
tools/lib/bpf/btf.c
2230
int btf__add_type(struct btf *btf, const struct btf *src_btf, const struct btf_type *src_type)
tools/lib/bpf/btf.c
2380
struct btf_type *t;
tools/lib/bpf/btf.c
2398
sz = sizeof(struct btf_type) + sizeof(int);
tools/lib/bpf/btf.c
2430
struct btf_type *t;
tools/lib/bpf/btf.c
2447
sz = sizeof(struct btf_type);
tools/lib/bpf/btf.c
2477
struct btf_type *t;
tools/lib/bpf/btf.c
2488
sz = sizeof(struct btf_type);
tools/lib/bpf/btf.c
2529
struct btf_type *t;
tools/lib/bpf/btf.c
2541
sz = sizeof(struct btf_type) + sizeof(struct btf_array);
tools/lib/bpf/btf.c
2561
struct btf_type *t;
tools/lib/bpf/btf.c
2569
sz = sizeof(struct btf_type);
tools/lib/bpf/btf.c
2625
static struct btf_type *btf_last_type(struct btf *btf)
tools/lib/bpf/btf.c
2643
struct btf_type *t;
tools/lib/bpf/btf.c
2699
struct btf_type *t;
tools/lib/bpf/btf.c
2711
sz = sizeof(struct btf_type);
tools/lib/bpf/btf.c
2762
struct btf_type *t;
tools/lib/bpf/btf.c
2841
struct btf_type *t;
tools/lib/bpf/btf.c
2899
struct btf_type *t;
tools/lib/bpf/btf.c
30
static struct btf_type btf_void;
tools/lib/bpf/btf.c
3025
struct btf_type *t = btf_type_by_id(btf, id);
tools/lib/bpf/btf.c
3046
struct btf_type *t;
tools/lib/bpf/btf.c
3057
sz = sizeof(struct btf_type);
tools/lib/bpf/btf.c
3082
struct btf_type *t;
tools/lib/bpf/btf.c
3136
struct btf_type *t;
tools/lib/bpf/btf.c
3155
sz = sizeof(struct btf_type) + sizeof(struct btf_var);
tools/lib/bpf/btf.c
3188
struct btf_type *t;
tools/lib/bpf/btf.c
3200
sz = sizeof(struct btf_type);
tools/lib/bpf/btf.c
3229
struct btf_type *t;
tools/lib/bpf/btf.c
3269
struct btf_type *t;
tools/lib/bpf/btf.c
3283
sz = sizeof(struct btf_type) + sizeof(struct btf_decl_tag);
tools/lib/bpf/btf.c
4097
struct btf_type *t = btf_type_by_id(d->btf, i);
tools/lib/bpf/btf.c
4133
struct btf_type *t = btf_type_by_id(d->btf, d->btf->start_id + i);
tools/lib/bpf/btf.c
420
static int btf_type_size_unknown(const struct btf *btf, const struct btf_type *t)
tools/lib/bpf/btf.c
4245
static long btf_hash_typedef(struct btf_type *t)
tools/lib/bpf/btf.c
4254
static long btf_hash_common(struct btf_type *t)
tools/lib/bpf/btf.c
4264
static bool btf_equal_common(struct btf_type *t1, struct btf_type *t2)
tools/lib/bpf/btf.c
4272
static bool btf_equal_typedef(struct btf_type *t1, struct btf_type *t2)
tools/lib/bpf/btf.c
4279
static long btf_hash_int_decl_tag(struct btf_type *t)
tools/lib/bpf/btf.c
4290
static bool btf_equal_int_tag(struct btf_type *t1, struct btf_type *t2)
tools/lib/bpf/btf.c
4302
static long btf_hash_enum(struct btf_type *t)
tools/lib/bpf/btf.c
4311
static bool btf_equal_enum_members(struct btf_type *t1, struct btf_type *t2)
tools/lib/bpf/btf.c
4329
static bool btf_equal_enum64_members(struct btf_type *t1, struct btf_type *t2)
tools/lib/bpf/btf.c
4349
static bool btf_equal_enum(struct btf_type *t1, struct btf_type *t2)
tools/lib/bpf/btf.c
4361
static inline bool btf_is_enum_fwd(struct btf_type *t)
tools/lib/bpf/btf.c
4366
static bool btf_compat_enum(struct btf_type *t1, struct btf_type *t2)
tools/lib/bpf/btf.c
4385
static long btf_hash_struct(struct btf_type *t)
tools/lib/bpf/btf.c
4406
static bool btf_shallow_equal_struct(struct btf_type *t1, struct btf_type *t2)
tools/lib/bpf/btf.c
4432
static long btf_hash_array(struct btf_type *t)
tools/lib/bpf/btf.c
4450
static bool btf_equal_array(struct btf_type *t1, struct btf_type *t2)
tools/lib/bpf/btf.c
4469
static bool btf_compat_array(struct btf_type *t1, struct btf_type *t2)
tools/lib/bpf/btf.c
4482
static long btf_hash_fnproto(struct btf_type *t)
tools/lib/bpf/btf.c
4504
static bool btf_equal_fnproto(struct btf_type *t1, struct btf_type *t2)
tools/lib/bpf/btf.c
451
return sizeof(struct btf_type) + l[kind].info_sz + vlen * l[kind].elem_sz;
tools/lib/bpf/btf.c
4530
static bool btf_compat_fnproto(struct btf_type *t1, struct btf_type *t2)
tools/lib/bpf/btf.c
454
static int btf_type_size(const struct btf *btf, const struct btf_type *t)
tools/lib/bpf/btf.c
4558
struct btf_type *t;
tools/lib/bpf/btf.c
456
const int base_size = sizeof(struct btf_type);
tools/lib/bpf/btf.c
4624
struct btf_type *t = btf_type_by_id(d->btf, type_id);
tools/lib/bpf/btf.c
4626
struct btf_type *cand;
tools/lib/bpf/btf.c
4760
static inline __u16 btf_fwd_kind(struct btf_type *t)
tools/lib/bpf/btf.c
4767
struct btf_type *t1, *t2;
tools/lib/bpf/btf.c
494
static void btf_bswap_type_base(struct btf_type *t)
tools/lib/bpf/btf.c
4975
struct btf_type *cand_type;
tools/lib/bpf/btf.c
4976
struct btf_type *canon_type;
tools/lib/bpf/btf.c
501
static int btf_bswap_type_rest(struct btf_type *t)
tools/lib/bpf/btf.c
5223
static inline long btf_hash_by_kind(struct btf_type *t, __u16 kind)
tools/lib/bpf/btf.c
5231
static inline bool btf_equal_by_kind(struct btf_type *t1, struct btf_type *t2, __u16 kind)
tools/lib/bpf/btf.c
5264
struct btf_type *cand_type, *t;
tools/lib/bpf/btf.c
5362
struct btf_type *t, *cand;
tools/lib/bpf/btf.c
5506
struct btf_type *t;
tools/lib/bpf/btf.c
5539
struct btf_type *t = btf_type_by_id(d->btf, type_id);
tools/lib/bpf/btf.c
5542
struct btf_type *cand_t;
tools/lib/bpf/btf.c
5641
const struct btf_type *t;
tools/lib/bpf/btf.c
5723
struct btf_type *t = btf_type_by_id(d->btf, d->btf->start_id + i);
tools/lib/bpf/btf.c
584
while (next_type + sizeof(struct btf_type) <= end_type) {
tools/lib/bpf/btf.c
5915
struct btf_type *split_t = btf_type_by_id(dist->pipe.src, i);
tools/lib/bpf/btf.c
5924
struct btf_type *base_t;
tools/lib/bpf/btf.c
5982
struct btf_type *t;
tools/lib/bpf/btf.c
6075
struct btf_type *t = btf_type_by_id(dist->pipe.dst, i);
tools/lib/bpf/btf.c
6115
struct btf_type *t;
tools/lib/bpf/btf.c
630
const struct btf_type *t;
tools/lib/bpf/btf.c
6316
const struct btf_type *t;
tools/lib/bpf/btf.c
641
static int btf_validate_type(const struct btf *btf, const struct btf_type *t, __u32 id)
tools/lib/bpf/btf.c
713
const struct btf_type *ft;
tools/lib/bpf/btf.c
765
const struct btf_type *t;
tools/lib/bpf/btf.c
789
struct btf_type *btf_type_by_id(const struct btf *btf, __u32 type_id)
tools/lib/bpf/btf.c
798
const struct btf_type *btf__type_by_id(const struct btf *btf, __u32 type_id)
tools/lib/bpf/btf.c
820
const struct btf_type *t;
tools/lib/bpf/btf.c
919
static bool btf_type_is_void(const struct btf_type *t)
tools/lib/bpf/btf.c
924
static bool btf_type_is_void_or_null(const struct btf_type *t)
tools/lib/bpf/btf.c
934
const struct btf_type *t;
tools/lib/bpf/btf.c
988
const struct btf_type *t = btf__type_by_id(btf, id);
tools/lib/bpf/btf.h
177
LIBBPF_API const struct btf_type *btf__type_by_id(const struct btf *btf,
tools/lib/bpf/btf.h
202
const struct btf_type *src_type);
tools/lib/bpf/btf.h
26
struct btf_type;
tools/lib/bpf/btf.h
433
static inline __u16 btf_kind(const struct btf_type *t)
tools/lib/bpf/btf.h
438
static inline __u16 btf_vlen(const struct btf_type *t)
tools/lib/bpf/btf.h
443
static inline bool btf_kflag(const struct btf_type *t)
tools/lib/bpf/btf.h
448
static inline bool btf_is_void(const struct btf_type *t)
tools/lib/bpf/btf.h
453
static inline bool btf_is_int(const struct btf_type *t)
tools/lib/bpf/btf.h
458
static inline bool btf_is_ptr(const struct btf_type *t)
tools/lib/bpf/btf.h
463
static inline bool btf_is_array(const struct btf_type *t)
tools/lib/bpf/btf.h
468
static inline bool btf_is_struct(const struct btf_type *t)
tools/lib/bpf/btf.h
473
static inline bool btf_is_union(const struct btf_type *t)
tools/lib/bpf/btf.h
478
static inline bool btf_is_composite(const struct btf_type *t)
tools/lib/bpf/btf.h
485
static inline bool btf_is_enum(const struct btf_type *t)
tools/lib/bpf/btf.h
490
static inline bool btf_is_enum64(const struct btf_type *t)
tools/lib/bpf/btf.h
495
static inline bool btf_is_fwd(const struct btf_type *t)
tools/lib/bpf/btf.h
500
static inline bool btf_is_typedef(const struct btf_type *t)
tools/lib/bpf/btf.h
505
static inline bool btf_is_volatile(const struct btf_type *t)
tools/lib/bpf/btf.h
510
static inline bool btf_is_const(const struct btf_type *t)
tools/lib/bpf/btf.h
515
static inline bool btf_is_restrict(const struct btf_type *t)
tools/lib/bpf/btf.h
520
static inline bool btf_is_mod(const struct btf_type *t)
tools/lib/bpf/btf.h
530
static inline bool btf_is_func(const struct btf_type *t)
tools/lib/bpf/btf.h
535
static inline bool btf_is_func_proto(const struct btf_type *t)
tools/lib/bpf/btf.h
540
static inline bool btf_is_var(const struct btf_type *t)
tools/lib/bpf/btf.h
545
static inline bool btf_is_datasec(const struct btf_type *t)
tools/lib/bpf/btf.h
550
static inline bool btf_is_float(const struct btf_type *t)
tools/lib/bpf/btf.h
555
static inline bool btf_is_decl_tag(const struct btf_type *t)
tools/lib/bpf/btf.h
560
static inline bool btf_is_type_tag(const struct btf_type *t)
tools/lib/bpf/btf.h
565
static inline bool btf_is_any_enum(const struct btf_type *t)
tools/lib/bpf/btf.h
570
static inline bool btf_kind_core_compat(const struct btf_type *t1,
tools/lib/bpf/btf.h
571
const struct btf_type *t2)
tools/lib/bpf/btf.h
577
static inline __u8 btf_int_encoding(const struct btf_type *t)
tools/lib/bpf/btf.h
582
static inline __u8 btf_int_offset(const struct btf_type *t)
tools/lib/bpf/btf.h
587
static inline __u8 btf_int_bits(const struct btf_type *t)
tools/lib/bpf/btf.h
592
static inline struct btf_array *btf_array(const struct btf_type *t)
tools/lib/bpf/btf.h
597
static inline struct btf_enum *btf_enum(const struct btf_type *t)
tools/lib/bpf/btf.h
604
static inline struct btf_enum64 *btf_enum64(const struct btf_type *t)
tools/lib/bpf/btf.h
635
static inline struct btf_member *btf_members(const struct btf_type *t)
tools/lib/bpf/btf.h
641
static inline __u32 btf_member_bit_offset(const struct btf_type *t,
tools/lib/bpf/btf.h
653
static inline __u32 btf_member_bitfield_size(const struct btf_type *t,
tools/lib/bpf/btf.h
662
static inline struct btf_param *btf_params(const struct btf_type *t)
tools/lib/bpf/btf.h
667
static inline struct btf_var *btf_var(const struct btf_type *t)
tools/lib/bpf/btf.h
673
btf_var_secinfos(const struct btf_type *t)
tools/lib/bpf/btf.h
679
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
10356
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
10806
struct btf_type *datasec_type, *var_type;
tools/lib/bpf/libbpf.c
10808
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
14564
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
3163
struct btf_type *t;
tools/lib/bpf/libbpf.c
3218
t = (struct btf_type *)btf__type_by_id(btf, i);
tools/lib/bpf/libbpf.c
3234
struct btf_type *vt;
tools/lib/bpf/libbpf.c
3297
t = (struct btf_type *)btf__type_by_id(btf, i);
tools/lib/bpf/libbpf.c
3414
struct btf_type *t)
tools/lib/bpf/libbpf.c
3457
const struct btf_type *t_var;
tools/lib/bpf/libbpf.c
3515
struct btf_type *t = btf_type_by_id(obj->btf, i);
tools/lib/bpf/libbpf.c
3637
struct btf_type *t;
tools/lib/bpf/libbpf.c
4116
const struct btf_type *t;
tools/lib/bpf/libbpf.c
4149
const struct btf_type *t;
tools/lib/bpf/libbpf.c
4175
const struct btf_type *t;
tools/lib/bpf/libbpf.c
4241
const struct btf_type *t;
tools/lib/bpf/libbpf.c
4259
const struct btf_type *sec;
tools/lib/bpf/libbpf.c
4272
const struct btf_type *vt;
tools/lib/bpf/libbpf.c
4296
struct btf_type *sec, *kcfg_sec = NULL, *ksym_sec = NULL;
tools/lib/bpf/libbpf.c
4297
const struct btf_type *t;
tools/lib/bpf/libbpf.c
4428
const struct btf_type *dummy_var;
tools/lib/bpf/libbpf.c
4443
struct btf_type *vt;
tools/lib/bpf/libbpf.c
4454
const struct btf_type *func_proto;
tools/lib/bpf/libbpf.c
5761
const struct btf_type *t, *local_t;
tools/lib/bpf/libbpf.c
5908
const struct btf_type *local_t;
tools/lib/bpf/libbpf.c
6048
const struct btf_type *local_type;
tools/lib/bpf/libbpf.c
7038
struct btf_type *t;
tools/lib/bpf/libbpf.c
7152
const struct btf_type *t;
tools/lib/bpf/libbpf.c
7223
struct btf_type *fn_t, *fn_proto_t, *t;
tools/lib/bpf/libbpf.c
7292
struct btf_type *fn_t, *fn_proto_t;
tools/lib/bpf/libbpf.c
7294
const struct btf_type *t;
tools/lib/bpf/libbpf.c
7552
const struct btf_type *sec, *var, *def;
tools/lib/bpf/libbpf.c
8556
const struct btf_type *t;
tools/lib/bpf/libbpf.c
8627
const struct btf_type *targ_var, *targ_type;
tools/lib/bpf/libbpf.c
8654
const struct btf_type *local_type;
tools/lib/bpf/libbpf.c
8682
const struct btf_type *kern_func;
tools/lib/bpf/libbpf.c
8751
const struct btf_type *t;
tools/lib/bpf/libbpf.c
8889
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
589
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
1175
const struct btf_type *t;
tools/lib/bpf/relo_core.c
1309
const struct btf_type *local_type;
tools/lib/bpf/relo_core.c
1457
static int bpf_core_enums_match(const struct btf *local_btf, const struct btf_type *local_t,
tools/lib/bpf/relo_core.c
1458
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
1496
static int bpf_core_composites_match(const struct btf *local_btf, const struct btf_type *local_t,
tools/lib/bpf/relo_core.c
1497
const struct btf *targ_btf, const struct btf_type *targ_t,
tools/lib/bpf/relo_core.c
1564
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
418
const struct btf_type *local_type, *targ_type;
tools/lib/bpf/relo_core.c
489
const struct btf_type *local_type, *targ_type;
tools/lib/bpf/relo_core.c
562
const struct btf_type *targ_type;
tools/lib/bpf/relo_core.c
686
const struct btf_type *t;
tools/lib/bpf/relo_core.c
689
const struct btf_type *mt;
tools/lib/bpf/relo_core.c
74
const struct btf_type *t;
tools/lib/bpf/relo_core.c
868
const struct btf_type *t;
tools/lib/bpf/relo_core.c
928
const struct btf_type *orig_t, *new_t;
tools/perf/builtin-trace.c
1014
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
1041
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
122
const struct btf_type *type;
tools/perf/builtin-trace.c
3813
const struct btf_type *bt;
tools/perf/builtin-trace.c
968
const struct btf_type *bt = arg->fmt->type;
tools/perf/builtin-trace.c
987
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
28
const struct btf_type *t;
tools/sched_ext/include/scx/compat.h
84
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_kind.c
140
t = (void *)hdr + hdr->hdr_len + hdr->type_off + sizeof(struct btf_type) +
tools/testing/selftests/bpf/prog_tests/btf_kind.c
171
l[NR_BTF_KINDS].info_sz = sizeof(struct btf_type);
tools/testing/selftests/bpf/prog_tests/btf_kind.c
195
l[NR_BTF_KINDS].elem_sz = sizeof(struct btf_type);
tools/testing/selftests/bpf/prog_tests/btf_kind.c
82
struct btf_type *t;
tools/testing/selftests/bpf/prog_tests/btf_sanitize.c
9
#define TYPE_LEN (sizeof(struct btf_type) + sizeof(__u32))
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
29
const struct btf_type *t;
tools/testing/selftests/bpf/prog_tests/test_global_funcs.c
94
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
1346
static int bpf_testmod_ops_init_member(const struct btf_type *t,
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1510
static int st_ops3_check_member(const struct btf_type *t,
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1751
static int st_ops_init_member(const struct btf_type *t,
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1780
static int multi_st_ops_init_member(const struct btf_type *t,
tools/testing/selftests/bpf/test_loader.c
351
const struct btf_type *t;
tools/testing/selftests/bpf/test_progs.c
1257
const struct btf_type *t;
tools/testing/selftests/bpf/veristat.c
1214
const struct btf_type *t, *mt;
tools/testing/selftests/bpf/veristat.c
1282
const struct btf_type *t;
tools/testing/selftests/bpf/veristat.c
1843
static bool is_signed_type(const struct btf_type *t)
tools/testing/selftests/bpf/veristat.c
1852
static int enum_value_from_name(const struct btf *btf, const struct btf_type *t,
tools/testing/selftests/bpf/veristat.c
1884
static bool is_preset_supported(const struct btf_type *t)
tools/testing/selftests/bpf/veristat.c
1891
const struct btf_type *t;
tools/testing/selftests/bpf/veristat.c
1935
const struct btf_type *t;
tools/testing/selftests/bpf/veristat.c
1963
const struct btf_type *parent_type,
tools/testing/selftests/bpf/veristat.c
1977
const struct btf_type *member_type;
tools/testing/selftests/bpf/veristat.c
2014
static int adjust_var_secinfo(struct btf *btf, const struct btf_type *t,
tools/testing/selftests/bpf/veristat.c
2017
const struct btf_type *base_type;
tools/testing/selftests/bpf/veristat.c
2059
const struct btf_type *base_type;
tools/testing/selftests/bpf/veristat.c
2124
const struct btf_type *t;
tools/testing/selftests/bpf/veristat.c
2151
const struct btf_type *var_type = btf__type_by_id(btf, sinfo->type);