Home
last modified time | relevance | path

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

/linux-6.1.9/tools/bpf/bpftool/
Dgen.c152 __u32 var_type_id = var->type; in codegen_datasec_def() local
201 err = btf_dump__emit_type_decl(d, var_type_id, &opts); in codegen_datasec_def()
306 __u32 var_type_id; in codegen_subskel_datasecs() local
340 var_type_id = var->type; in codegen_subskel_datasecs()
362 err = btf_dump__emit_type_decl(d, var_type_id, &opts); in codegen_subskel_datasecs()
/linux-6.1.9/tools/lib/bpf/
Dbtf.h215 LIBBPF_API int btf__add_datasec_var_info(struct btf *btf, int var_type_id,
Dbtf.c2554 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
2567 if (validate_type_id(var_type_id)) in btf__add_datasec_var_info()
2579 v->type = var_type_id; in btf__add_datasec_var_info()
/linux-6.1.9/kernel/bpf/
Dbtf.c4167 u32 var_type_id = vsi->type, type_id, type_size = 0; in btf_datasec_resolve() local
4169 var_type_id); in btf_datasec_resolve()
4177 !env_type_is_resolved(env, var_type_id)) { in btf_datasec_resolve()
4179 return env_stack_push(env, var_type, var_type_id); in btf_datasec_resolve()