btf_type_by_id
state = btf_type_by_id(reg->btf, type_id);
t = btf_type_by_id(reg->btf, reg->btf_id);
const struct btf_type *btf_type_by_id(const struct btf *btf, u32 type_id);
mt = btf_type_by_id(btf, member->type);
common_value_type = btf_type_by_id(btf_vmlinux,
mt = btf_type_by_id(btf, member->type);
stub_func_proto = btf_type_by_id(btf, stub_func_id);
stub_func_proto = btf_type_by_id(btf, stub_func_proto->type);
t = btf_type_by_id(btf, type_id);
st_ops_desc->value_type = btf_type_by_id(btf, value_id);
mtype = btf_type_by_id(btf, member->type);
module_type = btf_type_by_id(btf_vmlinux, st_ops_ids[IDX_MODULE_ID]);
mtype = btf_type_by_id(st_map->btf, member->type);
vt = btf_type_by_id(btf, value_id);
const struct btf_type *t = btf_type_by_id(btf, id);
t = btf_type_by_id(btf, t->type);
t = btf_type_by_id(show->btf, id);
type = btf_type_by_id(btf, type->type);
type = btf_type_by_id(btf, array->type);
return btf_type_by_id(btf, *type_id);
size_type = btf_type_by_id(btf, size_type_id);
size_type = btf_type_by_id(btf, size_type_id);
next_type = btf_type_by_id(btf, next_type_id);
next_type = btf_type_by_id(btf, next_type_id);
next_type = btf_type_by_id(btf, next_type_id);
index_type = btf_type_by_id(btf, index_type_id);
elem_type = btf_type_by_id(btf, elem_type_id);
last_member_type = btf_type_by_id(env->btf,
const struct btf_type *member_type = btf_type_by_id(env->btf,
t = btf_type_by_id(btf, t->type);
t = btf_type_by_id(btf, t->type);
if (btf_type_is_type_tag(btf_type_by_id(btf, t->type)))
const struct btf_type *t = btf_type_by_id(btf, i);
if (pt != btf_type_by_id(btf, t->type))
t = btf_type_by_id(btf, id);
var_type = btf_type_by_id(btf, array->type);
const struct btf_type *member_type = btf_type_by_id(btf,
const struct btf_type *var = btf_type_by_id(btf, vsi->type);
const struct btf_type *var_type = btf_type_by_id(btf, var->type);
t = btf_type_by_id(btf, info->kptr.type_id);
dtor_func = btf_type_by_id(kptr_btf, dtor_btf_id);
t = btf_type_by_id(btf, info->graph_root.value_btf_id);
n = btf_type_by_id(btf, member->type);
t = btf_type_by_id(rec->fields[i].kptr.btf,
const struct btf_type *member_type = btf_type_by_id(btf,
const struct btf_type *var_type = btf_type_by_id(env->btf,
var = btf_type_by_id(btf, vsi->type);
next_type = btf_type_by_id(btf, next_type_id);
next_type = btf_type_by_id(btf, next_type->type);
ret_type = btf_type_by_id(btf, ret_type_id);
arg_type = btf_type_by_id(btf, arg_type_id);
proto_type = btf_type_by_id(btf, t->type);
t = btf_type_by_id(btf, type_id);
const struct btf_type *t = btf_type_by_id(btf, i);
t = btf_type_by_id(btf, i);
t = btf_type_by_id(btf, i);
const struct btf_type *ta = btf_type_by_id(btf, i - 1);
const struct btf_type *tb = btf_type_by_id(btf, i);
t = btf_type_by_id(btf, i);
t = btf_type_by_id(btf, cur_id);
return btf_type_by_id(btf_vmlinux, ctx_type->type);
t = btf_type_by_id(btf, t->type);
t = btf_type_by_id(btf, t->type);
t = btf_type_by_id(btf, t->type);
ctx_type = btf_type_by_id(btf_vmlinux, ctx_type->type);
t = btf_type_by_id(btf, t->type);
t = btf_type_by_id(btf, t->type);
t = btf_type_by_id(btf, t->type);
t = btf_type_by_id(btf, m);
ctx_type = btf_type_by_id(btf_vmlinux, ctx_type->type);
kctx_type = btf_type_by_id(btf_vmlinux, kctx_type_id);
bpf_ctx_convert.t = btf_type_by_id(btf, bpf_ctx_convert_btf_id[0]);
t = btf_type_by_id(btf, id);
t = btf_type_by_id(btf, args[i].type);
t = btf_type_by_id(btf, id);
t = btf_type_by_id(btf, t->type);
t = btf_type_by_id(btf, args[arg].type);
t = btf_type_by_id(btf, t->type);
t = btf_type_by_id(btf, prog->aux->attach_btf_id);
t = btf_type_by_id(btf, t->type);
t = btf_type_by_id(btf, t->type);
mtype = btf_type_by_id(btf, member->type);
const struct btf_type *t = btf_type_by_id(btf, id);
t = btf_type_by_id(btf, mtype->type);
t = btf_type_by_id(btf, t->type);
t = btf_type_by_id(btf, id);
t = btf_type_by_id(btf, id);
return btf_type_by_id(btf1, id1) == btf_type_by_id(btf2, id2);
type = btf_type_by_id(btf, id);
*ret_type = btf_type_by_id(btf, 0);
t = btf_type_by_id(btf, btf_id);
t = btf_type_by_id(btf, t->type);
t1 = btf_type_by_id(btf1, t1->type);
t2 = btf_type_by_id(btf2, t2->type);
t1 = btf_type_by_id(btf1, btf_id);
t = btf_type_by_id(btf, t->type); /* skip PTR */
t = btf_type_by_id(btf, t->type);
t = btf_type_by_id(btf, t->type);
t = btf_type_by_id(btf, t->type);
fn_t = btf_type_by_id(btf, btf_id);
t = btf_type_by_id(btf, fn_t->type);
t = btf_type_by_id(btf, t->type);
t = btf_type_by_id(btf, t->type);
const struct btf_type *tag_t = btf_type_by_id(btf, id);
t = btf_type_by_id(btf, args[i].type);
t = btf_type_by_id(btf, t->type);
ref_t = btf_type_by_id(vmlinux_btf, kern_type_id);
const struct btf_type *t = btf_type_by_id(btf, type_id);
t = btf_type_by_id(btf, btf_id);
t = btf_type_by_id(btf, func->type);
func = btf_type_by_id(btf, func_id);
func = btf_type_by_id(btf, func->type);
dtor_func = btf_type_by_id(btf, dtor_btf_id);
dtor_func_proto = btf_type_by_id(btf, dtor_func->type);
t = btf_type_by_id(btf, dtor_func_proto->type);
t = btf_type_by_id(btf, args[0].type);
t = btf_type_by_id(btf, t->type);
t = btf_type_by_id(targ_btf, i);
local_type = btf_type_by_id(local_btf, local_type_id);
type = btf_type_by_id(ctx->btf, relo->type_id);
walk_type = btf_type_by_id(btf, reg->btf_id);
safe_type = btf_type_by_id(btf, safe_id);
const struct btf_type *mtype = btf_type_by_id(btf, member->type);
reg_type = btf_type_by_id(reg_btf, reg_id);
arg_type = btf_type_by_id(arg_btf, arg_id);
EXPORT_SYMBOL_GPL(btf_type_by_id);
type = btf_type_by_id(prog->aux->btf,
*btf_enums[i].type = btf_type_by_id(btf, id);
return btf_name_by_offset(btf, btf_type_by_id(btf, id)->name_off);
key_type = btf_type_by_id(btf, 0);
t = btf_type_by_id(field->kptr.btf, field->kptr.btf_id);
type = btf_type_by_id(reg->btf, reg->btf_id);
return t == btf_type_by_id(btf_vmlinux, kf_arg_btf_ids[KF_ARG_RB_NODE_ID]);
return t == btf_type_by_id(btf_vmlinux, kf_arg_btf_ids[KF_ARG_LIST_NODE_ID]);
et = btf_type_by_id(field->graph_root.btf, field->graph_root.value_btf_id);
t = btf_type_by_id(reg->btf, reg->btf_id);
ref_t = btf_type_by_id(btf_vmlinux, ref_id);
ret_t = btf_type_by_id(ret_btf, ret_btf_id);
ret_t = btf_type_by_id(desc_btf, meta->arg_constant.value);
reg_type = reg->btf ? btf_type_by_id(reg->btf, reg->btf_id) : NULL;
cs->is_void = btf_type_is_void(btf_type_by_id(meta.btf, meta.func_proto->type));
type = btf_type_by_id(btf, krecord[i].type_id);
func_proto = btf_type_by_id(btf, type->type);
type = btf_type_by_id(btf, krecord[i].type_id);
func_proto = btf_type_by_id(btf, type->type);
t = btf_type_by_id(btf, i);
t = btf_type_by_id(btf, id);
datasec = btf_type_by_id(btf, datasec_id);
t = btf_type_by_id(btf, btf_id);
t = btf_type_by_id(btf, t->type);
t = btf_type_by_id(btf, ret);
t = btf_type_by_id(btf, t->type);
t = btf_type_by_id(btf, t->type);
t = btf_type_by_id(btf, t->type);
t = btf_type_by_id(btf, main_btf_id);
t = btf_type_by_id(btf, id);
func = btf_type_by_id(btf, impl_id);
return btf_type_by_id(btf, func->type);
func = btf_type_by_id(btf, func_id);
func_proto = btf_type_by_id(btf, func->type);
return btf_name_by_offset(btf, btf_type_by_id(btf, id)->name_off);
func = btf_type_by_id(desc_btf, insn->imm);
t = btf_type_by_id(field->kptr.btf, field->kptr.btf_id);
const struct btf_type *t = btf_type_by_id(reg->btf, reg->btf_id);
t = btf_type_by_id(btf_vmlinux, *map->ops->map_btf_id);
t = btf_type_by_id(meta->btf, btf_id);
t = btf_type_by_id(reg->btf, reg->btf_id);
task_struct_type = btf_type_by_id(btf, btf_tracing_ids[BTF_TRACING_TYPE_TASK]);
t = btf_type_by_id(*btf, *btf_id);
type = btf_type_by_id(btf, tid);
t = btf_type_by_id(*btf_p, id);
t = btf_type_by_id(*btf_p, t->type);
t = btf_type_by_id(reg->btf, reg->btf_id);
state = btf_type_by_id(reg->btf, type_id);
tcp_sock_type = btf_type_by_id(btf, tcp_sock_id);
tcp_congestion_ops_type = btf_type_by_id(btf, type_id);
t = btf_type_by_id(reg->btf, reg->btf_id);
ncit = btf_type_by_id(reg->btf, btf_nf_conn_ids[1]);
nct = btf_type_by_id(reg->btf, btf_nf_conn_ids[0]);
t = btf_type_by_id(reg->btf, reg->btf_id);
skbt = btf_type_by_id(reg->btf, bpf_sk_buff_ids[0]);
qdisct = btf_type_by_id(reg->btf, bpf_qdisc_ids[0]);
t = btf_type_by_id(reg->btf, reg->btf_id);
return btf_type_by_id(btf, btf__type_cnt(btf) - 1);
t = btf_type_by_id(btf, id);
struct btf_type *t = btf_type_by_id(btf, id);
struct btf_type *t = btf_type_by_id(d->btf, i);
struct btf_type *t = btf_type_by_id(d->btf, d->btf->start_id + i);
t = btf_type_by_id(d->btf, type_id);
struct btf_type *t = btf_type_by_id(d->btf, type_id);
cand = btf_type_by_id(d->btf, cand_id);
cand = btf_type_by_id(d->btf, cand_id);
cand = btf_type_by_id(d->btf, cand_id);
t1 = btf_type_by_id(d->btf, id1);
t2 = btf_type_by_id(d->btf, id2);
cand_type = btf_type_by_id(d->btf, cand_id);
canon_type = btf_type_by_id(d->btf, canon_id);
t = btf_type_by_id(d->btf, type_id);
cand_type = btf_type_by_id(d->btf, cand_id);
t = btf_type_by_id(d->btf, type_id);
cand = btf_type_by_id(d->btf, cand_id);
cand = btf_type_by_id(d->btf, cand_id);
cand = btf_type_by_id(d->btf, cand_id);
cand = btf_type_by_id(d->btf, cand_id);
t = btf_type_by_id(d->btf, type_id);
struct btf_type *t = btf_type_by_id(d->btf, type_id);
cand_t = btf_type_by_id(d->btf, cand_id);
struct btf_type *t = btf_type_by_id(d->btf, d->btf->start_id + i);
struct btf_type *split_t = btf_type_by_id(dist->pipe.src, i);
base_t = btf_type_by_id(dist->pipe.src, *id);
t = btf_type_by_id(dist->pipe.src, i);
struct btf_type *t = btf_type_by_id(dist->pipe.dst, i);
t = btf_type_by_id(src_btf, i);
t = btf_type_by_id(btf, i);
return btf_type_by_id(btf->base_btf, type_id);
return btf_type_by_id((struct btf *)btf, type_id);
struct btf_type *ta = btf_type_by_id(btf, i - 1);
struct btf_type *tb = btf_type_by_id(btf, i);
t = btf_type_by_id(btf, m);
t = btf_type_by_id(btf, id);
struct btf_type *t = btf_type_by_id(r->btf, i);
t = btf_type_by_id(r->btf, next_id);
#define btf_type_by_id (struct btf_type *)btf_type_by_id
dist_t = btf_type_by_id(r->dist_base_btf, id);
base_t = btf_type_by_id(r->base_btf, id);
base_t = btf_type_by_id(r->base_btf, id);
dist_t = btf_type_by_id(r->dist_base_btf, dist_info->id);
dist_t = btf_type_by_id(r->dist_base_btf, id);
struct btf_type *t = btf_type_by_id(r->dist_base_btf, i);
struct btf_type *t = btf_type_by_id(r->btf, i);
struct btf_type *t = btf_type_by_id(r->btf, i);
datasec_type = btf_type_by_id(btf, bpf_map__btf_value_type_id(map));
var_type = btf_type_by_id(btf, var->type);
datasec_type = btf_type_by_id(btf, map->btf_value_type_id);
var_type = btf_type_by_id(btf, var->type);
struct btf_type *t = btf_type_by_id(obj->btf, i);
t = btf_type_by_id(obj->btf, j);
t = btf_type_by_id(obj->btf, i);
t = btf_type_by_id(obj->btf, t->type);
fn_t = btf_type_by_id(btf, orig_fn_id);
fn_proto_t = btf_type_by_id(btf, fn_t->type);
t = btf_type_by_id(btf, orig_proto_id);
fn_proto_t = btf_type_by_id(btf, fn_proto_id);
fn_t = btf_type_by_id(btf, fn_id);
fn_t = btf_type_by_id(btf, orig_fn_id);
fn_proto_t = btf_type_by_id(btf, fn_t->type);
fn_t = btf_type_by_id(btf, func_rec->type_id);
fn_proto_t = btf_type_by_id(btf, fn_t->type);
struct btf_type *btf_type_by_id(const struct btf *btf, __u32 type_id);
t = btf_type_by_id(obj->btf, i);
struct btf_type *dst_t = btf_type_by_id(dst_btf, dst_id);
struct btf_type *src_t = btf_type_by_id(src_btf, src_id);
src_t = btf_type_by_id(src_btf, src_t->type);
dst_t = btf_type_by_id(dst_btf, dst_t->type);
t = btf_type_by_id(obj->btf, i);
struct btf_type *dst_t = btf_type_by_id(linker->btf, i);
glob_t = btf_type_by_id(linker->btf, glob_sym->btf_id);
t = btf_type_by_id(linker->btf, new_id);
t = btf_type_by_id(spec->btf, type_id);
local_type = btf_type_by_id(local_btf, local_id);
local_type = btf_type_by_id(local_btf, local_id);
targ_type = btf_type_by_id(targ_btf, targ_id);
t = btf_type_by_id(btf, type_id);
local_type = btf_type_by_id(local_btf, local_id);
t = btf_type_by_id(spec->btf, acc->type_id);
t = btf_type_by_id(btf, acc->type_id);
t = btf_type_by_id(spec->btf, spec->spec[0].type_id);
orig_t = btf_type_by_id(local_spec->btf, res->orig_type_id);
new_t = btf_type_by_id(targ_spec->btf, res->new_type_id);
struct btf_type *t = btf_type_by_id(btf, id);