Searched refs:bpf_linker (Results 1 – 3 of 3) sorted by relevance
/tools/lib/bpf/ |
D | linker.c | 134 struct bpf_linker { struct 159 static int init_output_elf(struct bpf_linker *linker, const char *file); argument 161 static int linker_load_obj_file(struct bpf_linker *linker, const char *filename, 170 static int linker_append_sec_data(struct bpf_linker *linker, struct src_obj *obj); 171 static int linker_append_elf_syms(struct bpf_linker *linker, struct src_obj *obj); 172 static int linker_append_elf_sym(struct bpf_linker *linker, struct src_obj *obj, 174 static int linker_append_elf_relos(struct bpf_linker *linker, struct src_obj *obj); 175 static int linker_append_btf(struct bpf_linker *linker, struct src_obj *obj); 176 static int linker_append_btf_ext(struct bpf_linker *linker, struct src_obj *obj); 178 static int finalize_btf(struct bpf_linker *linker); [all …]
|
D | libbpf.h | 909 struct bpf_linker; 911 LIBBPF_API struct bpf_linker *bpf_linker__new(const char *filename, struct bpf_linker_opts *opts); 912 LIBBPF_API int bpf_linker__add_file(struct bpf_linker *linker, 915 LIBBPF_API int bpf_linker__finalize(struct bpf_linker *linker); 916 LIBBPF_API void bpf_linker__free(struct bpf_linker *linker);
|
/tools/bpf/bpftool/ |
D | gen.c | 978 struct bpf_linker *linker; in do_object()
|