Home
last modified time | relevance | path

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

/linux-6.15/tools/lib/bpf/
H A Dbpf_gen_internal.h31 struct bpf_gen { struct
55 void bpf_gen__init(struct bpf_gen *gen, int log_level, int nr_progs, int nr_maps); argument
56 int bpf_gen__finish(struct bpf_gen *gen, int nr_progs, int nr_maps);
57 void bpf_gen__free(struct bpf_gen *gen);
58 void bpf_gen__load_btf(struct bpf_gen *gen, const void *raw_data, __u32 raw_size);
59 void bpf_gen__map_create(struct bpf_gen *gen,
63 void bpf_gen__prog_load(struct bpf_gen *gen,
67 void bpf_gen__map_update_elem(struct bpf_gen *gen, int map_idx, void *value, __u32 value_size);
68 void bpf_gen__map_freeze(struct bpf_gen *gen, int map_idx);
70 void bpf_gen__record_extern(struct bpf_gen *gen, const char *name, bool is_weak,
[all …]
H A Dgen_loader.c46 static int blob_fd_array_off(struct bpf_gen *gen, int index) in blob_fd_array_off()
179 static int add_map_fd(struct bpf_gen *gen) in add_map_fd()
189 static int add_kfunc_btf_fd(struct bpf_gen *gen) in add_kfunc_btf_fd()
283 static void emit_check_err(struct bpf_gen *gen) in emit_check_err()
345 static void __emit_sys_close(struct bpf_gen *gen) in __emit_sys_close()
418 void bpf_gen__free(struct bpf_gen *gen) in bpf_gen__free()
481 void bpf_gen__map_create(struct bpf_gen *gen, in bpf_gen__map_create()
821 static __u32 src_reg_mask(struct bpf_gen *gen) in src_reg_mask()
885 void bpf_gen__record_relo_core(struct bpf_gen *gen, in bpf_gen__record_relo_core()
927 static void cleanup_core_relo(struct bpf_gen *gen) in cleanup_core_relo()
[all …]
H A Dlibbpf.c699 struct bpf_gen *gen_loader;
9210 struct bpf_gen *gen; in bpf_object__gen_loader()