Searched refs:btf_data (Results 1 – 11 of 11) sorted by relevance
/linux-6.12.1/scripts/ |
D | link-vmlinux.sh | 110 local btf_data=${1}.btf.o 112 info BTF "${btf_data}" 121 --strip-all ${1} "${btf_data}" 2>/dev/null 129 printf "${et_rel}" | dd of="${btf_data}" conv=notrunc bs=1 seek=16 status=none 131 btf_vmlinux_bin_o=${btf_data}
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | verifier_log.c | 252 static const void *btf_data; variable 259 fd = bpf_btf_load(btf_data, btf_data_sz, opts); in load_btf() 297 btf_data = btf__raw_data(btf, &btf_data_sz); in verif_btf_log_subtest() 298 if (!ASSERT_OK_PTR(btf_data, "btf_data")) in verif_btf_log_subtest()
|
/linux-6.12.1/tools/lib/bpf/ |
D | gen_loader.c | 421 int btf_data, btf_load_attr; in bpf_gen__load_btf() local 426 btf_data = add_data(gen, btf_raw_data, btf_raw_size); in bpf_gen__load_btf() 439 emit_rel_store(gen, attr_field(btf_load_attr, btf), btf_data); in bpf_gen__load_btf()
|
D | bpf.h | 145 LIBBPF_API int bpf_btf_load(const void *btf_data, size_t btf_size,
|
D | bpf.c | 1203 int bpf_btf_load(const void *btf_data, size_t btf_size, struct bpf_btf_load_opts *opts) in bpf_btf_load() argument 1228 attr.btf = ptr_to_u64(btf_data); in bpf_btf_load()
|
D | btf.c | 1094 Elf_Data *btf_data; member 1142 field = &secs->btf_data; in btf_find_elf_sections() 1196 if (!secs.btf_data) { in btf_parse_elf() 1212 btf = btf_new(secs.btf_data->d_buf, secs.btf_data->d_size, in btf_parse_elf()
|
D | libbpf.c | 3205 Elf_Data *btf_data, in bpf_object__init_btf() argument 3210 if (btf_data) { in bpf_object__init_btf() 3211 obj->btf = btf__new(btf_data->d_buf, btf_data->d_size); in bpf_object__init_btf() 3783 Elf_Data *btf_data = NULL; in bpf_object__elf_collect() local 3878 btf_data = data; in bpf_object__elf_collect() 3962 return bpf_object__init_btf(obj, btf_data, btf_ext_data); in bpf_object__elf_collect()
|
/linux-6.12.1/include/linux/ |
D | module.h | 519 void *btf_data; member
|
/linux-6.12.1/kernel/module/ |
D | main.c | 2168 mod->btf_data = any_section_objs(info, ".BTF", 1, &mod->btf_data_size); in find_module_sections() 2596 mod->btf_data = NULL; in do_init_module()
|
/linux-6.12.1/tools/testing/selftests/bpf/ |
D | Makefile | 711 $(Q)$(RESOLVE_BTFIDS) --btf $(TRUNNER_OUTPUT)/btf_data.bpf.o $$@
|
/linux-6.12.1/kernel/bpf/ |
D | btf.c | 5717 bpfptr_t btf_data = make_bpfptr(attr->btf, uattr.is_kernel); in btf_parse() local 5756 if (copy_from_bpfptr(data, btf_data, attr->btf_size)) { in btf_parse() 7879 btf = btf_parse_module(mod->name, mod->btf_data, mod->btf_data_size, in btf_module_notify()
|