Home
last modified time | relevance | path

Searched refs:btf__add_var (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dbtf_field_iter.c77 btf__add_var(btf, "var1", BTF_VAR_STATIC, 1); /* [15] static int var1; */ in test_btf_field_iter()
78 btf__add_var(btf, "var2", BTF_VAR_STATIC, 3); /* [16] static int *var2; */ in test_btf_field_iter()
Dbtf_endian.c71 var_id = btf__add_var(btf, "some_var", BTF_VAR_GLOBAL_ALLOCATED, 1); in test_btf_endian()
Dbtf_write.c252 id = btf__add_var(btf, "var1", BTF_VAR_GLOBAL_ALLOCATED, 1); in gen_btf()
/linux-6.12.1/tools/lib/bpf/
Dlibbpf.map228 btf__add_var;
Dbtf.h235 LIBBPF_API int btf__add_var(struct btf *btf, const char *name, int linkage, int type_id);
Dbtf.c2719 int btf__add_var(struct btf *btf, const char *name, int linkage, int type_id) in btf__add_var() function
Dlibbpf.c4161 dummy_var_btf_id = btf__add_var(btf, in add_dummy_ksym_var()