Searched refs:bpf_program (Results 1 – 3 of 3) sorted by relevance
/tools/lib/bpf/ |
D | libbpf.h | 83 struct bpf_program; 84 struct bpf_program *bpf_program__next(struct bpf_program *prog, 92 typedef void (*bpf_program_clear_priv_t)(struct bpf_program *, 95 int bpf_program__set_priv(struct bpf_program *prog, void *priv, 98 void *bpf_program__priv(struct bpf_program *prog); 100 const char *bpf_program__title(struct bpf_program *prog, bool needs_copy); 102 int bpf_program__fd(struct bpf_program *prog); 159 typedef int (*bpf_program_prep_t)(struct bpf_program *prog, int n, 163 int bpf_program__set_prep(struct bpf_program *prog, int nr_instance, 166 int bpf_program__nth_fd(struct bpf_program *prog, int n); [all …]
|
D | libbpf.c | 160 struct bpf_program { struct 199 struct bpf_program *programs; argument 235 static void bpf_program__unload(struct bpf_program *prog) in bpf_program__unload() 258 static void bpf_program__exit(struct bpf_program *prog) in bpf_program__exit() 281 struct bpf_program *prog) in bpf_program__init() 320 struct bpf_program prog, *progs; in bpf_object__add_program() 706 static struct bpf_program * 709 struct bpf_program *prog; in bpf_object__find_prog_by_idx() 721 bpf_program__collect_reloc(struct bpf_program *prog, in bpf_program__collect_reloc() 817 bpf_program__relocate(struct bpf_program *prog, struct bpf_object *obj) in bpf_program__relocate() [all …]
|
/tools/perf/util/ |
D | bpf-loader.c | 116 clear_prog_priv(struct bpf_program *prog __maybe_unused, in clear_prog_priv() 313 config_bpf_program(struct bpf_program *prog) in config_bpf_program() 412 preproc_gen_prologue(struct bpf_program *prog, int n, in preproc_gen_prologue() 568 static int hook_load_preprocessor(struct bpf_program *prog) in hook_load_preprocessor() 631 struct bpf_program *prog; in bpf__probe() 692 struct bpf_program *prog; in bpf__unprobe() 745 struct bpf_program *prog; in bpf__foreach_event()
|