Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/prog_tests/
Dbtf_endian.c71 var_id = btf__add_var(btf, "some_var", BTF_VAR_GLOBAL_ALLOCATED, 1); in test_btf_endian()
93 ASSERT_EQ(btf_var(t)->linkage, BTF_VAR_GLOBAL_ALLOCATED, "var_linkage"); in test_btf_endian()
Dbtf_write.c252 id = btf__add_var(btf, "var1", BTF_VAR_GLOBAL_ALLOCATED, 1); in gen_btf()
258 ASSERT_EQ(btf_var(t)->linkage, BTF_VAR_GLOBAL_ALLOCATED, "var_type"); in gen_btf()
/tools/include/uapi/linux/
Dbtf.h152 BTF_VAR_GLOBAL_ALLOCATED = 1, enumerator
/tools/testing/selftests/bpf/
Dbtf_helpers.c60 case BTF_VAR_GLOBAL_ALLOCATED: in btf_var_linkage_str()
/tools/bpf/bpftool/
Dbtf.c67 case BTF_VAR_GLOBAL_ALLOCATED: in btf_var_linkage_str()
/tools/lib/bpf/
Dlinker.c1755 btf_var(dst_t)->linkage = BTF_VAR_GLOBAL_ALLOCATED; in complete_extern_btf_info()
2209 if (var_linkage != BTF_VAR_GLOBAL_ALLOCATED) in linker_fixup_btf()
Dlibbpf.c2509 case BTF_VAR_GLOBAL_ALLOCATED: return "global"; in btf_var_linkage_str()
2547 if (var_extra->linkage != BTF_VAR_GLOBAL_ALLOCATED) { in bpf_object__init_user_btf_map()
3764 BTF_VAR_GLOBAL_ALLOCATED, in add_dummy_ksym_var()
3948 btf_var(vt)->linkage = BTF_VAR_GLOBAL_ALLOCATED; in bpf_object__collect_externs()
3984 btf_var(t)->linkage = BTF_VAR_GLOBAL_ALLOCATED; in bpf_object__collect_externs()
Dbtf.c2487 if (linkage != BTF_VAR_STATIC && linkage != BTF_VAR_GLOBAL_ALLOCATED && in btf__add_var()