Searched refs:prog2 (Results 1 – 12 of 12) sorted by relevance
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
D | flow_dissector_reattach.c | 90 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 …]
|
D | autoattach.c | 16 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()
|
D | sk_lookup.c | 1211 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/ |
D | test_overhead_raw_tp_kern.c | 13 int prog2(struct bpf_raw_tracepoint_args *ctx) in prog2() function
|
D | test_overhead_tp_kern.c | 33 int prog2(struct urandom_read *ctx) in prog2() function
|
D | test_overhead_kprobe_kern.c | 43 int prog2(struct pt_regs *ctx) in prog2() function
|
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | test_autoattach.c | 18 int prog2(const void *ctx) in prog2() function
|
D | test_autoload.c | 21 int prog2(const void *ctx) in prog2() function
|
D | test_overhead.c | 19 int BPF_KRETPROBE(prog2, int ret) in BPF_KRETPROBE() argument
|
D | test_subprogs.c | 81 int prog2(void *ctx) in prog2() function
|
/linux-6.1.9/tools/testing/selftests/bpf/benchs/ |
D | bench_rename.c | 88 attach_bpf(ctx.skel->progs.prog2); in setup_kretprobe()
|
/linux-6.1.9/tools/bpf/bpftool/Documentation/ |
D | bpftool-prog.rst | 307 | **# bpftool prog load ./my_prog.o /sys/fs/bpf/prog2** 313 -rw------- 1 root root 0 Jul 22 01:44 prog2
|