Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/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()
2494 t->info = btf_type_info(BTF_KIND_VAR, 0, 0); in btf__add_var()
3676 case BTF_KIND_VAR: in btf_dedup_prep()
3747 case BTF_KIND_VAR: in btf_dedup_prim_type()
4713 case BTF_KIND_VAR: in btf_type_visit_type_ids()
Dbtf_dump.c334 case BTF_KIND_VAR: in btf_dump_mark_referenced()
604 case BTF_KIND_VAR: in btf_dump_order_type()
2375 case BTF_KIND_VAR: in btf_dump_dump_type_data()
Dgen_loader.c869 case BTF_KIND_VAR: in emit_relo()
908 if (gen->ksyms[i].kind == BTF_KIND_VAR && !gen->ksyms[i].typeless) { in cleanup_relos()
Dlinker.c1341 case BTF_KIND_VAR: in glob_sym_btf_matches()
1395 case BTF_KIND_VAR: in glob_sym_btf_matches()
Dlibbpf.c2052 case BTF_KIND_VAR: return "var"; in __btf_kind_str()
4555 BTF_TYPE_ENC(1, BTF_INFO_ENC(BTF_KIND_VAR, 0, 0), 1), in probe_kern_btf_datasec()
4585 BTF_TYPE_ENC(1, BTF_INFO_ENC(BTF_KIND_VAR, 0, 0), 1), in probe_kern_btf_decl_tag()
7063 BTF_KIND_VAR, relo->insn_idx); in bpf_program_record_relos()
7421 id = find_ksym_btf_id(obj, ext->name, BTF_KIND_VAR, &btf, &mod_btf); in bpf_object__resolve_ksym_var_btf_id()
/linux-6.1.9/include/uapi/linux/
Dbtf.h74 BTF_KIND_VAR = 14, /* Variable */ enumerator
/linux-6.1.9/tools/include/uapi/linux/
Dbtf.h74 BTF_KIND_VAR = 14, /* Variable */ enumerator
/linux-6.1.9/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.1.9/include/linux/
Dbtf.h303 return BTF_INFO_KIND(t->info) == BTF_KIND_VAR; in btf_type_is_var()
/linux-6.1.9/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.1.9/tools/testing/selftests/bpf/prog_tests/
Dbtf_write.c256 ASSERT_EQ(btf_kind(t), BTF_KIND_VAR, "var_kind"); in gen_btf()
Dbtf.c7647 case BTF_KIND_VAR: in btf_type_size()
/linux-6.1.9/tools/build/feature/
DMakefile375 grep BTF_KIND_VAR
/linux-6.1.9/kernel/bpf/
Dbtf.c307 [BTF_KIND_VAR] = "VAR",
4557 [BTF_KIND_VAR] = &var_ops,