Home
last modified time | relevance | path

Searched refs:prog1 (Results 1 – 9 of 9) 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
94 err = bpf_prog_attach(prog1, 0, BPF_FLOW_DISSECTOR, 0); in test_prog_attach_prog_attach()
99 CHECK_FAIL(query_attached_prog_id(netns) != query_prog_id(prog1)); 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
127 link1 = bpf_link_create(prog1, netns, BPF_FLOW_DISSECTOR, &opts); in test_link_create_link_create()
132 CHECK_FAIL(query_attached_prog_id(netns) != query_prog_id(prog1)); in test_link_create_link_create()
141 CHECK_FAIL(query_attached_prog_id(netns) != query_prog_id(prog1)); 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
152 err = bpf_prog_attach(prog1, 0, BPF_FLOW_DISSECTOR, 0); in test_prog_attach_link_create()
157 CHECK_FAIL(query_attached_prog_id(netns) != query_prog_id(prog1)); in test_prog_attach_link_create()
[all …]
Dsk_lookup.c1210 struct bpf_program *prog1; member
1237 link1 = attach_lookup_prog(t->prog1); in run_multi_prog_lookup()
1292 .prog1 = skel->progs.multi_prog_pass1, in test_multi_prog_lookup()
1298 .prog1 = skel->progs.multi_prog_drop1, in test_multi_prog_lookup()
1305 .prog1 = skel->progs.multi_prog_pass1, in test_multi_prog_lookup()
1312 .prog1 = skel->progs.multi_prog_drop1, in test_multi_prog_lookup()
1319 .prog1 = skel->progs.multi_prog_pass1, in test_multi_prog_lookup()
1325 .prog1 = skel->progs.multi_prog_redir1, in test_multi_prog_lookup()
1331 .prog1 = skel->progs.multi_prog_drop1, in test_multi_prog_lookup()
1337 .prog1 = skel->progs.multi_prog_redir1, in test_multi_prog_lookup()
[all …]
Dautoattach.c17 ASSERT_TRUE(bpf_program__autoattach(skel->progs.prog1), "autoattach_prog1"); in test_autoattach()
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dtest_autoattach.c11 int prog1(const void *ctx) in prog1() function
Dtest_autoload.c14 int prog1(const void *ctx) in prog1() function
Dtest_overhead.c13 int BPF_KPROBE(prog1, struct task_struct *tsk, const char *buf, bool exec) in BPF_KPROBE() argument
Dtest_subprogs.c66 int prog1(void *ctx) in prog1() function
/linux-6.1.9/tools/testing/selftests/bpf/benchs/
Dbench_rename.c82 attach_bpf(ctx.skel->progs.prog1); in setup_kprobe()
/linux-6.1.9/tools/testing/selftests/bpf/
DDENYLIST.s390x55 trampoline_count # prog 'prog1': failed to attach: ERROR: strerror_r(-524)=…