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
133
const struct btf_type *key_type,
include/linux/bpf.h
134
const struct btf_type *value_type);
include/linux/bpf.h
1419
const struct btf_type *tgt_type;
include/linux/bpf.h
1794
const struct btf_type *attach_func_proto;
include/linux/bpf.h
2106
int (*check_member)(const struct btf_type *t,
include/linux/bpf.h
2109
int (*init_member)(const struct btf_type *t,
include/linux/bpf.h
2138
const struct btf_type *type;
include/linux/bpf.h
2139
const struct btf_type *value_type;
include/linux/bpf.h
296
const struct btf_type *attach_func_proto;
include/linux/bpf.h
3153
const struct btf_type *func_proto,
include/linux/bpf.h
3160
struct btf *btf, const struct btf_type *t);
include/linux/bpf.h
3161
const char *btf_find_decl_tag_value(const struct btf *btf, const struct btf_type *pt,
include/linux/bpf.h
3163
int btf_find_next_decl_tag(const struct btf *btf, const struct btf_type *pt,
include/linux/bpf.h
50
struct btf_type;
include/linux/bpf.h
697
const struct btf_type *key_type,
include/linux/bpf.h
698
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
1446
const struct btf_type *func_proto;
include/linux/btf.h
113
struct btf_type;
include/linux/btf.h
175
const struct btf_type *btf_type_id_size(const struct btf *btf,
include/linux/btf.h
226
bool btf_type_is_i32(const struct btf_type *t);
include/linux/btf.h
227
bool btf_type_is_i64(const struct btf_type *t);
include/linux/btf.h
228
bool btf_type_is_primitive(const struct btf_type *t);
include/linux/btf.h
229
bool btf_member_is_reg_int(const struct btf *btf, const struct btf_type *s,
include/linux/btf.h
232
struct btf_record *btf_parse_fields(const struct btf *btf, const struct btf_type *t,
include/linux/btf.h
235
bool btf_type_is_void(const struct btf_type *t);
include/linux/btf.h
238
const struct btf_type *btf_type_skip_modifiers(const struct btf *btf,
include/linux/btf.h
240
const struct btf_type *btf_type_resolve_ptr(const struct btf *btf,
include/linux/btf.h
242
const struct btf_type *btf_type_resolve_func_ptr(const struct btf *btf,
include/linux/btf.h
244
const struct btf_type *
include/linux/btf.h
245
btf_resolve_size(const struct btf *btf, const struct btf_type *type,
include/linux/btf.h
247
const char *btf_type_str(const struct btf_type *t);
include/linux/btf.h
259
static inline bool btf_type_is_ptr(const struct btf_type *t)
include/linux/btf.h
264
static inline bool btf_type_is_int(const struct btf_type *t)
include/linux/btf.h
269
static inline bool btf_type_is_small_int(const struct btf_type *t)
include/linux/btf.h
274
static inline u8 btf_int_encoding(const struct btf_type *t)
include/linux/btf.h
279
static inline bool btf_type_is_signed_int(const struct btf_type *t)
include/linux/btf.h
284
static inline bool btf_type_is_enum(const struct btf_type *t)
include/linux/btf.h
289
static inline bool btf_is_any_enum(const struct btf_type *t)
include/linux/btf.h
295
static inline bool btf_kind_core_compat(const struct btf_type *t1,
include/linux/btf.h
296
const struct btf_type *t2)
include/linux/btf.h
307
static inline u16 btf_kind(const struct btf_type *t)
include/linux/btf.h
312
static inline bool btf_is_enum(const struct btf_type *t)
include/linux/btf.h
317
static inline bool btf_is_enum64(const struct btf_type *t)
include/linux/btf.h
327
static inline bool btf_is_composite(const struct btf_type *t)
include/linux/btf.h
334
static inline bool btf_is_array(const struct btf_type *t)
include/linux/btf.h
339
static inline bool btf_is_int(const struct btf_type *t)
include/linux/btf.h
344
static inline bool btf_is_ptr(const struct btf_type *t)
include/linux/btf.h
349
static inline u8 btf_int_offset(const struct btf_type *t)
include/linux/btf.h
354
static inline __u8 btf_int_bits(const struct btf_type *t)
include/linux/btf.h
359
static inline bool btf_type_is_scalar(const struct btf_type *t)
include/linux/btf.h
364
static inline bool btf_type_is_fwd(const struct btf_type *t)
include/linux/btf.h
369
static inline bool btf_type_is_typedef(const struct btf_type *t)
include/linux/btf.h
374
static inline bool btf_type_is_volatile(const struct btf_type *t)
include/linux/btf.h
379
static inline bool btf_type_is_func(const struct btf_type *t)
include/linux/btf.h
384
static inline bool btf_type_is_func_proto(const struct btf_type *t)
include/linux/btf.h
389
static inline bool btf_type_is_var(const struct btf_type *t)
include/linux/btf.h
394
static inline bool btf_type_is_type_tag(const struct btf_type *t)
include/linux/btf.h
402
static inline bool btf_type_is_struct(const struct btf_type *t)
include/linux/btf.h
409
static inline bool __btf_type_is_struct(const struct btf_type *t)
include/linux/btf.h
414
static inline bool btf_type_is_array(const struct btf_type *t)
include/linux/btf.h
419
static inline u32 btf_type_vlen(const struct btf_type *t)
include/linux/btf.h
424
static inline u32 btf_vlen(const struct btf_type *t)
include/linux/btf.h
429
static inline u16 btf_func_linkage(const struct btf_type *t)
include/linux/btf.h
434
static inline bool btf_type_kflag(const struct btf_type *t)
include/linux/btf.h
439
static inline u32 __btf_member_bit_offset(const struct btf_type *struct_type,
include/linux/btf.h
446
static inline u32 __btf_member_bitfield_size(const struct btf_type *struct_type,
include/linux/btf.h
453
static inline struct btf_member *btf_members(const struct btf_type *t)
include/linux/btf.h
458
static inline u32 btf_member_bit_offset(const struct btf_type *t, u32 member_idx)
include/linux/btf.h
465
static inline u32 btf_member_bitfield_size(const struct btf_type *t, u32 member_idx)
include/linux/btf.h
472
static inline const struct btf_member *btf_type_member(const struct btf_type *t)
include/linux/btf.h
477
static inline struct btf_array *btf_array(const struct btf_type *t)
include/linux/btf.h
482
static inline struct btf_enum *btf_enum(const struct btf_type *t)
include/linux/btf.h
487
static inline struct btf_enum64 *btf_enum64(const struct btf_type *t)
include/linux/btf.h
493
const struct btf_type *t)
include/linux/btf.h
498
static inline struct btf_param *btf_params(const struct btf_type *t)
include/linux/btf.h
503
static inline struct btf_decl_tag *btf_decl_tag(const struct btf_type *t)
include/linux/btf.h
528
int btf_ctx_arg_offset(const struct btf *btf, const struct btf_type *func_proto,
include/linux/btf.h
530
u32 btf_ctx_arg_idx(struct btf *btf, const struct btf_type *func_proto, int off);
include/linux/btf.h
569
const struct btf_type *btf_type_by_id(const struct btf *btf, u32 type_id);
include/linux/btf.h
572
int btf_field_iter_init(struct btf_field_iter *it, struct btf_type *t,
include/linux/btf.h
594
const struct btf_type *t, enum bpf_prog_type prog_type,
include/linux/btf.h
599
int btf_check_iter_arg(struct btf *btf, const struct btf_type *func, int arg_idx);
include/linux/btf.h
601
static inline bool btf_type_is_struct_ptr(struct btf *btf, const struct btf_type *t)
include/linux/btf.h
611
static inline const struct btf_type *btf_type_by_id(const struct btf *btf,
include/linux/btf.h
627
static inline int btf_field_iter_init(struct btf_field_iter *it, struct btf_type *t,
include/linux/btf.h
670
const struct btf_type *t, enum bpf_prog_type prog_type,
include/linux/btf.h
684
static inline int btf_check_iter_arg(struct btf *btf, const struct btf_type *func, int arg_idx)
io_uring/bpf-ops.c
109
static const struct btf_type *
io_uring/bpf-ops.c
13
static const struct btf_type *loop_params_type;
io_uring/bpf-ops.c
139
static int bpf_io_check_member(const struct btf_type *t,
io_uring/bpf-ops.c
146
static int bpf_io_init_member(const struct btf_type *t,
io_uring/bpf-ops.c
93
const struct btf_type *t = btf_type_by_id(reg->btf, reg->btf_id);
kernel/bpf/arena.c
409
const struct btf_type *key_type, const struct btf_type *value_type)
kernel/bpf/arraymap.c
551
const struct btf_type *key_type,
kernel/bpf/arraymap.c
552
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
1031
static u32 count_func_ptrs(const struct btf *btf, const struct btf_type *t)
kernel/bpf/bpf_struct_ops.c
1049
const struct btf_type *t, *vt;
kernel/bpf/bpf_struct_ops.c
1141
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
3482
const struct btf_type *t; /* Input/Output */
kernel/bpf/btf.c
3492
const struct btf_type *t = ctx->t;
kernel/bpf/btf.c
350
const char *btf_type_str(const struct btf_type *t)
kernel/bpf/btf.c
3527
static int btf_find_kptr(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
3571
int btf_find_next_decl_tag(const struct btf *btf, const struct btf_type *pt,
kernel/bpf/btf.c
3578
const struct btf_type *t = btf_type_by_id(btf, i);
kernel/bpf/btf.c
3593
const char *btf_find_decl_tag_value(const struct btf *btf, const struct btf_type *pt,
kernel/bpf/btf.c
3597
const struct btf_type *t;
kernel/bpf/btf.c
3618
btf_find_graph_root(const struct btf *btf, const struct btf_type *pt,
kernel/bpf/btf.c
3619
const struct btf_type *t, int comp_idx, u32 off,
kernel/bpf/btf.c
3655
static int btf_get_field_type(const struct btf *btf, const struct btf_type *var_type,
kernel/bpf/btf.c
3752
const struct btf_type *t, u32 field_mask,
kernel/bpf/btf.c
3762
static int btf_find_nested_struct(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
3796
const struct btf_type *var,
kernel/bpf/btf.c
3797
const struct btf_type *var_type,
kernel/bpf/btf.c
3893
const struct btf_type *t, u32 field_mask,
kernel/bpf/btf.c
3902
const struct btf_type *member_type = btf_type_by_id(btf,
kernel/bpf/btf.c
3922
static int btf_find_datasec_var(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
3931
const struct btf_type *var = btf_type_by_id(btf, vsi->type);
kernel/bpf/btf.c
3932
const struct btf_type *var_type = btf_type_by_id(btf, var->type);
kernel/bpf/btf.c
3946
static int btf_find_field(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
3962
const struct btf_type *t;
kernel/bpf/btf.c
3995
const struct btf_type *dtor_func;
kernel/bpf/btf.c
4054
const struct btf_type *t, *n = NULL;
kernel/bpf/btf.c
4118
struct btf_record *btf_parse_fields(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
4267
const struct btf_type *t;
kernel/bpf/btf.c
4339
static void __btf_struct_show(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
434
const struct btf_type *type;
kernel/bpf/btf.c
4352
const struct btf_type *member_type = btf_type_by_id(btf,
kernel/bpf/btf.c
4386
static void btf_struct_show(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
4430
const struct btf_type *struct_type,
kernel/bpf/btf.c
4432
const struct btf_type *member_type)
kernel/bpf/btf.c
4455
const struct btf_type *struct_type,
kernel/bpf/btf.c
4457
const struct btf_type *member_type)
kernel/bpf/btf.c
448
const struct btf_type *t,
kernel/bpf/btf.c
4490
const struct btf_type *t,
kernel/bpf/btf.c
453
const struct btf_type *struct_type,
kernel/bpf/btf.c
4549
const struct btf_type *t)
kernel/bpf/btf.c
455
const struct btf_type *member_type);
kernel/bpf/btf.c
4554
static void btf_enum_show(const struct btf *btf, 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
4598
const struct btf_type *t,
kernel/bpf/btf.c
461
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
4657
static void btf_enum64_show(const struct btf *btf, const struct btf_type *t,
kernel/bpf/btf.c
468
static struct btf_type btf_void;
kernel/bpf/btf.c
4701
const struct btf_type *t,
kernel/bpf/btf.c
471
const struct btf_type *t, u32 type_id);
kernel/bpf/btf.c
4729
const struct btf_type *t)
kernel/bpf/btf.c
474
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
4788
const struct btf_type *t,
kernel/bpf/btf.c
4815
const struct btf_type *t = v->t;
kernel/bpf/btf.c
4837
const struct btf_type *t,
kernel/bpf/btf.c
4884
static void btf_var_log(struct btf_verifier_env *env, const struct btf_type *t)
kernel/bpf/btf.c
4901
const struct btf_type *t,
kernel/bpf/btf.c
4983
const struct btf_type *var_type = btf_type_by_id(env->btf,
kernel/bpf/btf.c
5014
const struct btf_type *t)
kernel/bpf/btf.c
5020
const struct btf_type *t, u32 type_id,
kernel/bpf/btf.c
5025
const struct btf_type *var;
kernel/bpf/btf.c
505
bool btf_type_is_void(const struct btf_type *t)
kernel/bpf/btf.c
5053
const struct btf_type *t,
kernel/bpf/btf.c
5078
const struct btf_type *struct_type,
kernel/bpf/btf.c
5080
const struct btf_type *member_type)
kernel/bpf/btf.c
510
static bool btf_type_is_datasec(const struct btf_type *t)
kernel/bpf/btf.c
5113
const struct btf_type *t)
kernel/bpf/btf.c
5128
const struct btf_type *t,
kernel/bpf/btf.c
515
static bool btf_type_is_decl_tag(const struct btf_type *t)
kernel/bpf/btf.c
5168
const struct btf_type *next_type;
kernel/bpf/btf.c
5169
const struct btf_type *t = v->t;
kernel/bpf/btf.c
520
static bool btf_type_nosize(const struct btf_type *t)
kernel/bpf/btf.c
5211
static void btf_decl_tag_log(struct btf_verifier_env *env, const struct btf_type *t)
kernel/bpf/btf.c
5227
const struct btf_type *t)
kernel/bpf/btf.c
5229
const struct btf_type *ret_type;
kernel/bpf/btf.c
527
static bool btf_type_nosize_or_null(const struct btf_type *t)
kernel/bpf/btf.c
5282
const struct btf_type *arg_type;
kernel/bpf/btf.c
532
static bool btf_type_is_decl_tag_target(const struct btf_type *t)
kernel/bpf/btf.c
5322
const struct btf_type *t)
kernel/bpf/btf.c
5324
const struct btf_type *proto_type;
kernel/bpf/btf.c
5372
const struct btf_type *t,
kernel/bpf/btf.c
5419
struct btf_type *t = cur;
kernel/bpf/btf.c
5435
const struct btf_type *t,
kernel/bpf/btf.c
5462
const struct btf_type *elem_type;
kernel/bpf/btf.c
5476
const struct btf_type *t, u32 type_id)
kernel/bpf/btf.c
5511
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
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
5818
const struct btf_type *t;
kernel/bpf/btf.c
5851
const struct btf_type *t;
kernel/bpf/btf.c
5917
const struct btf_type *t;
kernel/bpf/btf.c
6070
const struct btf_type *t;
kernel/bpf/btf.c
6089
static const struct btf_type *find_canonical_prog_ctx_type(enum bpf_prog_type prog_type)
kernel/bpf/btf.c
6091
const struct btf_type *conv_struct;
kernel/bpf/btf.c
6107
const struct btf_type *conv_struct;
kernel/bpf/btf.c
6131
const struct btf_type *t, enum bpf_prog_type prog_type,
kernel/bpf/btf.c
6134
const struct btf_type *ctx_type;
kernel/bpf/btf.c
619
const struct btf_type *t;
kernel/bpf/btf.c
6217
const struct btf_type *t, int arg,
kernel/bpf/btf.c
6221
const struct btf_type *ctx_type;
kernel/bpf/btf.c
6353
const struct btf_type *t,
kernel/bpf/btf.c
6365
const struct btf_type *conv_struct;
kernel/bpf/btf.c
6366
const struct btf_type *kctx_type;
kernel/bpf/btf.c
644
const struct btf_type *t;
kernel/bpf/btf.c
6587
u32 btf_ctx_arg_idx(struct btf *btf, const struct btf_type *func_proto,
kernel/bpf/btf.c
6591
const struct btf_type *t;
kernel/bpf/btf.c
6631
int btf_ctx_arg_offset(const struct btf *btf, const struct btf_type *func_proto,
kernel/bpf/btf.c
6635
const struct btf_type *t;
kernel/bpf/btf.c
6856
const struct btf_type *t = prog->aux->attach_func_proto;
kernel/bpf/btf.c
7016
const struct btf_type *t;
kernel/bpf/btf.c
7109
const struct btf_type *t, int off, int size,
kernel/bpf/btf.c
7114
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
7319
const struct btf_type *stype;
kernel/bpf/btf.c
7379
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
7468
const struct btf_type *type;
kernel/bpf/btf.c
7503
const struct btf_type **ret_type)
kernel/bpf/btf.c
7505
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
7525
static u8 __get_type_fmodel_flags(const struct btf_type *t)
kernel/bpf/btf.c
7539
const struct btf_type *func,
kernel/bpf/btf.c
7544
const struct btf_type *t;
kernel/bpf/btf.c
755
const struct btf_type *ptype;
kernel/bpf/btf.c
7617
struct btf *btf1, const struct btf_type *t1,
kernel/bpf/btf.c
7618
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
7728
struct btf *btf2, const struct btf_type *t2)
kernel/bpf/btf.c
7731
const struct btf_type *t1;
kernel/bpf/btf.c
7750
static bool btf_is_dynptr_ptr(const struct btf *btf, const struct btf_type *t)
kernel/bpf/btf.c
7786
const struct btf *btf, const struct btf_type *t)
kernel/bpf/btf.c
7847
const struct btf_type *fn_t,
kernel/bpf/btf.c
7869
const struct btf_type *tag_t;
kernel/bpf/btf.c
790
static bool btf_type_needs_resolve(const struct btf_type *t)
kernel/bpf/btf.c
7915
const struct btf_type *t;
kernel/bpf/btf.c
7943
const struct btf_type *t, int subprog)
kernel/bpf/btf.c
7986
const struct btf_type *t, *ref_t, *fn_t;
kernel/bpf/btf.c
803
static bool btf_type_has_size(const struct btf_type *t)
kernel/bpf/btf.c
8209
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
863
static const struct btf_kind_operations *btf_type_ops(const struct btf_type *t)
kernel/bpf/btf.c
8719
int btf_check_iter_arg(struct btf *btf, const struct btf_type *func, int arg_idx)
kernel/bpf/btf.c
8722
const struct btf_type *t;
kernel/bpf/btf.c
8745
const struct btf_type *func, u32 func_flags)
kernel/bpf/btf.c
8749
const struct btf_type *t;
kernel/bpf/btf.c
8845
const struct btf_type *func;
kernel/bpf/btf.c
9226
const struct btf_type *dtor_func, *dtor_func_proto, *t;
kernel/bpf/btf.c
9549
const struct btf_type *t;
kernel/bpf/btf.c
9598
const struct btf_type *local_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
9688
const struct btf_type *type;
kernel/bpf/btf.c
9765
const struct btf_type *walk_type, *safe_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
9792
const struct btf_type *mtype = btf_type_by_id(btf, member->type);
kernel/bpf/btf.c
9812
const struct btf_type *reg_type, *arg_type;
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
568
const struct btf_type *type;
kernel/bpf/hashtab.c
3110
const struct btf_type *key_type,
kernel/bpf/hashtab.c
3111
const struct btf_type *value_type)
kernel/bpf/hashtab.c
529
const struct btf_type *key_type, const struct btf_type *value_type)
kernel/bpf/inode.c
1056
const struct btf_type *enum_t;
kernel/bpf/inode.c
655
const struct btf_type *cmd_t;
kernel/bpf/inode.c
656
const struct btf_type *map_t;
kernel/bpf/inode.c
657
const struct btf_type *prog_t;
kernel/bpf/inode.c
658
const struct btf_type *attach_t;
kernel/bpf/inode.c
664
const struct btf_type **type;
kernel/bpf/inode.c
697
static bool find_btf_enum_const(const struct btf *btf, const struct btf_type *enum_t,
kernel/bpf/inode.c
729
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
1238
const struct btf_type *key_type,
kernel/bpf/syscall.c
1239
const struct btf_type *value_type)
kernel/bpf/syscall.c
1247
const struct btf_type *key_type, *value_type;
kernel/bpf/syscall.c
200
const struct btf_type *t;
kernel/bpf/verifier.c
10391
const struct btf_type *type;
kernel/bpf/verifier.c
10480
const struct btf_type *t;
kernel/bpf/verifier.c
10486
const struct btf_type *ret;
kernel/bpf/verifier.c
10713
const struct btf_type *t;
kernel/bpf/verifier.c
10726
const struct btf_type *t;
kernel/bpf/verifier.c
10832
const struct btf_type *t;
kernel/bpf/verifier.c
10891
static bool is_rbtree_node_type(const struct btf_type *t)
kernel/bpf/verifier.c
10896
static bool is_list_node_type(const struct btf_type *t)
kernel/bpf/verifier.c
10904
const struct btf_type *t;
kernel/bpf/verifier.c
10927
const struct btf_type *func, *func_proto;
kernel/bpf/verifier.c
10943
const struct btf_type *t, int rec)
kernel/bpf/verifier.c
10945
const struct btf_type *member_type;
kernel/bpf/verifier.c
11260
const struct btf_type *t, const struct btf_type *ref_t,
kernel/bpf/verifier.c
11363
const struct btf_type *ref_t,
kernel/bpf/verifier.c
11368
const struct btf_type *reg_ref_t;
kernel/bpf/verifier.c
11832
const struct btf_type *et, *t;
kernel/bpf/verifier.c
11962
const struct btf_type *t, *ref_t, *resolve_ret;
kernel/bpf/verifier.c
12683
const struct btf_type *t, *ref_t;
kernel/bpf/verifier.c
12744
const struct btf_type *ptr_type, struct btf *desc_btf)
kernel/bpf/verifier.c
12746
const struct btf_type *ret_t;
kernel/bpf/verifier.c
12920
const struct btf_type *t, *ptr_type;
kernel/bpf/verifier.c
16540
const struct btf_type *reg_type, *ret_type = NULL;
kernel/bpf/verifier.c
17530
const struct btf_type *t;
kernel/bpf/verifier.c
17606
const struct btf_type *datasec;
kernel/bpf/verifier.c
17607
const struct btf_type *t;
kernel/bpf/verifier.c
17660
const struct btf_type *ret;
kernel/bpf/verifier.c
18630
const struct btf_type *t, *func_proto;
kernel/bpf/verifier.c
18839
const struct btf_type *t;
kernel/bpf/verifier.c
18890
static const struct btf_type *
kernel/bpf/verifier.c
18893
const struct btf_type *func;
kernel/bpf/verifier.c
18938
const struct btf_type *t;
kernel/bpf/verifier.c
19434
const struct btf_type *t;
kernel/bpf/verifier.c
2378
const struct btf_type *t;
kernel/bpf/verifier.c
2587
static const struct btf_type *find_kfunc_impl_proto(struct bpf_verifier_log *log,
kernel/bpf/verifier.c
2591
const struct btf_type *func;
kernel/bpf/verifier.c
2619
const struct btf_type *func, *func_proto;
kernel/bpf/verifier.c
276
const struct btf_type *proto;
kernel/bpf/verifier.c
3233
const struct btf_type *func;
kernel/bpf/verifier.c
404
const struct btf_type *type, *func, *func_proto;
kernel/bpf/verifier.c
4454
const struct btf_type *t;
kernel/bpf/verifier.c
5739
const struct btf_type *t = btf_type_by_id(reg->btf, reg->btf_id);
kernel/bpf/verifier.c
5902
const struct btf_type *t;
kernel/bpf/verifier.c
7362
const struct btf_type *t;
kernel/sched/ext/ext.c
7860
static const struct btf_type *task_struct_type;
kernel/sched/ext/ext.c
7881
const struct btf_type *t;
kernel/sched/ext/ext.c
7910
static int bpf_scx_init_member(const struct btf_type *t,
kernel/sched/ext/ext.c
7975
static int bpf_scx_check_member(const struct btf_type *t,
kernel/trace/bpf_trace.c
1010
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
350
static u32 btf_type_int(const struct btf_type *t)
kernel/trace/trace_probe.c
355
static bool btf_type_is_char_ptr(struct btf *btf, const struct btf_type *type)
kernel/trace/trace_probe.c
357
const struct btf_type *real_type;
kernel/trace/trace_probe.c
373
static bool btf_type_is_char_array(struct btf *btf, const struct btf_type *type)
kernel/trace/trace_probe.c
375
const struct btf_type *real_type;
kernel/trace/trace_probe.c
432
const struct btf_type *type,
kernel/trace/trace_probe.c
488
const struct btf_type *type;
kernel/trace/trace_probe.c
577
static int parse_btf_field(char *fieldname, const struct btf_type *type,
kernel/trace/trace_probe.c
672
const struct btf_type *type;
kernel/trace/trace_probe.h
421
const struct btf_type *proto; /* Prototype of the function */
kernel/trace/trace_probe.h
426
const struct btf_type *last_type; /* Saved type */
kernel/trace/trace_probe.h
427
const struct btf_type *last_struct; /* Saved structure */
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
248
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
367
const struct btf_type *vt;
tools/bpf/bpftool/btf.c
434
const struct btf_type *t;
tools/bpf/bpftool/btf.c
501
const struct btf_type *a = *(void **)pa;
tools/bpf/bpftool/btf.c
502
const struct btf_type *b = *(void **)pb;
tools/bpf/bpftool/btf.c
520
const struct btf_type *t = btf__type_by_id(btf, i);
tools/bpf/bpftool/btf.c
521
const struct btf_type *ft;
tools/bpf/bpftool/btf.c
551
const struct btf_type *t = kfuncs.elems[i];
tools/bpf/bpftool/btf.c
587
const struct btf_type *t = btf__type_by_id(btf, index);
tools/bpf/bpftool/btf.c
627
const struct btf_type *t = btf__type_by_id(btf, index);
tools/bpf/bpftool/btf.c
672
const struct btf_type *t = btf__type_by_id(btf, id);
tools/bpf/bpftool/btf.c
753
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
169
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
2104
cloned_type = (struct btf_type *) btf__type_by_id(info->marked_btf, type_id);
tools/bpf/bpftool/gen.c
2108
switch (btf_kind(btf_type)) {
tools/bpf/bpftool/gen.c
2119
err = btfgen_mark_type(info, btf_type->type, follow_pointers);
tools/bpf/bpftool/gen.c
2128
err = btfgen_mark_type(info, btf_type->type, follow_pointers);
tools/bpf/bpftool/gen.c
2133
array = btf_array(btf_type);
tools/bpf/bpftool/gen.c
2144
err = btfgen_mark_type(info, btf_type->type, follow_pointers);
tools/bpf/bpftool/gen.c
2149
param = btf_params(btf_type);
tools/bpf/bpftool/gen.c
2150
for (i = 0; i < btf_vlen(btf_type); i++) {
tools/bpf/bpftool/gen.c
2159
p_err("unsupported kind: %s (%u)", btf_kind_str(btf_type), type_id);
tools/bpf/bpftool/gen.c
2169
const struct btf_type *btf_type;
tools/bpf/bpftool/gen.c
2176
btf_type = btf__type_by_id(btf, type_id);
tools/bpf/bpftool/gen.c
2184
while (btf_is_mod(btf_type) || btf_is_typedef(btf_type)) {
tools/bpf/bpftool/gen.c
2185
type_id = btf_type->type;
tools/bpf/bpftool/gen.c
2186
btf_type = btf__type_by_id(btf, type_id);
tools/bpf/bpftool/gen.c
2189
switch (btf_kind(btf_type)) {
tools/bpf/bpftool/gen.c
2193
btf_member = btf_members(btf_type) + idx;
tools/bpf/bpftool/gen.c
2200
btf_type = btf__type_by_id(btf, type_id);
tools/bpf/bpftool/gen.c
2206
array = btf_array(btf_type);
tools/bpf/bpftool/gen.c
2208
btf_type = btf__type_by_id(btf, type_id);
tools/bpf/bpftool/gen.c
2212
btf_kind_str(btf_type), btf_type->type);
tools/bpf/bpftool/gen.c
2230
const struct btf_type *btf_type;
tools/bpf/bpftool/gen.c
2232
struct btf_type *cloned_type;
tools/bpf/bpftool/gen.c
2239
btf_type = btf__type_by_id(btf, type_id);
tools/bpf/bpftool/gen.c
2241
cloned_type = (struct btf_type *)btf__type_by_id(info->marked_btf, type_id);
tools/bpf/bpftool/gen.c
2244
switch (btf_kind(btf_type)) {
tools/bpf/bpftool/gen.c
2253
struct btf_member *m = btf_members(btf_type);
tools/bpf/bpftool/gen.c
2254
__u32 vlen = btf_vlen(btf_type);
tools/bpf/bpftool/gen.c
2275
return btfgen_mark_type_match(info, btf_type->type, behind_ptr);
tools/bpf/bpftool/gen.c
2277
return btfgen_mark_type_match(info, btf_type->type, true);
tools/bpf/bpftool/gen.c
2281
array = btf_array(btf_type);
tools/bpf/bpftool/gen.c
2291
__u32 vlen = btf_vlen(btf_type);
tools/bpf/bpftool/gen.c
2295
err = btfgen_mark_type_match(info, btf_type->type, false);
tools/bpf/bpftool/gen.c
2300
param = btf_params(btf_type);
tools/bpf/bpftool/gen.c
2311
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
2366
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
2515
const struct btf_type *cloned_type, *type;
tools/bpf/bpftool/gen.c
2570
struct btf_type *btf_type = (struct btf_type *) btf__type_by_id(btf_new, i);
tools/bpf/bpftool/gen.c
2574
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 int btf_type_inc_vlen(struct btf_type *t)
tools/lib/bpf/btf.c
2198
static int btf_add_type(struct btf_pipe *p, const struct btf_type *src_type)
tools/lib/bpf/btf.c
2201
struct btf_type *t;
tools/lib/bpf/btf.c
2233
int btf__add_type(struct btf *btf, const struct btf *src_btf, const struct btf_type *src_type)
tools/lib/bpf/btf.c
2383
struct btf_type *t;
tools/lib/bpf/btf.c
2401
sz = sizeof(struct btf_type) + sizeof(int);
tools/lib/bpf/btf.c
2433
struct btf_type *t;
tools/lib/bpf/btf.c
2450
sz = sizeof(struct btf_type);
tools/lib/bpf/btf.c
2480
struct btf_type *t;
tools/lib/bpf/btf.c
2491
sz = sizeof(struct btf_type);
tools/lib/bpf/btf.c
2532
struct btf_type *t;
tools/lib/bpf/btf.c
2544
sz = sizeof(struct btf_type) + sizeof(struct btf_array);
tools/lib/bpf/btf.c
2564
struct btf_type *t;
tools/lib/bpf/btf.c
2572
sz = sizeof(struct btf_type);
tools/lib/bpf/btf.c
2628
static struct btf_type *btf_last_type(struct btf *btf)
tools/lib/bpf/btf.c
2646
struct btf_type *t;
tools/lib/bpf/btf.c
2705
struct btf_type *t;
tools/lib/bpf/btf.c
2717
sz = sizeof(struct btf_type);
tools/lib/bpf/btf.c
2768
struct btf_type *t;
tools/lib/bpf/btf.c
2849
struct btf_type *t;
tools/lib/bpf/btf.c
2909
struct btf_type *t;
tools/lib/bpf/btf.c
30
static struct btf_type btf_void;
tools/lib/bpf/btf.c
3035
struct btf_type *t = btf_type_by_id(btf, id);
tools/lib/bpf/btf.c
3056
struct btf_type *t;
tools/lib/bpf/btf.c
3067
sz = sizeof(struct btf_type);
tools/lib/bpf/btf.c
3092
struct btf_type *t;
tools/lib/bpf/btf.c
3148
struct btf_type *t;
tools/lib/bpf/btf.c
3167
sz = sizeof(struct btf_type) + sizeof(struct btf_var);
tools/lib/bpf/btf.c
3200
struct btf_type *t;
tools/lib/bpf/btf.c
3212
sz = sizeof(struct btf_type);
tools/lib/bpf/btf.c
3241
struct btf_type *t;
tools/lib/bpf/btf.c
3283
struct btf_type *t;
tools/lib/bpf/btf.c
3297
sz = sizeof(struct btf_type) + sizeof(struct btf_decl_tag);
tools/lib/bpf/btf.c
4111
struct btf_type *t = btf_type_by_id(d->btf, i);
tools/lib/bpf/btf.c
4147
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
4259
static long btf_hash_typedef(struct btf_type *t)
tools/lib/bpf/btf.c
4268
static long btf_hash_common(struct btf_type *t)
tools/lib/bpf/btf.c
4278
static bool btf_equal_common(struct btf_type *t1, struct btf_type *t2)
tools/lib/bpf/btf.c
4286
static bool btf_equal_typedef(struct btf_type *t1, struct btf_type *t2)
tools/lib/bpf/btf.c
4293
static long btf_hash_int_decl_tag(struct btf_type *t)
tools/lib/bpf/btf.c
4304
static bool btf_equal_int_tag(struct btf_type *t1, struct btf_type *t2)
tools/lib/bpf/btf.c
4316
static long btf_hash_enum(struct btf_type *t)
tools/lib/bpf/btf.c
4325
static bool btf_equal_enum_members(struct btf_type *t1, struct btf_type *t2)
tools/lib/bpf/btf.c
4343
static bool btf_equal_enum64_members(struct btf_type *t1, struct btf_type *t2)
tools/lib/bpf/btf.c
4363
static bool btf_equal_enum(struct btf_type *t1, struct btf_type *t2)
tools/lib/bpf/btf.c
4375
static inline bool btf_is_enum_fwd(struct btf_type *t)
tools/lib/bpf/btf.c
4380
static bool btf_compat_enum(struct btf_type *t1, struct btf_type *t2)
tools/lib/bpf/btf.c
4399
static long btf_hash_struct(struct btf_type *t)
tools/lib/bpf/btf.c
4420
static bool btf_shallow_equal_struct(struct btf_type *t1, struct btf_type *t2)
tools/lib/bpf/btf.c
4446
static long btf_hash_array(struct btf_type *t)
tools/lib/bpf/btf.c
4464
static bool btf_equal_array(struct btf_type *t1, struct btf_type *t2)
tools/lib/bpf/btf.c
4483
static bool btf_compat_array(struct btf_type *t1, struct btf_type *t2)
tools/lib/bpf/btf.c
4496
static long btf_hash_fnproto(struct btf_type *t)
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
4518
static bool btf_equal_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
4544
static bool btf_compat_fnproto(struct btf_type *t1, struct btf_type *t2)
tools/lib/bpf/btf.c
456
const int base_size = sizeof(struct btf_type);
tools/lib/bpf/btf.c
4572
struct btf_type *t;
tools/lib/bpf/btf.c
4640
struct btf_type *t = btf_type_by_id(d->btf, type_id);
tools/lib/bpf/btf.c
4642
struct btf_type *cand;
tools/lib/bpf/btf.c
4776
static inline __u16 btf_fwd_kind(struct btf_type *t)
tools/lib/bpf/btf.c
4783
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
4991
struct btf_type *cand_type;
tools/lib/bpf/btf.c
4992
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
5239
static inline long btf_hash_by_kind(struct btf_type *t, __u16 kind)
tools/lib/bpf/btf.c
5247
static inline bool btf_equal_by_kind(struct btf_type *t1, struct btf_type *t2, __u16 kind)
tools/lib/bpf/btf.c
5280
struct btf_type *cand_type, *t;
tools/lib/bpf/btf.c
5378
struct btf_type *t, *cand;
tools/lib/bpf/btf.c
5522
struct btf_type *t;
tools/lib/bpf/btf.c
5555
struct btf_type *t = btf_type_by_id(d->btf, type_id);
tools/lib/bpf/btf.c
5558
struct btf_type *cand_t;
tools/lib/bpf/btf.c
5657
const struct btf_type *t;
tools/lib/bpf/btf.c
5739
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
5931
struct btf_type *split_t = btf_type_by_id(dist->pipe.src, i);
tools/lib/bpf/btf.c
5940
struct btf_type *base_t;
tools/lib/bpf/btf.c
5998
struct btf_type *t;
tools/lib/bpf/btf.c
6091
struct btf_type *t = btf_type_by_id(dist->pipe.dst, i);
tools/lib/bpf/btf.c
6131
struct btf_type *t;
tools/lib/bpf/btf.c
630
const struct btf_type *t;
tools/lib/bpf/btf.c
6332
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 __u32 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
1006
find_member_by_offset(const struct btf_type *t, __u32 bit_offset)
tools/lib/bpf/libbpf.c
1020
find_member_by_name(const struct btf *btf, const struct btf_type *t,
tools/lib/bpf/libbpf.c
1045
const struct btf_type **type, __u32 *type_id,
tools/lib/bpf/libbpf.c
10456
const struct btf_type *type;
tools/lib/bpf/libbpf.c
1046
const struct btf_type **vtype, __u32 *vtype_id,
tools/lib/bpf/libbpf.c
1049
const struct btf_type *kern_type, *kern_vtype;
tools/lib/bpf/libbpf.c
10906
struct btf_type *datasec_type, *var_type;
tools/lib/bpf/libbpf.c
10908
const struct btf_type *array_type;
tools/lib/bpf/libbpf.c
1144
const struct btf_type *type;
tools/lib/bpf/libbpf.c
1173
const struct btf_type *type, *kern_type, *kern_vtype;
tools/lib/bpf/libbpf.c
1213
const struct btf_type *mtype, *kern_mtype;
tools/lib/bpf/libbpf.c
12537
static bool btf_type_is_modifier(const struct btf_type *t)
tools/lib/bpf/libbpf.c
12554
const struct btf_type **ret_type)
tools/lib/bpf/libbpf.c
12556
const struct btf_type *t;
tools/lib/bpf/libbpf.c
12575
bool btf_type_is_traceable_func(const struct btf *btf, const struct btf_type *t)
tools/lib/bpf/libbpf.c
12578
const struct btf_type *proto;
tools/lib/bpf/libbpf.c
12624
const struct btf_type *t = btf__type_by_id(btf, type_id);
tools/lib/bpf/libbpf.c
1395
const struct btf_type *type, *datasec;
tools/lib/bpf/libbpf.c
14965
const struct btf_type *map_type, *var_type;
tools/lib/bpf/libbpf.c
1937
const struct btf_type *t, *vt;
tools/lib/bpf/libbpf.c
2403
const struct btf_type *
tools/lib/bpf/libbpf.c
2406
const struct btf_type *t = btf__type_by_id(btf, id);
tools/lib/bpf/libbpf.c
2420
static const struct btf_type *
tools/lib/bpf/libbpf.c
2423
const struct btf_type *t;
tools/lib/bpf/libbpf.c
2461
const char *btf_kind_str(const struct btf_type *t)
tools/lib/bpf/libbpf.c
2476
const struct btf_type *t = skip_mods_and_typedefs(btf, m->type, NULL);
tools/lib/bpf/libbpf.c
2479
const struct btf_type *arr_t;
tools/lib/bpf/libbpf.c
2506
const struct btf_type *t = skip_mods_and_typedefs(btf, m->type, NULL);
tools/lib/bpf/libbpf.c
2579
const struct btf_type *def_t, bool strict,
tools/lib/bpf/libbpf.c
2582
const struct btf_type *t;
tools/lib/bpf/libbpf.c
2895
const struct btf_type *sec,
tools/lib/bpf/libbpf.c
2901
const struct btf_type *var, *def;
tools/lib/bpf/libbpf.c
3026
const struct btf_type *sec = NULL;
tools/lib/bpf/libbpf.c
3028
const struct btf_type *t;
tools/lib/bpf/libbpf.c
3168
struct btf_type *t;
tools/lib/bpf/libbpf.c
3223
t = (struct btf_type *)btf__type_by_id(btf, i);
tools/lib/bpf/libbpf.c
3239
struct btf_type *vt;
tools/lib/bpf/libbpf.c
3302
t = (struct btf_type *)btf__type_by_id(btf, i);
tools/lib/bpf/libbpf.c
3419
struct btf_type *t)
tools/lib/bpf/libbpf.c
3462
const struct btf_type *t_var;
tools/lib/bpf/libbpf.c
3520
struct btf_type *t = btf_type_by_id(obj->btf, i);
tools/lib/bpf/libbpf.c
3642
struct btf_type *t;
tools/lib/bpf/libbpf.c
4121
const struct btf_type *t;
tools/lib/bpf/libbpf.c
4154
const struct btf_type *t;
tools/lib/bpf/libbpf.c
4180
const struct btf_type *t;
tools/lib/bpf/libbpf.c
4246
const struct btf_type *t;
tools/lib/bpf/libbpf.c
4264
const struct btf_type *sec;
tools/lib/bpf/libbpf.c
4277
const struct btf_type *vt;
tools/lib/bpf/libbpf.c
4301
struct btf_type *sec, *kcfg_sec = NULL, *ksym_sec = NULL;
tools/lib/bpf/libbpf.c
4302
const struct btf_type *t;
tools/lib/bpf/libbpf.c
4433
const struct btf_type *dummy_var;
tools/lib/bpf/libbpf.c
4448
struct btf_type *vt;
tools/lib/bpf/libbpf.c
4459
const struct btf_type *func_proto;
tools/lib/bpf/libbpf.c
5766
const struct btf_type *t, *local_t;
tools/lib/bpf/libbpf.c
5913
const struct btf_type *local_t;
tools/lib/bpf/libbpf.c
6053
const struct btf_type *local_type;
tools/lib/bpf/libbpf.c
7043
struct btf_type *t;
tools/lib/bpf/libbpf.c
7157
const struct btf_type *t;
tools/lib/bpf/libbpf.c
7228
struct btf_type *fn_t, *fn_proto_t, *t;
tools/lib/bpf/libbpf.c
7297
struct btf_type *fn_t, *fn_proto_t;
tools/lib/bpf/libbpf.c
7299
const struct btf_type *t;
tools/lib/bpf/libbpf.c
7557
const struct btf_type *sec, *var, *def;
tools/lib/bpf/libbpf.c
8636
const struct btf_type *t;
tools/lib/bpf/libbpf.c
8707
const struct btf_type *targ_var, *targ_type;
tools/lib/bpf/libbpf.c
8734
const struct btf_type *local_type;
tools/lib/bpf/libbpf.c
8762
const struct btf_type *kern_func;
tools/lib/bpf/libbpf.c
8831
const struct btf_type *t;
tools/lib/bpf/libbpf.c
8969
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
253
bool btf_type_is_traceable_func(const struct btf *btf, const struct btf_type *t);
tools/lib/bpf/libbpf_internal.h
255
static inline enum btf_func_linkage btf_func_linkage(const struct btf_type *t)
tools/lib/bpf/libbpf_internal.h
296
const struct btf_type *def_t, bool strict,
tools/lib/bpf/libbpf_internal.h
592
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
1017
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
1044
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
3864
const struct btf_type *bt;
tools/perf/builtin-trace.c
971
const struct btf_type *bt = arg->fmt->type;
tools/perf/builtin-trace.c
990
const struct btf_type *bt;
tools/perf/tests/sigtrap.c
96
const struct btf_type *type;
tools/perf/util/bpf-event.c
144
const struct btf_type *t;
tools/perf/util/bpf-event.c
185
const struct btf_type *datasec;
tools/perf/util/bpf-event.c
198
const struct btf_type *datasec;
tools/perf/util/bpf-event.c
236
const struct btf_type *t_var = btf__type_by_id(btf, vsi->type);
tools/perf/util/bpf-event.c
288
const struct btf_type *t, const void *btf_data)
tools/perf/util/bpf-event.c
321
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
4988
const struct btf_type *t;
tools/testing/selftests/bpf/prog_tests/btf.c
8121
static int btf_type_size(const struct btf_type *t)
tools/testing/selftests/bpf/prog_tests/btf.c
8123
int base_size = sizeof(struct btf_type);
tools/testing/selftests/bpf/prog_tests/btf.c
8293
const struct btf_type *test_type, *expect_type;
tools/testing/selftests/bpf/prog_tests/btf_dedup_split.c
505
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/tracing_multi.c
118
const struct btf_type *type;
tools/testing/selftests/bpf/prog_tests/tracing_multi.c
660
const struct btf_type *type;
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
1425
static int bpf_testmod_ops_init_member(const struct btf_type *t,
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1589
static int st_ops3_check_member(const struct btf_type *t,
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1830
static int st_ops_init_member(const struct btf_type *t,
tools/testing/selftests/bpf/test_kmods/bpf_testmod.c
1859
static int multi_st_ops_init_member(const struct btf_type *t,
tools/testing/selftests/bpf/test_loader.c
1216
const struct btf_type *t = btf__type_by_id(prog_btf, i);
tools/testing/selftests/bpf/test_loader.c
1217
const struct btf_type *fp, *custom_t, *custom_fp;
tools/testing/selftests/bpf/test_loader.c
1296
((struct btf_type *)btf__type_by_id(prog_btf, i))->type = new_proto_id;
tools/testing/selftests/bpf/test_loader.c
352
const struct btf_type *t;
tools/testing/selftests/bpf/test_progs.c
1261
const struct btf_type *t;
tools/testing/selftests/bpf/veristat.c
1216
const struct btf_type *t, *mt;
tools/testing/selftests/bpf/veristat.c
1284
const struct btf_type *t;
tools/testing/selftests/bpf/veristat.c
1845
static bool is_signed_type(const struct btf_type *t)
tools/testing/selftests/bpf/veristat.c
1854
static int enum_value_from_name(const struct btf *btf, const struct btf_type *t,
tools/testing/selftests/bpf/veristat.c
1886
static bool is_preset_supported(const struct btf_type *t)
tools/testing/selftests/bpf/veristat.c
1893
const struct btf_type *t;
tools/testing/selftests/bpf/veristat.c
1937
const struct btf_type *t;
tools/testing/selftests/bpf/veristat.c
1965
const struct btf_type *parent_type,
tools/testing/selftests/bpf/veristat.c
1979
const struct btf_type *member_type;
tools/testing/selftests/bpf/veristat.c
2016
static int adjust_var_secinfo(struct btf *btf, const struct btf_type *t,
tools/testing/selftests/bpf/veristat.c
2019
const struct btf_type *base_type;
tools/testing/selftests/bpf/veristat.c
2061
const struct btf_type *base_type;
tools/testing/selftests/bpf/veristat.c
2126
const struct btf_type *t;
tools/testing/selftests/bpf/veristat.c
2153
const struct btf_type *var_type = btf__type_by_id(btf, sinfo->type);