Home
last modified time | relevance | path

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

/linux-6.6.21/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()
305 __u32 var_type_id; in codegen_subskel_datasecs() local
339 var_type_id = var->type; in codegen_subskel_datasecs()
361 err = btf_dump__emit_type_decl(d, var_type_id, &opts); in codegen_subskel_datasecs()
/linux-6.6.21/tools/lib/bpf/
Dbtf.h215 LIBBPF_API int btf__add_datasec_var_info(struct btf *btf, int var_type_id,
Dbtf.c2567 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
2580 if (validate_type_id(var_type_id)) in btf__add_datasec_var_info()
2592 v->type = var_type_id; in btf__add_datasec_var_info()
/linux-6.6.21/kernel/bpf/
Dbtf.c4551 u32 var_type_id = vsi->type, type_id, type_size = 0; in btf_datasec_resolve() local
4553 var_type_id); in btf_datasec_resolve()
4561 !env_type_is_resolved(env, var_type_id)) { in btf_datasec_resolve()
4563 return env_stack_push(env, var_type, var_type_id); in btf_datasec_resolve()