Searched refs:bpf_gen (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.1/tools/lib/bpf/ |
D | bpf_gen_internal.h | 29 struct bpf_gen { struct 52 void bpf_gen__init(struct bpf_gen *gen, int log_level, int nr_progs, int nr_maps); argument 53 int bpf_gen__finish(struct bpf_gen *gen, int nr_progs, int nr_maps); 54 void bpf_gen__free(struct bpf_gen *gen); 55 void bpf_gen__load_btf(struct bpf_gen *gen, const void *raw_data, __u32 raw_size); 56 void bpf_gen__map_create(struct bpf_gen *gen, 60 void bpf_gen__prog_load(struct bpf_gen *gen, 64 void bpf_gen__map_update_elem(struct bpf_gen *gen, int map_idx, void *value, __u32 value_size); 65 void bpf_gen__map_freeze(struct bpf_gen *gen, int map_idx); 66 void bpf_gen__record_attach_target(struct bpf_gen *gen, const char *name, enum bpf_attach_type type… [all …]
|
D | gen_loader.c | 45 static int blob_fd_array_off(struct bpf_gen *gen, int index) in blob_fd_array_off() 50 static int realloc_insn_buf(struct bpf_gen *gen, __u32 size) in realloc_insn_buf() 73 static int realloc_data_buf(struct bpf_gen *gen, __u32 size) in realloc_data_buf() 96 static void emit(struct bpf_gen *gen, struct bpf_insn insn) in emit() 104 static void emit2(struct bpf_gen *gen, struct bpf_insn insn1, struct bpf_insn insn2) in emit2() 110 static int add_data(struct bpf_gen *gen, const void *data, __u32 size); 111 static void emit_sys_close_blob(struct bpf_gen *gen, int blob_off); 113 void bpf_gen__init(struct bpf_gen *gen, int log_level, int nr_progs, int nr_maps) in bpf_gen__init() 156 static int add_data(struct bpf_gen *gen, const void *data, __u32 size) in add_data() 178 static int add_map_fd(struct bpf_gen *gen) in add_map_fd() [all …]
|
D | libbpf.c | 630 struct bpf_gen *gen_loader; 8214 struct bpf_gen *gen; in bpf_object__gen_loader()
|