Searched refs:BTF_VAR_GLOBAL_ALLOCATED (Results 1 – 8 of 8) sorted by relevance
/tools/testing/selftests/bpf/prog_tests/ |
D | btf_endian.c | 71 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()
|
D | btf_write.c | 252 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/ |
D | btf.h | 152 BTF_VAR_GLOBAL_ALLOCATED = 1, enumerator
|
/tools/testing/selftests/bpf/ |
D | btf_helpers.c | 60 case BTF_VAR_GLOBAL_ALLOCATED: in btf_var_linkage_str()
|
/tools/bpf/bpftool/ |
D | btf.c | 67 case BTF_VAR_GLOBAL_ALLOCATED: in btf_var_linkage_str()
|
/tools/lib/bpf/ |
D | linker.c | 1755 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()
|
D | libbpf.c | 2509 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()
|
D | btf.c | 2487 if (linkage != BTF_VAR_STATIC && linkage != BTF_VAR_GLOBAL_ALLOCATED && in btf__add_var()
|