Home
last modified time | relevance | path

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

/linux/tools/lib/bpf/
H A Dbtf_iter.c41 case BTF_KIND_VAR: in btf_field_iter_init()
93 case BTF_KIND_VAR: in btf_field_iter_init()
H A Dbtf.h423 #ifndef BTF_KIND_VAR
424 #define BTF_KIND_VAR 14 /* Variable */ macro
544 return btf_kind(t) == BTF_KIND_VAR; in btf_is_var()
H A Dfeatures.c136 BTF_TYPE_ENC(1, BTF_INFO_ENC(BTF_KIND_VAR, 0, 0), 1), in probe_kern_btf_datasec()
155 BTF_TYPE_ENC(1, BTF_INFO_ENC(BTF_KIND_VAR, 0, 0), 1), in probe_kern_btf_qmark_datasec()
185 BTF_TYPE_ENC(1, BTF_INFO_ENC(BTF_KIND_VAR, 0, 0), 1), in probe_kern_btf_decl_tag()
H A Dbtf.c54 [BTF_KIND_VAR] = { sizeof(struct btf_var), 0, 0 },
483 case BTF_KIND_VAR: in btf_type_size()
559 case BTF_KIND_VAR: in btf_bswap_type_rest()
661 case BTF_KIND_VAR: in btf_validate_type()
958 case BTF_KIND_VAR: in btf__resolve_size()
3177 t->info = btf_type_info(BTF_KIND_VAR, 0, 0); in btf__add_var()
4586 case BTF_KIND_VAR: in btf_dedup_prep()
4659 case BTF_KIND_VAR: in btf_dedup_prim_type()
H A Dbtf_dump.c339 case BTF_KIND_VAR: in btf_dump_mark_referenced()
609 case BTF_KIND_VAR: in btf_dump_order_type()
2565 case BTF_KIND_VAR: in btf_dump_dump_type_data()
H A Dlinker.c1537 case BTF_KIND_VAR: in glob_sym_btf_matches()
1591 case BTF_KIND_VAR: in glob_sym_btf_matches()
H A Dlibbpf.c2475 case BTF_KIND_VAR: return "var"; in __btf_kind_str()
8362 BTF_KIND_VAR : BTF_KIND_FUNC; in bpf_program_record_relos()
8758 id = find_ksym_btf_id(obj, ext->name, BTF_KIND_VAR, &btf, &mod_btf); in bpf_object__resolve_ksym_var_btf_id()
/linux/tools/testing/selftests/bpf/
H A Dbtf_helpers.c24 [BTF_KIND_VAR] = "VAR",
185 case BTF_KIND_VAR: in fprintf_btf_type_raw()
H A Dtest_btf.h37 BTF_TYPE_ENC(name, BTF_INFO_ENC(BTF_KIND_VAR, 0, 0), type), (linkage)
/linux/tools/include/uapi/linux/
H A Dbtf.h89 BTF_KIND_VAR = 14, /* Variable */
177 /* BTF_KIND_VAR is followed by a single "struct btf_var" to describe
185 * to describe all BTF_KIND_VAR types it contains along with it's
74 BTF_KIND_VAR = 14, /* Variable */ global() enumerator
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsnprintf_btf.c108 if (!var && btf_kind(t) == BTF_KIND_VAR) { in test_snprintf_btf_void()
H A Dbtf_write.c256 ASSERT_EQ(btf_kind(t), BTF_KIND_VAR, "var_kind"); in gen_btf()
H A Dbtf.c3544 BTF_TYPE_ENC(1, BTF_INFO_ENC(BTF_KIND_VAR, 0, 0), 1),
3559 BTF_TYPE_ENC(1, BTF_INFO_ENC(BTF_KIND_VAR, 0, 0), 1),
3576 BTF_TYPE_ENC(1, BTF_INFO_ENC(BTF_KIND_VAR, 0, 0), 1),
8199 case BTF_KIND_VAR: in btf_type_size()
/linux/tools/bpf/bpftool/
H A Dbtf_dumper.c588 case BTF_KIND_VAR: in btf_dumper_do_type()
690 case BTF_KIND_VAR: in __btf_dumper_type_only()
H A Dbtf.c48 [BTF_KIND_VAR] = "VAR",
350 case BTF_KIND_VAR: { in dump_btf_type()
/linux/tools/build/feature/
H A DMakefile371 grep BTF_KIND_VAR; } > $(@:.bin=.make.output) 2>&1 && touch $@
/linux/include/linux/
H A Dbtf.h395 return BTF_INFO_KIND(t->info) == BTF_KIND_VAR; in btf_type_is_var()
/linux/kernel/bpf/
H A Dbtf.c342 [BTF_KIND_VAR] = "VAR",
5379 [BTF_KIND_VAR] = &var_ops,