Symbol: bpf_gen
tools/lib/bpf/bpf_gen_internal.h
57
void bpf_gen__init(struct bpf_gen *gen, int log_level, int nr_progs, int nr_maps);
tools/lib/bpf/bpf_gen_internal.h
58
int bpf_gen__finish(struct bpf_gen *gen, int nr_progs, int nr_maps);
tools/lib/bpf/bpf_gen_internal.h
59
void bpf_gen__free(struct bpf_gen *gen);
tools/lib/bpf/bpf_gen_internal.h
60
void bpf_gen__load_btf(struct bpf_gen *gen, const void *raw_data, __u32 raw_size);
tools/lib/bpf/bpf_gen_internal.h
61
void bpf_gen__map_create(struct bpf_gen *gen,
tools/lib/bpf/bpf_gen_internal.h
65
void bpf_gen__prog_load(struct bpf_gen *gen,
tools/lib/bpf/bpf_gen_internal.h
69
void bpf_gen__map_update_elem(struct bpf_gen *gen, int map_idx, void *value, __u32 value_size);
tools/lib/bpf/bpf_gen_internal.h
70
void bpf_gen__map_freeze(struct bpf_gen *gen, int map_idx);
tools/lib/bpf/bpf_gen_internal.h
71
void bpf_gen__record_attach_target(struct bpf_gen *gen, const char *name, enum bpf_attach_type type);
tools/lib/bpf/bpf_gen_internal.h
72
void bpf_gen__record_extern(struct bpf_gen *gen, const char *name, bool is_weak,
tools/lib/bpf/bpf_gen_internal.h
74
void bpf_gen__record_relo_core(struct bpf_gen *gen, const struct bpf_core_relo *core_relo);
tools/lib/bpf/bpf_gen_internal.h
75
void bpf_gen__populate_outer_map(struct bpf_gen *gen, int outer_map_idx, int key, int inner_map_idx);
tools/lib/bpf/gen_loader.c
1005
static void cleanup_core_relo(struct bpf_gen *gen)
tools/lib/bpf/gen_loader.c
1014
static void cleanup_relos(struct bpf_gen *gen, int insns)
tools/lib/bpf/gen_loader.c
1047
static void info_blob_bswap(struct bpf_gen *gen, int func_info, int line_info,
tools/lib/bpf/gen_loader.c
106
static void emit2(struct bpf_gen *gen, struct bpf_insn insn1, struct bpf_insn insn2)
tools/lib/bpf/gen_loader.c
1065
void bpf_gen__prog_load(struct bpf_gen *gen,
tools/lib/bpf/gen_loader.c
112
static int add_data(struct bpf_gen *gen, const void *data, __u32 size);
tools/lib/bpf/gen_loader.c
113
static void emit_sys_close_blob(struct bpf_gen *gen, int blob_off);
tools/lib/bpf/gen_loader.c
114
static void emit_signature_match(struct bpf_gen *gen);
tools/lib/bpf/gen_loader.c
116
void bpf_gen__init(struct bpf_gen *gen, int log_level, int nr_progs, int nr_maps)
tools/lib/bpf/gen_loader.c
1192
void bpf_gen__map_update_elem(struct bpf_gen *gen, int map_idx, void *pvalue,
tools/lib/bpf/gen_loader.c
1249
void bpf_gen__populate_outer_map(struct bpf_gen *gen, int outer_map_idx, int slot,
tools/lib/bpf/gen_loader.c
1278
void bpf_gen__map_freeze(struct bpf_gen *gen, int map_idx)
tools/lib/bpf/gen_loader.c
161
static int add_data(struct bpf_gen *gen, const void *data, __u32 size)
tools/lib/bpf/gen_loader.c
189
static int add_map_fd(struct bpf_gen *gen)
tools/lib/bpf/gen_loader.c
199
static int add_kfunc_btf_fd(struct bpf_gen *gen)
tools/lib/bpf/gen_loader.c
222
static void emit_rel_store(struct bpf_gen *gen, int off, int data)
tools/lib/bpf/gen_loader.c
231
static void move_blob2blob(struct bpf_gen *gen, int off, int size, int blob_off)
tools/lib/bpf/gen_loader.c
241
static void move_blob2ctx(struct bpf_gen *gen, int ctx_off, int size, int blob_off)
tools/lib/bpf/gen_loader.c
249
static void move_ctx2blob(struct bpf_gen *gen, int off, int size, int ctx_off,
tools/lib/bpf/gen_loader.c
263
static void move_stack2blob(struct bpf_gen *gen, int off, int size, int stack_off)
tools/lib/bpf/gen_loader.c
271
static void move_stack2ctx(struct bpf_gen *gen, int ctx_off, int size, int stack_off)
tools/lib/bpf/gen_loader.c
277
static void emit_sys_bpf(struct bpf_gen *gen, int cmd, int attr, int attr_size)
tools/lib/bpf/gen_loader.c
293
static void emit_check_err(struct bpf_gen *gen)
tools/lib/bpf/gen_loader.c
308
static void emit_debug(struct bpf_gen *gen, int reg1, int reg2,
tools/lib/bpf/gen_loader.c
336
static void debug_regs(struct bpf_gen *gen, int reg1, int reg2, const char *fmt, ...)
tools/lib/bpf/gen_loader.c
345
static void debug_ret(struct bpf_gen *gen, const char *fmt, ...)
tools/lib/bpf/gen_loader.c
354
static void __emit_sys_close(struct bpf_gen *gen)
tools/lib/bpf/gen_loader.c
366
static void emit_sys_close_stack(struct bpf_gen *gen, int stack_off)
tools/lib/bpf/gen_loader.c
372
static void emit_sys_close_blob(struct bpf_gen *gen, int blob_off)
tools/lib/bpf/gen_loader.c
380
static void compute_sha_update_offsets(struct bpf_gen *gen);
tools/lib/bpf/gen_loader.c
382
int bpf_gen__finish(struct bpf_gen *gen, int nr_progs, int nr_maps)
tools/lib/bpf/gen_loader.c
432
void bpf_gen__free(struct bpf_gen *gen)
tools/lib/bpf/gen_loader.c
45
static int blob_fd_array_off(struct bpf_gen *gen, int index)
tools/lib/bpf/gen_loader.c
463
static void compute_sha_update_offsets(struct bpf_gen *gen)
tools/lib/bpf/gen_loader.c
479
void bpf_gen__load_btf(struct bpf_gen *gen, const void *btf_raw_data,
tools/lib/bpf/gen_loader.c
50
static int realloc_insn_buf(struct bpf_gen *gen, __u32 size)
tools/lib/bpf/gen_loader.c
511
void bpf_gen__map_create(struct bpf_gen *gen,
tools/lib/bpf/gen_loader.c
599
static void emit_signature_match(struct bpf_gen *gen)
tools/lib/bpf/gen_loader.c
638
void bpf_gen__record_attach_target(struct bpf_gen *gen, const char *attach_name,
tools/lib/bpf/gen_loader.c
652
static void emit_find_attach_target(struct bpf_gen *gen)
tools/lib/bpf/gen_loader.c
674
void bpf_gen__record_extern(struct bpf_gen *gen, const char *name, bool is_weak,
tools/lib/bpf/gen_loader.c
696
static struct ksym_desc *get_ksym_desc(struct bpf_gen *gen, struct ksym_relo_desc *relo)
tools/lib/bpf/gen_loader.c
728
static void emit_bpf_find_by_name_kind(struct bpf_gen *gen, struct ksym_relo_desc *relo)
tools/lib/bpf/gen_loader.c
74
static int realloc_data_buf(struct bpf_gen *gen, __u32 size)
tools/lib/bpf/gen_loader.c
747
static void emit_bpf_kallsyms_lookup_name(struct bpf_gen *gen, struct ksym_relo_desc *relo)
tools/lib/bpf/gen_loader.c
776
static void emit_relo_kfunc_btf(struct bpf_gen *gen, struct ksym_relo_desc *relo, int insn)
tools/lib/bpf/gen_loader.c
847
static void emit_ksym_relo_log(struct bpf_gen *gen, struct ksym_relo_desc *relo,
tools/lib/bpf/gen_loader.c
866
static void emit_relo_ksym_typeless(struct bpf_gen *gen,
tools/lib/bpf/gen_loader.c
899
static __u32 src_reg_mask(struct bpf_gen *gen)
tools/lib/bpf/gen_loader.c
913
static void emit_relo_ksym_btf(struct bpf_gen *gen, struct ksym_relo_desc *relo, int insn)
tools/lib/bpf/gen_loader.c
963
void bpf_gen__record_relo_core(struct bpf_gen *gen,
tools/lib/bpf/gen_loader.c
979
static void emit_relo(struct bpf_gen *gen, struct ksym_relo_desc *relo, int insns)
tools/lib/bpf/gen_loader.c
98
static void emit(struct bpf_gen *gen, struct bpf_insn insn)
tools/lib/bpf/gen_loader.c
997
static void emit_relos(struct bpf_gen *gen, int insns)
tools/lib/bpf/libbpf.c
726
struct bpf_gen *gen_loader;
tools/lib/bpf/libbpf.c
9676
struct bpf_gen *gen;