Home
last modified time | relevance | path

Searched refs:prog1 (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/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.c1127 struct bpf_program *prog1; member
1154 link1 = attach_lookup_prog(t->prog1); in run_multi_prog_lookup()
1209 .prog1 = skel->progs.multi_prog_pass1, in test_multi_prog_lookup()
1215 .prog1 = skel->progs.multi_prog_drop1, in test_multi_prog_lookup()
1222 .prog1 = skel->progs.multi_prog_pass1, in test_multi_prog_lookup()
1229 .prog1 = skel->progs.multi_prog_drop1, in test_multi_prog_lookup()
1236 .prog1 = skel->progs.multi_prog_pass1, in test_multi_prog_lookup()
1242 .prog1 = skel->progs.multi_prog_redir1, in test_multi_prog_lookup()
1248 .prog1 = skel->progs.multi_prog_drop1, in test_multi_prog_lookup()
1254 .prog1 = skel->progs.multi_prog_redir1, in test_multi_prog_lookup()
[all …]
/Linux-v5.10/tools/testing/selftests/bpf/progs/
Dtest_trampoline_count.c11 int BPF_PROG(prog1, struct task_struct *tsk, const char *buf, bool exec) in BPF_PROG() argument
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.c53 int prog1(void *ctx) in prog1() function
/Linux-v5.10/tools/testing/selftests/bpf/benchs/
Dbench_rename.c82 attach_bpf(ctx.skel->progs.prog1); in setup_kprobe()