Lines Matching refs:repeat

58 				    u32 repeat, int *err, u32 *duration)  in bpf_test_timer_continue()  argument
62 if (t->i >= repeat) { in bpf_test_timer_continue()
262 u32 repeat) in xdp_test_run_batch() argument
273 batch_sz = min_t(u32, repeat, xdp->batch_size); in xdp_test_run_batch()
345 u32 repeat, u32 batch_size, u32 *time) in bpf_test_run_xdp_live() argument
352 if (!repeat) in bpf_test_run_xdp_live()
353 repeat = 1; in bpf_test_run_xdp_live()
362 ret = xdp_test_run_batch(&xdp, prog, repeat - t.i); in bpf_test_run_xdp_live()
365 } while (bpf_test_timer_continue(&t, xdp.frame_cnt, repeat, &ret, time)); in bpf_test_run_xdp_live()
372 static int bpf_test_run(struct bpf_prog *prog, void *ctx, u32 repeat, in bpf_test_run() argument
392 if (!repeat) in bpf_test_run()
393 repeat = 1; in bpf_test_run()
403 } while (bpf_test_timer_continue(&t, 1, repeat, &ret, time)); in bpf_test_run()
863 kattr->test.repeat || kattr->test.batch_size) in bpf_prog_test_run_raw_tp()
1085 u32 repeat = kattr->test.repeat; in bpf_prog_test_run_skb() local
1180 ret = bpf_test_run(prog, skb, repeat, &retval, &duration, false); in bpf_prog_test_run_skb()
1281 u32 repeat = kattr->test.repeat; in bpf_prog_test_run_xdp() local
1383 if (repeat > 1) in bpf_prog_test_run_xdp()
1387 ret = bpf_test_run_xdp_live(prog, &xdp, repeat, batch_size, &duration); in bpf_prog_test_run_xdp()
1389 ret = bpf_test_run(prog, &xdp, repeat, &retval, &duration, true); in bpf_prog_test_run_xdp()
1406 if (repeat > 1) in bpf_prog_test_run_xdp()
1439 u32 repeat = kattr->test.repeat; in bpf_prog_test_run_flow_dissector() local
1460 if (!repeat) in bpf_prog_test_run_flow_dissector()
1461 repeat = 1; in bpf_prog_test_run_flow_dissector()
1483 } while (bpf_test_timer_continue(&t, 1, repeat, &ret, &duration)); in bpf_prog_test_run_flow_dissector()
1507 u32 repeat = kattr->test.repeat; in bpf_prog_test_run_sk_lookup() local
1519 if (!repeat) in bpf_prog_test_run_sk_lookup()
1520 repeat = 1; in bpf_prog_test_run_sk_lookup()
1575 } while (bpf_test_timer_continue(&t, 1, repeat, &ret, &duration)); in bpf_prog_test_run_sk_lookup()
1614 kattr->test.repeat || kattr->test.flags || in bpf_prog_test_run_syscall()