Home
last modified time | relevance | path

Searched refs:btf_type (Results 1 - 8 of 8) sorted by relevance

/third_party/libbpf/src/
H A Dbtf.h25 struct btf_type;
130 LIBBPF_API const struct btf_type *btf__type_by_id(const struct btf *btf,
152 const struct btf_type *src_type);
320 static inline __u16 btf_kind(const struct btf_type *t) in btf_kind()
325 static inline __u16 btf_vlen(const struct btf_type *t) in btf_vlen()
330 static inline bool btf_kflag(const struct btf_type *t) in btf_kflag()
335 static inline bool btf_is_void(const struct btf_type *t) in btf_is_void()
340 static inline bool btf_is_int(const struct btf_type *t) in btf_is_int()
345 static inline bool btf_is_ptr(const struct btf_type *t) in btf_is_ptr()
350 static inline bool btf_is_array(const struct btf_type *
[all...]
H A Dbtf_dump.c314 const struct btf_type *t; in btf_dump_mark_referenced()
483 const struct btf_type *t; in btf_dump_order_type()
617 const struct btf_type *t);
620 const struct btf_type *t);
622 const struct btf_type *t, int lvl);
625 const struct btf_type *t);
627 const struct btf_type *t, int lvl);
630 const struct btf_type *t);
633 const struct btf_type *t, int lvl);
654 const struct btf_type * in btf_dump_is_blacklisted()
[all...]
H A Dbtf.c33 static struct btf_type btf_void;
86 /* type ID to `struct btf_type *` lookup index
292 static int btf_type_size(const struct btf_type *t) in btf_type_size()
294 const int base_size = sizeof(struct btf_type); in btf_type_size()
333 static void btf_bswap_type_base(struct btf_type *t) in btf_bswap_type_base()
340 static int btf_bswap_type_rest(struct btf_type *t) in btf_bswap_type_rest()
424 while (next_type + sizeof(struct btf_type) <= end_type) { in btf_parse_type_sec()
470 const struct btf_type *t; in btf_validate_id()
481 static int btf_validate_type(const struct btf *btf, const struct btf_type *t, __u32 id) in btf_validate_type()
553 const struct btf_type *f in btf_validate_type()
[all...]
H A Drelo_core.c11 static const char *btf_kind_str(const struct btf_type *t) in btf_kind_str()
21 static const struct btf_type *
34 const struct btf_type *t; in btf__resolve_size()
75 const struct btf_type *t; in is_flex_arr()
149 const struct btf_type *local_type, *targ_type; in __bpf_core_types_are_compat()
269 const struct btf_type *t; in bpf_core_parse_spec()
417 const struct btf_type *local_type, *targ_type; in bpf_core_fields_are_compat()
488 const struct btf_type *local_type, *targ_type; in bpf_core_match_member()
561 const struct btf_type *targ_type; in bpf_core_spec_match()
685 const struct btf_type * in bpf_core_calc_field_relo()
[all...]
H A Dlibbpf_internal.h262 struct btf_type;
264 struct btf_type *btf_type_by_id(const struct btf *btf, __u32 type_id);
265 const char *btf_kind_str(const struct btf_type *t);
266 const struct btf_type *skip_mods_and_typedefs(const struct btf *btf, __u32 id, __u32 *res_id);
268 static inline enum btf_func_linkage btf_func_linkage(const struct btf_type *t) in btf_func_linkage()
309 const struct btf_type *def_t, bool strict,
550 int btf_type_visit_type_ids(struct btf_type *t, type_id_visit_fn visit, void *ctx);
551 int btf_type_visit_str_offs(struct btf_type *t, str_off_visit_fn visit, void *ctx);
H A Dlinker.c940 struct btf_type *t; in linker_sanity_check_btf()
1302 const struct btf_type *t1, *t2; in glob_sym_btf_matches()
1586 const struct btf_type *t; in glob_map_defs_match()
1624 const struct btf_type *src_t; in glob_syms_match()
1652 static bool btf_is_non_static(const struct btf_type *t) in btf_is_non_static()
1662 const struct btf_type *t; in find_glob_sym_btf()
1745 struct btf_type *dst_t = btf_type_by_id(dst_btf, dst_id); in complete_extern_btf_info()
1746 struct btf_type *src_t = btf_type_by_id(src_btf, src_id); in complete_extern_btf_info()
1856 const struct btf_type *t; in linker_append_elf_sym()
2142 struct btf_type * in linker_fixup_btf()
[all...]
H A Dlibbpf.c474 const struct btf_type *type;
938 find_member_by_offset(const struct btf_type *t, __u32 bit_offset) in find_member_by_offset()
952 find_member_by_name(const struct btf *btf, const struct btf_type *t, in find_member_by_name()
972 const struct btf_type **type, __u32 *type_id, in find_struct_ops_kern_types()
973 const struct btf_type **vtype, __u32 *vtype_id, in find_struct_ops_kern_types()
976 const struct btf_type *kern_type, *kern_vtype; in find_struct_ops_kern_types()
1040 const struct btf_type *type, *kern_type, *kern_vtype; in bpf_map__init_kern_struct_ops()
1073 const struct btf_type *mtype, *kern_mtype; in bpf_map__init_kern_struct_ops()
1189 const struct btf_type *type, *datasec; in init_struct_ops_maps()
1696 const struct btf_type *
[all...]
/third_party/libbpf/include/uapi/linux/
H A Dbtf.h31 struct btf_type { struct
85 /* For some specific BTF_KIND, "struct btf_type" is immediately
103 * info in "struct btf_type").
120 * "struct btf_type").
143 * info in "struct btf_type").
192 * info in "struct btf_type").

Completed in 21 milliseconds