Lines Matching refs:repeat

62 				    u32 repeat, int *err, u32 *duration)  in bpf_test_timer_continue()  argument
66 if (t->i >= repeat) { in bpf_test_timer_continue()
286 u32 repeat) in xdp_test_run_batch() argument
298 batch_sz = min_t(u32, repeat, xdp->batch_size); in xdp_test_run_batch()
373 u32 repeat, u32 batch_size, u32 *time) in bpf_test_run_xdp_live() argument
380 if (!repeat) in bpf_test_run_xdp_live()
381 repeat = 1; in bpf_test_run_xdp_live()
390 ret = xdp_test_run_batch(&xdp, prog, repeat - t.i); in bpf_test_run_xdp_live()
393 } while (bpf_test_timer_continue(&t, xdp.frame_cnt, repeat, &ret, time)); in bpf_test_run_xdp_live()
400 static int bpf_test_run(struct bpf_prog *prog, void *ctx, u32 repeat, in bpf_test_run() argument
421 if (!repeat) in bpf_test_run()
422 repeat = 1; in bpf_test_run()
438 } while (bpf_test_timer_continue(&t, 1, repeat, &ret, time)); in bpf_test_run()
766 kattr->test.repeat || kattr->test.batch_size) in bpf_prog_test_run_raw_tp()
988 u32 repeat = kattr->test.repeat; in bpf_prog_test_run_skb() local
1095 ret = bpf_test_run(prog, skb, repeat, &retval, &duration, false); in bpf_prog_test_run_skb()
1210 u32 repeat = kattr->test.repeat; in bpf_prog_test_run_xdp() local
1314 if (repeat > 1) in bpf_prog_test_run_xdp()
1318 ret = bpf_test_run_xdp_live(prog, &xdp, repeat, batch_size, &duration); in bpf_prog_test_run_xdp()
1320 ret = bpf_test_run(prog, &xdp, repeat, &retval, &duration, true); in bpf_prog_test_run_xdp()
1337 if (repeat > 1) in bpf_prog_test_run_xdp()
1370 u32 repeat = kattr->test.repeat; in bpf_prog_test_run_flow_dissector() local
1391 if (!repeat) in bpf_prog_test_run_flow_dissector()
1392 repeat = 1; in bpf_prog_test_run_flow_dissector()
1414 } while (bpf_test_timer_continue(&t, 1, repeat, &ret, &duration)); in bpf_prog_test_run_flow_dissector()
1438 u32 repeat = kattr->test.repeat; in bpf_prog_test_run_sk_lookup() local
1450 if (!repeat) in bpf_prog_test_run_sk_lookup()
1451 repeat = 1; in bpf_prog_test_run_sk_lookup()
1506 } while (bpf_test_timer_continue(&t, 1, repeat, &ret, &duration)); in bpf_prog_test_run_sk_lookup()
1545 kattr->test.repeat || kattr->test.flags || in bpf_prog_test_run_syscall()
1641 u32 repeat = kattr->test.repeat; in bpf_prog_test_run_nf() local
1662 if (!repeat) in bpf_prog_test_run_nf()
1663 repeat = 1; in bpf_prog_test_run_nf()
1718 ret = bpf_test_run(prog, &ctx, repeat, &retval, &duration, false); in bpf_prog_test_run_nf()