Home
last modified time | relevance | path

Searched refs:bpf_linker (Results 1 – 3 of 3) sorted by relevance

/linux/tools/lib/bpf/
H A Dlinker.c139 struct bpf_linker { struct
167 static int init_output_elf(struct bpf_linker *linker); argument
169 static int bpf_linker_add_file(struct bpf_linker *linker, int fd,
172 static int linker_load_obj_file(struct bpf_linker *linker,
180 static int linker_append_sec_data(struct bpf_linker *linker, struct src_obj *obj);
181 static int linker_append_elf_syms(struct bpf_linker *linker, struct src_obj *obj);
182 static int linker_append_elf_sym(struct bpf_linker *linker, struct src_obj *obj,
184 static int linker_append_elf_relos(struct bpf_linker *linker, struct src_obj *obj);
185 static int linker_append_btf(struct bpf_linker *linker, struct src_obj *obj);
186 static int linker_append_btf_ext(struct bpf_linker *linker, struct src_obj *obj);
[all …]
H A Dlibbpf.h1798 struct bpf_linker;
1800 LIBBPF_API struct bpf_linker *bpf_linker__new(const char *filename, struct bpf_linker_opts *opts);
1801 LIBBPF_API struct bpf_linker *bpf_linker__new_fd(int fd, struct bpf_linker_opts *opts);
1802 LIBBPF_API int bpf_linker__add_file(struct bpf_linker *linker,
1805 LIBBPF_API int bpf_linker__add_fd(struct bpf_linker *linker, int fd,
1807 LIBBPF_API int bpf_linker__add_buf(struct bpf_linker *linker, void *buf, size_t buf_sz,
1809 LIBBPF_API int bpf_linker__finalize(struct bpf_linker *linker);
1810 LIBBPF_API void bpf_linker__free(struct bpf_linker *linker);
/linux/tools/bpf/bpftool/
H A Dgen.c1879 struct bpf_linker *linker; in do_object()