Searched refs:btf__add_var (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | btf_field_iter.c | 77 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()
|
D | btf_endian.c | 71 var_id = btf__add_var(btf, "some_var", BTF_VAR_GLOBAL_ALLOCATED, 1); in test_btf_endian()
|
D | btf_write.c | 252 id = btf__add_var(btf, "var1", BTF_VAR_GLOBAL_ALLOCATED, 1); in gen_btf()
|
/linux-6.12.1/tools/lib/bpf/ |
D | libbpf.map | 228 btf__add_var;
|
D | btf.h | 235 LIBBPF_API int btf__add_var(struct btf *btf, const char *name, int linkage, int type_id);
|
D | btf.c | 2719 int btf__add_var(struct btf *btf, const char *name, int linkage, int type_id) in btf__add_var() function
|
D | libbpf.c | 4161 dummy_var_btf_id = btf__add_var(btf, in add_dummy_ksym_var()
|