Searched refs:btf_data (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/tools/lib/bpf/ |
D | bpf.h | 123 LIBBPF_API int bpf_btf_load(const void *btf_data, size_t btf_size,
|
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.c | 1021 int bpf_btf_load(const void *btf_data, size_t btf_size, const struct bpf_btf_load_opts *opts) in bpf_btf_load() argument 1046 attr.btf = ptr_to_u64(btf_data); in bpf_btf_load()
|
D | btf.c | 912 Elf_Data *btf_data = NULL, *btf_ext_data = NULL; in btf_parse_elf() local 972 btf_data = elf_getdata(scn, 0); in btf_parse_elf() 973 if (!btf_data) { in btf_parse_elf() 992 if (!btf_data) { in btf_parse_elf() 996 btf = btf_new(btf_data->d_buf, btf_data->d_size, base_btf); in btf_parse_elf()
|
D | libbpf.c | 2763 Elf_Data *btf_data, in bpf_object__init_btf() argument 2768 if (btf_data) { in bpf_object__init_btf() 2769 obj->btf = btf__new(btf_data->d_buf, btf_data->d_size); in bpf_object__init_btf() 3311 Elf_Data *btf_data = NULL; in bpf_object__elf_collect() local 3406 btf_data = data; in bpf_object__elf_collect() 3477 return bpf_object__init_btf(obj, btf_data, btf_ext_data); in bpf_object__elf_collect()
|
/linux-6.1.9/include/linux/ |
D | module.h | 478 void *btf_data; member
|
/linux-6.1.9/tools/testing/selftests/bpf/ |
D | Makefile | 512 $(Q)$(RESOLVE_BTFIDS) --btf $(TRUNNER_OUTPUT)/btf_data.bpf.o $$@
|
/linux-6.1.9/kernel/module/ |
D | main.c | 2050 mod->btf_data = any_section_objs(info, ".BTF", 1, &mod->btf_data_size); in find_module_sections() 2507 mod->btf_data = NULL; in do_init_module()
|
/linux-6.1.9/kernel/bpf/ |
D | btf.c | 4973 static struct btf *btf_parse(bpfptr_t btf_data, u32 btf_data_size, in btf_parse() argument 5021 if (copy_from_bpfptr(data, btf_data, btf_data_size)) { in btf_parse() 7112 btf = btf_parse_module(mod->name, mod->btf_data, mod->btf_data_size); in btf_module_notify()
|