Searched refs:BTF_VAR_GLOBAL_ALLOCATED (Results 1 – 8 of 8) sorted by relevance
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/ |
| H A 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()
|
| H A 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()
|
| /OK3568_Linux_fs/kernel/tools/include/uapi/linux/ |
| H A D | btf.h | 145 BTF_VAR_GLOBAL_ALLOCATED = 1, enumerator
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | btf.h | 145 BTF_VAR_GLOBAL_ALLOCATED = 1, enumerator
|
| /OK3568_Linux_fs/kernel/tools/bpf/bpftool/ |
| H A D | btf.c | 72 case BTF_VAR_GLOBAL_ALLOCATED: in btf_var_linkage_str()
|
| /OK3568_Linux_fs/kernel/tools/lib/bpf/ |
| H A 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()
|
| H A D | btf.c | 2193 if (linkage != BTF_VAR_STATIC && linkage != BTF_VAR_GLOBAL_ALLOCATED && in btf__add_var()
|
| /OK3568_Linux_fs/kernel/kernel/bpf/ |
| H A D | btf.c | 3433 var->linkage != BTF_VAR_GLOBAL_ALLOCATED) { in btf_var_check_meta()
|