Home
last modified time | relevance | path

Searched refs:iters (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.10/tools/testing/selftests/bpf/progs/
Dtest_rdonly_maps.c20 unsigned iters; member
29 unsigned iters = 0, sum = 0; in skip_loop() local
33 iters++; in skip_loop()
38 res.iters = iters; in skip_loop()
48 unsigned iters = 0, sum = 0; in part_loop() local
52 iters++; in part_loop()
57 res.iters = iters; in part_loop()
68 unsigned iters = 0, sum = 0; in full_loop() local
72 iters++; in full_loop()
78 res.iters = iters; in full_loop()
/Linux-v5.10/kernel/time/
Dtest_udelay.c28 static int udelay_test_single(struct seq_file *s, int usecs, uint32_t iters) in udelay_test_single() argument
37 for (i = 0; i < iters; ++i) { in udelay_test_single()
57 do_div(avg, iters); in udelay_test_single()
59 usecs, iters, usecs * 1000, in udelay_test_single()
71 int iters; in udelay_test_show() local
76 iters = udelay_test_iterations; in udelay_test_show()
79 if (usecs > 0 && iters > 0) { in udelay_test_show()
80 return udelay_test_single(s, usecs, iters); in udelay_test_show()
106 int iters; in udelay_test_write() local
115 ret = sscanf(lbuf, "%d %d", &usecs, &iters); in udelay_test_write()
[all …]
/Linux-v5.10/kernel/kcsan/
Ddebugfs.c58 static noinline void microbenchmark(unsigned long iters) in microbenchmark() argument
72 pr_info("%s begin | iters: %lu\n", __func__, iters); in microbenchmark()
75 while (iters--) { in microbenchmark()
76 unsigned long addr = iters & ((PAGE_SIZE << 8) - 1); in microbenchmark()
77 int type = !(iters & 0x7f) ? KCSAN_ACCESS_ATOMIC : in microbenchmark()
78 (!(iters & 0xf) ? KCSAN_ACCESS_WRITE : 0); in microbenchmark()
235 unsigned long iters; in debugfs_write() local
237 if (kstrtoul(&arg[strlen("microbench=")], 0, &iters)) in debugfs_write()
239 microbenchmark(iters); in debugfs_write()
/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/
Drdonly_maps.c6 unsigned iters; member
79 if (CHECK(bss.iters != t->exp_iters, "check_iters", in test_rdonly_maps()
81 t->prog_name, bss.iters, t->exp_iters)) in test_rdonly_maps()
/Linux-v5.10/tools/testing/selftests/x86/
Dldt_gdt.c534 int failures = 0, iters = 5, i; in do_multicpu_tests() local
619 printf("[FAIL]\t%d of %d iterations failed\n", failures, iters); in do_multicpu_tests()
622 printf("[OK]\tAll %d iterations succeeded\n", iters); in do_multicpu_tests()
/Linux-v5.10/sound/usb/usx2y/
Dusb_stream.c653 int frame = 0, iters = 0; in usb_stream_start() local
686 ++iters; in usb_stream_start()
709 snd_printdd(KERN_DEBUG "%i %i\n", frame, iters); in usb_stream_start()
/Linux-v5.10/drivers/gpu/drm/i810/
Di810_dma.c245 int iters = 0; in i810_wait_ring() local
261 iters++; in i810_wait_ring()
271 return iters; in i810_wait_ring()
/Linux-v5.10/tools/testing/selftests/rseq/
Dparam_test.c1146 const int iters = opt_reps; in test_membarrier_worker_thread() local
1158 for (i = 0; i < iters; ++i) { in test_membarrier_worker_thread()
/Linux-v5.10/arch/sparc/lib/
Dchecksum_32.S122 subcc %o3, 128, %o3 ! detract from loop iters
/Linux-v5.10/drivers/net/ethernet/broadcom/
Dtg3.c3589 const int iters = 10000; in tg3_pause_cpu() local
3591 for (i = 0; i < iters; i++) { in tg3_pause_cpu()
3600 return (i == iters) ? -EBUSY : 0; in tg3_pause_cpu()
3769 const int iters = 5; in tg3_pause_cpu_and_set_pc() local
3774 for (i = 0; i < iters; i++) { in tg3_pause_cpu_and_set_pc()
3783 return (i == iters) ? -EBUSY : 0; in tg3_pause_cpu_and_set_pc()
3830 const int iters = 1000; in tg3_validate_rxcpu_state() local
3837 for (i = 0; i < iters; i++) { in tg3_validate_rxcpu_state()
3844 if (i == iters) { in tg3_validate_rxcpu_state()
/Linux-v5.10/fs/
Dio_uring.c2465 int iters = 0, ret = 0; in io_iopoll_check() local
2492 if (!(++iters & 7)) { in io_iopoll_check()