Home
last modified time | relevance | path

Searched refs:bpf_program (Results 1 – 25 of 27) sorted by relevance

12

/tools/lib/bpf/
Dlibbpf.h109 LIBBPF_API struct bpf_program *
132 struct bpf_program;
133 LIBBPF_API struct bpf_program *bpf_program__next(struct bpf_program *prog,
141 LIBBPF_API struct bpf_program *bpf_program__prev(struct bpf_program *prog,
144 typedef void (*bpf_program_clear_priv_t)(struct bpf_program *, void *);
146 LIBBPF_API int bpf_program__set_priv(struct bpf_program *prog, void *priv,
149 LIBBPF_API void *bpf_program__priv(const struct bpf_program *prog);
150 LIBBPF_API void bpf_program__set_ifindex(struct bpf_program *prog,
153 LIBBPF_API const char *bpf_program__title(const struct bpf_program *prog,
156 LIBBPF_API int bpf_program__load(struct bpf_program *prog, char *license,
[all …]
Dlibbpf.c150 struct bpf_program { struct
242 struct bpf_program *programs;
298 void bpf_program__unload(struct bpf_program *prog) in bpf_program__unload()
324 static void bpf_program__exit(struct bpf_program *prog) in bpf_program__exit()
347 static char *__bpf_program__pin_name(struct bpf_program *prog) in __bpf_program__pin_name()
360 struct bpf_program *prog) in bpf_program__init()
409 struct bpf_program prog, *progs; in bpf_object__add_program()
445 struct bpf_program *prog; in bpf_object__init_prog_names()
1662 static struct bpf_program *
1665 struct bpf_program *prog; in bpf_object__find_prog_by_idx()
[all …]
DREADME.rst31 structures such as ``struct bpf_object``, ``struct bpf_program``,
41 from an ELF file or from a buffer, ``struct bpf_program`` represents a
53 object, ``bpf_program``, that is separated from other part of the name
/tools/testing/selftests/bpf/prog_tests/
Dreference_tracking.c8 struct bpf_program *prog; in test_reference_tracking()
Dattach_probe.c34 struct bpf_program *kprobe_prog, *kretprobe_prog; in test_attach_probe()
35 struct bpf_program *uprobe_prog, *uretprobe_prog; in test_attach_probe()
Dstacktrace_map_raw_tp.c11 struct bpf_program *prog; in test_stacktrace_map_raw_tp()
Dstacktrace_map.c11 struct bpf_program *prog; in test_stacktrace_map()
Dsockopt_multi.c9 struct bpf_program *prog; in prog_attach()
38 struct bpf_program *prog; in prog_detach()
Dperf_buffer.c29 struct bpf_program *prog; in test_perf_buffer()
Dstacktrace_build_id.c11 struct bpf_program *prog; in test_stacktrace_build_id()
Dsockopt_sk.c138 struct bpf_program *prog; in prog_attach()
Dget_stack_raw_tp.c92 struct bpf_program *prog; in test_get_stack_raw_tp()
Dstacktrace_build_id_nmi.c29 struct bpf_program *prog; in test_stacktrace_build_id_nmi()
Dsockopt_inherit.c143 struct bpf_program *prog; in prog_attach()
Dcore_reloc.c297 struct bpf_program *prog; in test_core_reloc()
/tools/testing/selftests/bpf/
Dflow_dissector_load.h16 struct bpf_program *prog, *main_prog; in bpf_flow_load()
Dtest_libbpf_open.c55 struct bpf_program *prog; in test_walk_progs()
Dtest_socket_cookie.c134 struct bpf_program *prog; in run_test()
Dxdping.c95 struct bpf_program *main_prog; in main()
Dtest_sock_fields.c420 struct bpf_program *ingress_prog; in main()
Dtest_select_reuseport.c87 struct bpf_program *prog; in prepare_bpf_obj()
Dtest_sockmap.c1622 struct bpf_program *prog; in populate_progs()
/tools/perf/util/
Dbpf-loader.c122 clear_prog_priv(struct bpf_program *prog __maybe_unused, in clear_prog_priv()
319 config_bpf_program(struct bpf_program *prog) in config_bpf_program()
418 preproc_gen_prologue(struct bpf_program *prog, int n, in preproc_gen_prologue()
574 static int hook_load_preprocessor(struct bpf_program *prog) in hook_load_preprocessor()
637 struct bpf_program *prog; in bpf__probe()
698 struct bpf_program *prog; in bpf__unprobe()
753 struct bpf_program *prog; in bpf__foreach_event()
/tools/perf/
Dbuiltin-trace.c132 struct bpf_program *unaugmented_prog;
1004 struct bpf_program *sys_enter,
2838 static struct bpf_program *trace__find_bpf_program_by_title(struct trace *trace, const char *name) in trace__find_bpf_program_by_title()
2846 static struct bpf_program *trace__find_syscall_bpf_prog(struct trace *trace, struct syscall *sc, in trace__find_syscall_bpf_prog()
2849 struct bpf_program *prog; in trace__find_syscall_bpf_prog()
2976 static struct bpf_program *trace__find_usable_bpf_prog_entry(struct trace *trace, struct syscall *s… in trace__find_usable_bpf_prog_entry()
2994 struct bpf_program *pair_prog; in trace__find_usable_bpf_prog_entry()
3119 struct bpf_program *pair_prog; in trace__init_syscalls_bpf_prog_array_maps()
3166 static struct bpf_program *trace__find_bpf_program_by_title(struct trace *trace __maybe_unused, in trace__find_bpf_program_by_title()
/tools/bpf/bpftool/
Dprog.c1100 struct bpf_program *prog = NULL, *pos; in load_with_options()

12