Home
last modified time | relevance | path

Searched refs:BTF_VAR_STATIC (Results 1 – 11 of 11) sorted by relevance

/tools/testing/selftests/bpf/prog_tests/
A Dbtf_field_iter.c77 btf__add_var(btf, "var1", BTF_VAR_STATIC, 1); /* [15] static int var1; */ in test_btf_field_iter()
78 btf__add_var(btf, "var2", BTF_VAR_STATIC, 3); /* [16] static int *var2; */ in test_btf_field_iter()
A Dbtf.c3545 BTF_VAR_STATIC,
3560 BTF_VAR_STATIC,
3577 BTF_VAR_STATIC,
/tools/include/uapi/linux/
A Dbtf.h152 BTF_VAR_STATIC = 0, enumerator
/tools/lib/bpf/
A Dfeatures.c138 BTF_VAR_STATIC, in probe_kern_btf_datasec()
157 BTF_VAR_STATIC, in probe_kern_btf_qmark_datasec()
187 BTF_VAR_STATIC, in probe_kern_btf_decl_tag()
A Dlinker.c1594 is_static1 = btf_var(t1)->linkage == BTF_VAR_STATIC; in glob_sym_btf_matches()
1595 is_static2 = btf_var(t2)->linkage == BTF_VAR_STATIC; in glob_sym_btf_matches()
1839 return (btf_is_var(t) && btf_var(t)->linkage != BTF_VAR_STATIC) in btf_is_non_static()
1883 if (btf_is_var(t) && btf_var(t)->linkage == BTF_VAR_STATIC) in find_glob_sym_btf()
A Dlibbpf.c1919 if (btf_var(vt)->linkage != BTF_VAR_STATIC) in map_is_mmapable()
2852 case BTF_VAR_STATIC: return "static"; in btf_var_linkage_str()
3380 if (var->linkage == BTF_VAR_STATIC || var->linkage == BTF_VAR_GLOBAL_EXTERN) in btf_fixup_datasec()
3409 var->linkage = BTF_VAR_STATIC; in btf_fixup_datasec()
A Dbtf.c2814 if (linkage != BTF_VAR_STATIC && linkage != BTF_VAR_GLOBAL_ALLOCATED && in btf__add_var()
/tools/testing/selftests/bpf/
A Dbtf_helpers.c58 case BTF_VAR_STATIC: in btf_var_linkage_str()
/tools/bpf/bpftool/
A Dgen.c178 if (btf_var(var)->linkage == BTF_VAR_STATIC) in codegen_datasec_def()
372 if (btf_var(var)->linkage == BTF_VAR_STATIC) in codegen_subskel_datasecs()
538 if (btf_var(var)->linkage == BTF_VAR_STATIC) in codegen_asserts()
1696 if (btf_var(var_type)->linkage == BTF_VAR_STATIC) in do_subskeleton()
1819 if (btf_var(var_type)->linkage == BTF_VAR_STATIC) in do_subskeleton()
A Dbtf_dumper.c692 if (var->linkage == BTF_VAR_STATIC) in __btf_dumper_type_only()
A Dbtf.c82 case BTF_VAR_STATIC: in btf_var_linkage_str()

Completed in 57 milliseconds