Home
last modified time | relevance | path

Searched refs:var_type_id (Results 1 – 4 of 4) sorted by relevance

/linux/tools/bpf/bpftool/
H A Dgen.c181 __u32 var_type_id = var->type; in codegen_datasec_def() local
230 err = btf_dump__emit_type_decl(d, var_type_id, &opts); in codegen_datasec_def()
352 __u32 var_type_id; in codegen_subskel_datasecs() local
386 var_type_id = var->type; in codegen_subskel_datasecs()
408 err = btf_dump__emit_type_decl(d, var_type_id, &opts); in codegen_subskel_datasecs()
/linux/tools/lib/bpf/
H A Dbtf.h268 LIBBPF_API int btf__add_datasec_var_info(struct btf *btf, int var_type_id,
H A Dbtf.c3239 int btf__add_datasec_var_info(struct btf *btf, int var_type_id, __u32 offset, __u32 byte_sz) in btf__add_datasec_var_info() argument
3253 if (validate_type_id(var_type_id)) in btf__add_datasec_var_info()
3266 v->type = var_type_id; in btf__add_datasec_var_info()
/linux/kernel/bpf/
H A Dbtf.c4983 u32 var_type_id = vsi->type, type_id, type_size = 0; in btf_datasec_resolve() local
4985 var_type_id); in btf_datasec_resolve()
4993 !env_type_is_resolved(env, var_type_id)) { in btf_datasec_resolve()
4995 return env_stack_push(env, var_type, var_type_id); in btf_datasec_resolve()