Home
last modified time | relevance | path

Searched refs:prog2 (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dflow_dissector_reattach.c90 static void test_prog_attach_prog_attach(int netns, int prog1, int prog2) in test_prog_attach_prog_attach() argument
102 err = bpf_prog_attach(prog2, 0, BPF_FLOW_DISSECTOR, 0); in test_prog_attach_prog_attach()
107 CHECK_FAIL(query_attached_prog_id(netns) != query_prog_id(prog2)); in test_prog_attach_prog_attach()
110 err = bpf_prog_attach(prog2, 0, BPF_FLOW_DISSECTOR, 0); in test_prog_attach_prog_attach()
113 CHECK_FAIL(query_attached_prog_id(netns) != query_prog_id(prog2)); in test_prog_attach_prog_attach()
116 err = bpf_prog_detach2(prog2, 0, BPF_FLOW_DISSECTOR); in test_prog_attach_prog_attach()
122 static void test_link_create_link_create(int netns, int prog1, int prog2) in test_link_create_link_create() argument
136 link2 = bpf_link_create(prog2, netns, BPF_FLOW_DISSECTOR, &opts); in test_link_create_link_create()
147 static void test_prog_attach_link_create(int netns, int prog1, int prog2) in test_prog_attach_link_create() argument
161 link = bpf_link_create(prog2, netns, BPF_FLOW_DISSECTOR, &opts); in test_prog_attach_link_create()
[all …]
Dautoattach.c16 bpf_program__set_autoattach(skel->progs.prog2, false); in test_autoattach()
18 ASSERT_FALSE(bpf_program__autoattach(skel->progs.prog2), "autoattach_prog2"); in test_autoattach()
Dsk_lookup.c1211 struct bpf_program *prog2; member
1240 link2 = attach_lookup_prog(t->prog2); in run_multi_prog_lookup()
1293 .prog2 = skel->progs.multi_prog_pass2, in test_multi_prog_lookup()
1299 .prog2 = skel->progs.multi_prog_drop2, in test_multi_prog_lookup()
1306 .prog2 = skel->progs.multi_prog_drop2, in test_multi_prog_lookup()
1313 .prog2 = skel->progs.multi_prog_pass2, in test_multi_prog_lookup()
1320 .prog2 = skel->progs.multi_prog_redir2, in test_multi_prog_lookup()
1326 .prog2 = skel->progs.multi_prog_pass2, in test_multi_prog_lookup()
1332 .prog2 = skel->progs.multi_prog_redir2, in test_multi_prog_lookup()
1338 .prog2 = skel->progs.multi_prog_drop2, in test_multi_prog_lookup()
[all …]
/linux-6.1.9/samples/bpf/
Dtest_overhead_raw_tp_kern.c13 int prog2(struct bpf_raw_tracepoint_args *ctx) in prog2() function
Dtest_overhead_tp_kern.c33 int prog2(struct urandom_read *ctx) in prog2() function
Dtest_overhead_kprobe_kern.c43 int prog2(struct pt_regs *ctx) in prog2() function
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dtest_autoattach.c18 int prog2(const void *ctx) in prog2() function
Dtest_autoload.c21 int prog2(const void *ctx) in prog2() function
Dtest_overhead.c19 int BPF_KRETPROBE(prog2, int ret) in BPF_KRETPROBE() argument
Dtest_subprogs.c81 int prog2(void *ctx) in prog2() function
/linux-6.1.9/tools/testing/selftests/bpf/benchs/
Dbench_rename.c88 attach_bpf(ctx.skel->progs.prog2); in setup_kretprobe()
/linux-6.1.9/tools/bpf/bpftool/Documentation/
Dbpftool-prog.rst307 | **# bpftool prog load ./my_prog.o /sys/fs/bpf/prog2**
313 -rw------- 1 root root 0 Jul 22 01:44 prog2