Home
last modified time | relevance | path

Searched refs:BTF_VAR_GLOBAL_ALLOCATED (Results 1 – 6 of 6) sorted by relevance

/tools/testing/selftests/bpf/prog_tests/
Dbtf_endian.c73 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()
Dbtf_write.c219 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/
Dbtf.h145 BTF_VAR_GLOBAL_ALLOCATED = 1, enumerator
/tools/bpf/bpftool/
Dbtf.c72 case BTF_VAR_GLOBAL_ALLOCATED: in btf_var_linkage_str()
/tools/lib/bpf/
Dlibbpf.c2245 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()
Dbtf.c2206 if (linkage != BTF_VAR_STATIC && linkage != BTF_VAR_GLOBAL_ALLOCATED && in btf__add_var()