Symbol: bpf_linker
tools/bpf/bpftool/gen.c
1939
struct bpf_linker *linker;
tools/lib/bpf/libbpf.h
1903
LIBBPF_API struct bpf_linker *bpf_linker__new(const char *filename, struct bpf_linker_opts *opts);
tools/lib/bpf/libbpf.h
1904
LIBBPF_API struct bpf_linker *bpf_linker__new_fd(int fd, struct bpf_linker_opts *opts);
tools/lib/bpf/libbpf.h
1905
LIBBPF_API int bpf_linker__add_file(struct bpf_linker *linker,
tools/lib/bpf/libbpf.h
1908
LIBBPF_API int bpf_linker__add_fd(struct bpf_linker *linker, int fd,
tools/lib/bpf/libbpf.h
1910
LIBBPF_API int bpf_linker__add_buf(struct bpf_linker *linker, void *buf, size_t buf_sz,
tools/lib/bpf/libbpf.h
1912
LIBBPF_API int bpf_linker__finalize(struct bpf_linker *linker);
tools/lib/bpf/libbpf.h
1913
LIBBPF_API void bpf_linker__free(struct bpf_linker *linker);
tools/lib/bpf/linker.c
1140
static int init_sec(struct bpf_linker *linker, struct dst_sec *dst_sec, struct src_sec *src_sec)
tools/lib/bpf/linker.c
1196
static struct dst_sec *find_dst_sec_by_name(struct bpf_linker *linker, const char *sec_name)
tools/lib/bpf/linker.c
1259
static int extend_sec(struct bpf_linker *linker, struct dst_sec *dst, struct src_sec *src)
tools/lib/bpf/linker.c
1353
static int linker_append_sec_data(struct bpf_linker *linker, struct src_obj *obj)
tools/lib/bpf/linker.c
1405
static int linker_append_elf_syms(struct bpf_linker *linker, struct src_obj *obj)
tools/lib/bpf/linker.c
1438
static Elf64_Sym *get_sym_by_idx(struct bpf_linker *linker, size_t sym_idx)
tools/lib/bpf/linker.c
1446
static struct glob_sym *find_glob_sym(struct bpf_linker *linker, const char *sym_name)
tools/lib/bpf/linker.c
1463
static struct glob_sym *add_glob_sym(struct bpf_linker *linker)
tools/lib/bpf/linker.c
166
static int init_output_elf(struct bpf_linker *linker);
tools/lib/bpf/linker.c
168
static int bpf_linker_add_file(struct bpf_linker *linker, int fd,
tools/lib/bpf/linker.c
171
static int linker_load_obj_file(struct bpf_linker *linker,
tools/lib/bpf/linker.c
1765
struct bpf_linker *linker, struct glob_sym *glob_sym,
tools/lib/bpf/linker.c
179
static int linker_append_sec_data(struct bpf_linker *linker, struct src_obj *obj);
tools/lib/bpf/linker.c
180
static int linker_append_elf_syms(struct bpf_linker *linker, struct src_obj *obj);
tools/lib/bpf/linker.c
1805
struct bpf_linker *linker, struct glob_sym *glob_sym,
tools/lib/bpf/linker.c
181
static int linker_append_elf_sym(struct bpf_linker *linker, struct src_obj *obj,
tools/lib/bpf/linker.c
183
static int linker_append_elf_relos(struct bpf_linker *linker, struct src_obj *obj);
tools/lib/bpf/linker.c
184
static int linker_append_btf(struct bpf_linker *linker, struct src_obj *obj);
tools/lib/bpf/linker.c
185
static int linker_append_btf_ext(struct bpf_linker *linker, struct src_obj *obj);
tools/lib/bpf/linker.c
187
static int finalize_btf(struct bpf_linker *linker);
tools/lib/bpf/linker.c
188
static int finalize_btf_ext(struct bpf_linker *linker);
tools/lib/bpf/linker.c
190
void bpf_linker__free(struct bpf_linker *linker)
tools/lib/bpf/linker.c
1995
static int linker_append_elf_sym(struct bpf_linker *linker, struct src_obj *obj,
tools/lib/bpf/linker.c
2196
static int linker_append_elf_relos(struct bpf_linker *linker, struct src_obj *obj)
tools/lib/bpf/linker.c
227
struct bpf_linker *bpf_linker__new(const char *filename, struct bpf_linker_opts *opts)
tools/lib/bpf/linker.c
229
struct bpf_linker *linker;
tools/lib/bpf/linker.c
2412
static int linker_append_btf(struct bpf_linker *linker, struct src_obj *obj)
tools/lib/bpf/linker.c
2630
static int linker_append_btf_ext(struct bpf_linker *linker, struct src_obj *obj)
tools/lib/bpf/linker.c
269
struct bpf_linker *bpf_linker__new_fd(int fd, struct bpf_linker_opts *opts)
tools/lib/bpf/linker.c
271
struct bpf_linker *linker;
tools/lib/bpf/linker.c
2752
int bpf_linker__finalize(struct bpf_linker *linker)
tools/lib/bpf/linker.c
2820
static int emit_elf_data_sec(struct bpf_linker *linker, const char *sec_name,
tools/lib/bpf/linker.c
2860
static int finalize_btf(struct bpf_linker *linker)
tools/lib/bpf/linker.c
2941
static int emit_btf_ext_data(struct bpf_linker *linker, void *output,
tools/lib/bpf/linker.c
2968
static int finalize_btf_ext(struct bpf_linker *linker)
tools/lib/bpf/linker.c
311
static struct dst_sec *add_dst_sec(struct bpf_linker *linker, const char *sec_name)
tools/lib/bpf/linker.c
335
static Elf64_Sym *add_new_sym(struct bpf_linker *linker, size_t *sym_idx)
tools/lib/bpf/linker.c
359
static int init_output_elf(struct bpf_linker *linker)
tools/lib/bpf/linker.c
490
static int bpf_linker_add_file(struct bpf_linker *linker, int fd,
tools/lib/bpf/linker.c
518
int bpf_linker__add_file(struct bpf_linker *linker, const char *filename,
tools/lib/bpf/linker.c
541
int bpf_linker__add_fd(struct bpf_linker *linker, int fd,
tools/lib/bpf/linker.c
561
int bpf_linker__add_buf(struct bpf_linker *linker, void *buf, size_t buf_sz,
tools/lib/bpf/linker.c
664
static int linker_load_obj_file(struct bpf_linker *linker,