Searched refs:prog2 (Results 1 – 9 of 9) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A 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 …]
|
H A 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()
|
H A D | sk_lookup.c | 1154 struct bpf_program *prog2; member 1184 link2 = attach_lookup_prog(t->prog2); in run_multi_prog_lookup() 1240 .prog2 = skel->progs.multi_prog_pass2, in test_multi_prog_lookup() 1246 .prog2 = skel->progs.multi_prog_drop2, in test_multi_prog_lookup() 1253 .prog2 = skel->progs.multi_prog_drop2, in test_multi_prog_lookup() 1260 .prog2 = skel->progs.multi_prog_pass2, in test_multi_prog_lookup() 1267 .prog2 = skel->progs.multi_prog_redir2, in test_multi_prog_lookup() 1273 .prog2 = skel->progs.multi_prog_pass2, in test_multi_prog_lookup() 1279 .prog2 = skel->progs.multi_prog_redir2, in test_multi_prog_lookup() 1285 .prog2 = skel->progs.multi_prog_drop2, in test_multi_prog_lookup() [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_autoattach.c | 18 int prog2(const void *ctx) in prog2() function
|
H A D | test_autoload.c | 21 int prog2(const void *ctx) in prog2() function
|
H A D | test_overhead.c | 19 int BPF_KRETPROBE(prog2, int ret) in BPF_KRETPROBE() argument
|
H A D | test_subprogs.c | 81 int prog2(void *ctx) in prog2() function
|
/linux/tools/testing/selftests/bpf/benchs/ |
H A D | bench_rename.c | 88 attach_bpf(ctx.skel->progs.prog2); in setup_kretprobe()
|
/linux/tools/bpf/bpftool/Documentation/ |
H A D | bpftool-prog.rst | 297 | **# bpftool prog load ./my_prog.o /sys/fs/bpf/prog2** 303 -rw------- 1 root root 0 Jul 22 01:44 prog2
|