Home
last modified time | relevance | path

Searched refs:bpf_prog_test_run (Results 1 – 25 of 29) sorted by relevance

12

/tools/testing/selftests/bpf/prog_tests/
Dtailcalls.c57 err = bpf_prog_test_run(main_fd, 1, buff, sizeof(buff), 0, in test_tailcall_1()
67 err = bpf_prog_test_run(main_fd, 1, buff, sizeof(buff), 0, in test_tailcall_1()
88 err = bpf_prog_test_run(main_fd, 1, buff, sizeof(buff), 0, in test_tailcall_1()
113 err = bpf_prog_test_run(main_fd, 1, buff, sizeof(buff), 0, in test_tailcall_1()
123 err = bpf_prog_test_run(main_fd, 1, buff, sizeof(buff), 0, in test_tailcall_1()
133 err = bpf_prog_test_run(main_fd, 1, buff, sizeof(buff), 0, in test_tailcall_1()
194 err = bpf_prog_test_run(main_fd, 1, buff, sizeof(buff), 0, in test_tailcall_2()
204 err = bpf_prog_test_run(main_fd, 1, buff, sizeof(buff), 0, in test_tailcall_2()
214 err = bpf_prog_test_run(main_fd, 1, buff, sizeof(buff), 0, in test_tailcall_2()
268 err = bpf_prog_test_run(main_fd, 1, buff, sizeof(buff), 0, in test_tailcall_3()
[all …]
Dpkt_access.c16 err = bpf_prog_test_run(prog_fd, 100000, &pkt_v4, sizeof(pkt_v4), in test_pkt_access()
22 err = bpf_prog_test_run(prog_fd, 100000, &pkt_v6, sizeof(pkt_v6), in test_pkt_access()
Dxdp_adjust_tail.c17 err = bpf_prog_test_run(prog_fd, 1, &pkt_v4, sizeof(pkt_v4), in test_xdp_adjust_tail_shrink()
25 err = bpf_prog_test_run(prog_fd, 1, &pkt_v6, sizeof(pkt_v6), in test_xdp_adjust_tail_shrink()
45 err = bpf_prog_test_run(prog_fd, 1, &pkt_v4, sizeof(pkt_v4), in test_xdp_adjust_tail_grow()
52 err = bpf_prog_test_run(prog_fd, 1, &pkt_v6, sizeof(pkt_v6) /* 74 */, in test_xdp_adjust_tail_grow()
Draw_tp_writable_test_run.c60 int err = bpf_prog_test_run(filter_fd, 1, test_skb, sizeof(test_skb), 0, in test_raw_tp_writable_test_run()
69 err = bpf_prog_test_run(filter_fd, 1, test_skb, sizeof(test_skb), 0, 0, in test_raw_tp_writable_test_run()
Dxdp.c29 err = bpf_prog_test_run(prog_fd, 1, &pkt_v4, sizeof(pkt_v4), in test_xdp()
37 err = bpf_prog_test_run(prog_fd, 1, &pkt_v6, sizeof(pkt_v6), in test_xdp()
Dxdp_noinline.c42 err = bpf_prog_test_run(bpf_program__fd(skel->progs.balancer_ingress_v4), in test_xdp_noinline()
50 err = bpf_prog_test_run(bpf_program__fd(skel->progs.balancer_ingress_v6), in test_xdp_noinline()
Dl4lb_all.c52 err = bpf_prog_test_run(prog_fd, NUM_ITER, &pkt_v4, sizeof(pkt_v4), in test_l4lb()
59 err = bpf_prog_test_run(prog_fd, NUM_ITER, &pkt_v6, sizeof(pkt_v6), in test_l4lb()
Dqueue_stack_map.c61 err = bpf_prog_test_run(prog_fd, 1, &pkt_v4, sizeof(pkt_v4), in test_queue_stack_map_by_type()
74 err = bpf_prog_test_run(prog_fd, 1, &pkt_v4, sizeof(pkt_v4), in test_queue_stack_map_by_type()
Dpkt_md_access.c16 err = bpf_prog_test_run(prog_fd, 10, &pkt_v4, sizeof(pkt_v4), in test_pkt_md_access()
Dxdp_perf.c16 err = bpf_prog_test_run(prog_fd, 1000000, &in[0], 128, in test_xdp_perf()
Dmap_ptr.c20 err = bpf_prog_test_run(bpf_program__fd(skel->progs.cg_skb), 1, &pkt_v4, in test_map_ptr()
Dfentry_test.c22 err = bpf_prog_test_run(prog_fd, 1, NULL, 0, in test_fentry_test()
Dfexit_test.c22 err = bpf_prog_test_run(prog_fd, 1, NULL, 0, in test_fexit_test()
Dflow_dissector_load_bytes.c40 err = bpf_prog_test_run(fd, 1, &pkt_v4, sizeof(pkt_v4), in test_flow_dissector_load_bytes()
Dspinlock.c10 err = bpf_prog_test_run(prog_fd, 10000, &pkt_v4, sizeof(pkt_v4), in spin_lock_thread()
Dsignal_pending.c35 err = bpf_prog_test_run(prog_fd, 0xffffffff, &pkt_v4, sizeof(pkt_v4), in test_signal_pending_by_type()
Dmodify_return.c32 err = bpf_prog_test_run(prog_fd, 1, NULL, 0, NULL, 0, in run_test()
Dfentry_fexit.c30 err = bpf_prog_test_run(prog_fd, 1, NULL, 0, in test_fentry_fexit()
Dfexit_stress.c65 err = bpf_prog_test_run(filter_fd, 1, test_skb, sizeof(test_skb), 0, in test_fexit_stress()
Dtrace_ext.c91 err = bpf_prog_test_run(pkt_fd, 1, &pkt_v4, sizeof(pkt_v4), in test_trace_ext()
Dmap_lock.c10 err = bpf_prog_test_run(prog_fd, 10000, &pkt_v4, sizeof(pkt_v4), in spin_lock_thread()
Dxdp_bpf2bpf.c97 err = bpf_prog_test_run(pkt_fd, 1, &pkt_v4, sizeof(pkt_v4), in test_xdp_bpf2bpf()
Dfexit_bpf2bpf.c108 err = bpf_prog_test_run(tgt_fd, 1, &pkt_v6, sizeof(pkt_v6), in test_fexit_bpf2bpf_common()
207 err = bpf_prog_test_run(tgt_fd, 1, &pkt_v6, sizeof(pkt_v6), in test_second_attach()
Dglobal_data.c136 err = bpf_prog_test_run(prog_fd, 1, &pkt_v4, sizeof(pkt_v4), in test_global_data()
/tools/lib/bpf/
Dlibbpf.map67 bpf_prog_test_run;

12