Lines Matching refs:repeat
19 static int bpf_test_run(struct bpf_prog *prog, void *ctx, u32 repeat, in bpf_test_run() argument
40 if (!repeat) in bpf_test_run()
41 repeat = 1; in bpf_test_run()
47 for (i = 0; i < repeat; i++) { in bpf_test_run()
77 do_div(time_spent, repeat); in bpf_test_run()
277 kattr->test.repeat) in bpf_prog_test_run_raw_tp()
498 u32 repeat = kattr->test.repeat; in bpf_prog_test_run_skb() local
592 ret = bpf_test_run(prog, skb, repeat, &retval, &duration, false); in bpf_prog_test_run_skb()
631 u32 repeat = kattr->test.repeat; in bpf_prog_test_run_xdp() local
661 ret = bpf_test_run(prog, &xdp, repeat, &retval, &duration, true); in bpf_prog_test_run_xdp()
694 u32 repeat = kattr->test.repeat; in bpf_prog_test_run_flow_dissector() local
720 if (!repeat) in bpf_prog_test_run_flow_dissector()
721 repeat = 1; in bpf_prog_test_run_flow_dissector()
742 for (i = 0; i < repeat; i++) { in bpf_prog_test_run_flow_dissector()
770 do_div(time_spent, repeat); in bpf_prog_test_run_flow_dissector()