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.c175 __u32 var_type_id = var->type; in codegen_datasec_def() local
224 err = btf_dump__emit_type_decl(d, var_type_id, &opts); in codegen_datasec_def()
335 __u32 var_type_id; in codegen_subskel_datasecs() local
369 var_type_id = var->type; in codegen_subskel_datasecs()
391 err = btf_dump__emit_type_decl(d, var_type_id, &opts); in codegen_subskel_datasecs()
/linux/tools/lib/bpf/
H A Dbtf.h237 LIBBPF_API int btf__add_datasec_var_info(struct btf *btf, int var_type_id,
H A Dbtf.c2807 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
2820 if (validate_type_id(var_type_id)) in btf__add_datasec_var_info()
2832 v->type = var_type_id; in btf__add_datasec_var_info()
/linux/kernel/bpf/
H A Dbtf.c4755 u32 var_type_id = vsi->type, type_id, type_size = 0; in btf_datasec_resolve() local
4757 var_type_id); in btf_datasec_resolve()
4765 !env_type_is_resolved(env, var_type_id)) { in btf_datasec_resolve()
4767 return env_stack_push(env, var_type, var_type_id); in btf_datasec_resolve()