Home
last modified time | relevance | path

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

12

/Linux-v5.4/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
/Linux-v5.4/include/uapi/linux/netfilter/
Dxt_bpf.h16 struct sock_filter bpf_program[XT_BPF_MAX_NUM_INSTR]; member
34 struct sock_filter bpf_program[XT_BPF_MAX_NUM_INSTR]; member
/Linux-v5.4/arch/um/drivers/
Dpcap_user.c51 pri->compiled = uml_kmalloc(sizeof(struct bpf_program), in pcap_open()
59 (struct bpf_program *) pri->compiled, in pcap_open()
/Linux-v5.4/net/netfilter/
Dxt_bpf.c68 return __bpf_mt_check_bytecode(info->bpf_program, in bpf_mt_check()
78 return __bpf_mt_check_bytecode(info->bpf_program, in bpf_mt_check_v1()
/Linux-v5.4/tools/testing/selftests/bpf/prog_tests/
Dattach_probe.c33 struct bpf_program *kprobe_prog, *kretprobe_prog; in test_attach_probe()
34 struct bpf_program *uprobe_prog, *uretprobe_prog; in test_attach_probe()
Dreference_tracking.c8 struct bpf_program *prog; in test_reference_tracking()
Dsockopt_multi.c9 struct bpf_program *prog; in prog_attach()
38 struct bpf_program *prog; in prog_detach()
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()
Dperf_buffer.c28 struct bpf_program *prog; in test_perf_buffer()
Dstacktrace_build_id.c11 struct bpf_program *prog; in test_stacktrace_build_id()
Dget_stack_raw_tp.c91 struct bpf_program *prog; in test_get_stack_raw_tp()
Dsockopt_sk.c138 struct bpf_program *prog; in prog_attach()
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()
/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/samples/bpf/
Dxdp_fwd_user.c78 struct bpf_program *prog; in main()
Dxdp_redirect_map_user.c103 struct bpf_program *prog, *dummy_prog; in main()
Dxdp_redirect_user.c104 struct bpf_program *prog, *dummy_prog; in main()

12