Searched refs:BTF_VAR_GLOBAL_ALLOCATED (Results 1 – 6 of 6) sorted by relevance
/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() 95 ASSERT_EQ(btf_var(t)->linkage, BTF_VAR_GLOBAL_ALLOCATED, "var_linkage"); in test_btf_endian()
|
D | btf_write.c | 219 id = btf__add_var(btf, "var1", BTF_VAR_GLOBAL_ALLOCATED, 1); in test_btf_write() 225 ASSERT_EQ(btf_var(t)->linkage, BTF_VAR_GLOBAL_ALLOCATED, "var_type"); in test_btf_write()
|
/tools/include/uapi/linux/ |
D | btf.h | 145 BTF_VAR_GLOBAL_ALLOCATED = 1, enumerator
|
/tools/bpf/bpftool/ |
D | btf.c | 72 case BTF_VAR_GLOBAL_ALLOCATED: in btf_var_linkage_str()
|
/tools/lib/bpf/ |
D | libbpf.c | 2245 if (var_extra->linkage != BTF_VAR_GLOBAL_ALLOCATED && in bpf_object__init_user_btf_map() 3217 btf_var(vt)->linkage = BTF_VAR_GLOBAL_ALLOCATED; in bpf_object__collect_externs() 3252 btf_var(t)->linkage = BTF_VAR_GLOBAL_ALLOCATED; in bpf_object__collect_externs()
|
D | btf.c | 2206 if (linkage != BTF_VAR_STATIC && linkage != BTF_VAR_GLOBAL_ALLOCATED && in btf__add_var()
|