Home
last modified time | relevance | path

Searched refs:BTF_KIND_VAR (Results 1 – 17 of 17) sorted by relevance

/linux-6.6.21/tools/testing/selftests/bpf/
Dbtf_helpers.c24 [BTF_KIND_VAR] = "VAR",
185 case BTF_KIND_VAR: in fprintf_btf_type_raw()
Dtest_btf.h37 BTF_TYPE_ENC(name, BTF_INFO_ENC(BTF_KIND_VAR, 0, 0), type), (linkage)
/linux-6.6.21/tools/lib/bpf/
Dbtf.h308 #ifndef BTF_KIND_VAR
309 #define BTF_KIND_VAR 14 /* Variable */ macro
429 return btf_kind(t) == BTF_KIND_VAR; in btf_is_var()
Dbtf.c317 case BTF_KIND_VAR: in btf_type_size()
394 case BTF_KIND_VAR: in btf_bswap_type_rest()
631 case BTF_KIND_VAR: in btf__resolve_size()
2507 t->info = btf_type_info(BTF_KIND_VAR, 0, 0); in btf__add_var()
3692 case BTF_KIND_VAR: in btf_dedup_prep()
3763 case BTF_KIND_VAR: in btf_dedup_prim_type()
4835 case BTF_KIND_VAR: in btf_type_visit_type_ids()
Dbtf_dump.c335 case BTF_KIND_VAR: in btf_dump_mark_referenced()
605 case BTF_KIND_VAR: in btf_dump_order_type()
2491 case BTF_KIND_VAR: in btf_dump_dump_type_data()
Dlinker.c1353 case BTF_KIND_VAR: in glob_sym_btf_matches()
1407 case BTF_KIND_VAR: in glob_sym_btf_matches()
Dlibbpf.c2111 case BTF_KIND_VAR: return "var"; in __btf_kind_str()
4650 BTF_TYPE_ENC(1, BTF_INFO_ENC(BTF_KIND_VAR, 0, 0), 1), in probe_kern_btf_datasec()
4680 BTF_TYPE_ENC(1, BTF_INFO_ENC(BTF_KIND_VAR, 0, 0), 1), in probe_kern_btf_decl_tag()
7270 BTF_KIND_VAR : BTF_KIND_FUNC; in bpf_program_record_relos()
7631 id = find_ksym_btf_id(obj, ext->name, BTF_KIND_VAR, &btf, &mod_btf); in bpf_object__resolve_ksym_var_btf_id()
/linux-6.6.21/include/uapi/linux/
Dbtf.h74 BTF_KIND_VAR = 14, /* Variable */ enumerator
/linux-6.6.21/tools/include/uapi/linux/
Dbtf.h74 BTF_KIND_VAR = 14, /* Variable */ enumerator
/linux-6.6.21/tools/bpf/bpftool/
Dbtf_dumper.c588 case BTF_KIND_VAR: in btf_dumper_do_type()
690 case BTF_KIND_VAR: in __btf_dumper_type_only()
Dbtf.c38 [BTF_KIND_VAR] = "VAR",
337 case BTF_KIND_VAR: { in dump_btf_type()
/linux-6.6.21/include/linux/
Dbtf.h356 return BTF_INFO_KIND(t->info) == BTF_KIND_VAR; in btf_type_is_var()
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dbtf_write.c256 ASSERT_EQ(btf_kind(t), BTF_KIND_VAR, "var_kind"); in gen_btf()
Dbtf.c7979 case BTF_KIND_VAR: in btf_type_size()
/linux-6.6.21/Documentation/bpf/
Dbtf.rst85 #define BTF_KIND_VAR 14 /* Variable */
412 2.2.14 BTF_KIND_VAR
418 * ``info.kind``: BTF_KIND_VAR
463 * ``type``: the type of the BTF_KIND_VAR variable
/linux-6.6.21/tools/build/feature/
DMakefile374 grep BTF_KIND_VAR
/linux-6.6.21/kernel/bpf/
Dbtf.c328 [BTF_KIND_VAR] = "VAR",
4937 [BTF_KIND_VAR] = &var_ops,