Searched refs:prog1 (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.10/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 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 …]
|
D | sk_lookup.c | 1127 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/ |
D | test_trampoline_count.c | 11 int BPF_PROG(prog1, struct task_struct *tsk, const char *buf, bool exec) in BPF_PROG() argument
|
D | test_autoload.c | 14 int prog1(const void *ctx) in prog1() function
|
D | test_overhead.c | 13 int BPF_KPROBE(prog1, struct task_struct *tsk, const char *buf, bool exec) in BPF_KPROBE() argument
|
D | test_subprogs.c | 53 int prog1(void *ctx) in prog1() function
|
/Linux-v5.10/tools/testing/selftests/bpf/benchs/ |
D | bench_rename.c | 82 attach_bpf(ctx.skel->progs.prog1); in setup_kprobe()
|