Searched refs:btf__add_var (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | btf_endian.c | 73 var_id = btf__add_var(btf, "some_var", BTF_VAR_GLOBAL_ALLOCATED, 1); in test_btf_endian()
|
D | btf_write.c | 219 id = btf__add_var(btf, "var1", BTF_VAR_GLOBAL_ALLOCATED, 1); in test_btf_write()
|
/kernel/linux/linux-5.10/tools/lib/bpf/ |
D | libbpf.map | 327 btf__add_var;
|
D | btf.h | 121 LIBBPF_API int btf__add_var(struct btf *btf, const char *name, int linkage, int type_id);
|
D | btf.c | 2184 int btf__add_var(struct btf *btf, const char *name, int linkage, int type_id) in btf__add_var() function
|