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 | 255 id = btf__add_var(btf, "var1", BTF_VAR_GLOBAL_ALLOCATED, 1); in test_btf_write() 261 ASSERT_EQ(btf_var(t)->linkage, BTF_VAR_GLOBAL_ALLOCATED, "var_type"); in test_btf_write()
|
/tools/include/uapi/linux/ |
D | btf.h | 146 BTF_VAR_GLOBAL_ALLOCATED = 1, enumerator
|
/tools/testing/selftests/bpf/ |
D | btf_helpers.c | 57 case BTF_VAR_GLOBAL_ALLOCATED: in btf_var_linkage_str()
|
/tools/bpf/bpftool/ |
D | btf.c | 73 case BTF_VAR_GLOBAL_ALLOCATED: in btf_var_linkage_str()
|
/tools/lib/bpf/ |
D | linker.c | 1747 btf_var(dst_t)->linkage = BTF_VAR_GLOBAL_ALLOCATED; in complete_extern_btf_info() 2201 if (var_linkage != BTF_VAR_GLOBAL_ALLOCATED) in linker_fixup_btf()
|
D | libbpf.c | 2300 case BTF_VAR_GLOBAL_ALLOCATED: return "global"; in btf_var_linkage_str() 2338 if (var_extra->linkage != BTF_VAR_GLOBAL_ALLOCATED) { in bpf_object__init_user_btf_map() 3303 BTF_VAR_GLOBAL_ALLOCATED, in add_dummy_ksym_var() 3482 btf_var(vt)->linkage = BTF_VAR_GLOBAL_ALLOCATED; in bpf_object__collect_externs() 3518 btf_var(t)->linkage = BTF_VAR_GLOBAL_ALLOCATED; in bpf_object__collect_externs()
|
D | btf.c | 2344 if (linkage != BTF_VAR_STATIC && linkage != BTF_VAR_GLOBAL_ALLOCATED && in btf__add_var()
|