Home
last modified time | relevance | path

Searched refs:local_btf (Results 1 – 3 of 3) sorted by relevance

/third_party/libbpf/src/
Drelo_core.c146 int __bpf_core_types_are_compat(const struct btf *local_btf, __u32 local_id, in __bpf_core_types_are_compat() argument
153 local_type = btf_type_by_id(local_btf, local_id); in __bpf_core_types_are_compat()
163 local_type = skip_mods_and_typedefs(local_btf, local_id, &local_id); in __bpf_core_types_are_compat()
206 skip_mods_and_typedefs(local_btf, local_p->type, &local_id); in __bpf_core_types_are_compat()
208 err = __bpf_core_types_are_compat(local_btf, local_id, targ_btf, targ_id, in __bpf_core_types_are_compat()
215 skip_mods_and_typedefs(local_btf, local_type->type, &local_id); in __bpf_core_types_are_compat()
412 static int bpf_core_fields_are_compat(const struct btf *local_btf, in bpf_core_fields_are_compat() argument
420 local_type = skip_mods_and_typedefs(local_btf, local_id, &local_id); in bpf_core_fields_are_compat()
440 local_name = btf__name_by_offset(local_btf, in bpf_core_fields_are_compat()
481 static int bpf_core_match_member(const struct btf *local_btf, in bpf_core_match_member() argument
[all …]
Drelo_core.h71 int __bpf_core_types_are_compat(const struct btf *local_btf, __u32 local_id,
73 int bpf_core_types_are_compat(const struct btf *local_btf, __u32 local_id,
75 int __bpf_core_types_match(const struct btf *local_btf, __u32 local_id, const struct btf *targ_btf,
77 int bpf_core_types_match(const struct btf *local_btf, __u32 local_id, const struct btf *targ_btf,
84 const struct btf *local_btf,
Dlibbpf.c6007 bpf_core_find_cands(struct bpf_object *obj, const struct btf *local_btf, __u32 local_type_id) argument
6017 local_cand.btf = local_btf;
6019 local_t = btf__type_by_id(local_btf, local_type_id);
6023 local_name = btf__name_by_offset(local_btf, local_t->name_off);
6086 int bpf_core_types_are_compat(const struct btf *local_btf, __u32 local_id, argument
6089 return __bpf_core_types_are_compat(local_btf, local_id, targ_btf, targ_id, 32);
6092 int bpf_core_types_match(const struct btf *local_btf, __u32 local_id, argument
6095 return __bpf_core_types_match(local_btf, local_id, targ_btf, targ_id, false, 32);
6145 const struct btf *local_btf, argument
6157 local_type = btf__type_by_id(local_btf, local_id);
[all …]