Searched refs:var_type (Results 1 – 1 of 1) sorted by relevance
/kernel/bpf/ |
D | btf.c | 3331 const struct btf_type *var_type = btf_type_by_id(btf, var->type); in btf_find_datasec_var() local 3335 if (name && strcmp(__btf_name_by_offset(btf, var_type->name_off), name)) in btf_find_datasec_var() 3345 ret = btf_find_struct(btf, var_type, off, sz, in btf_find_datasec_var() 3351 ret = btf_find_kptr(btf, var_type, off, sz, in btf_find_datasec_var() 4179 const struct btf_type *var_type = btf_type_by_id(env->btf, in btf_datasec_resolve() local 4181 if (!var_type || !btf_type_is_var(var_type)) { in btf_datasec_resolve() 4187 if (!env_type_is_resolve_sink(env, var_type) && in btf_datasec_resolve() 4190 return env_stack_push(env, var_type, var_type_id); in btf_datasec_resolve() 4193 type_id = var_type->type; in btf_datasec_resolve()
|