Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A 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-6.3-rc2/kernel/time/
A Dtest_udelay.c36 for (i = 0; i < iters; ++i) { in udelay_test_single()
56 do_div(avg, iters); in udelay_test_single()
58 usecs, iters, usecs * 1000, in udelay_test_single()
70 int iters; in udelay_test_show() local
75 iters = udelay_test_iterations; in udelay_test_show()
78 if (usecs > 0 && iters > 0) { in udelay_test_show()
79 return udelay_test_single(s, usecs, iters); in udelay_test_show()
105 int iters; in udelay_test_write() local
114 ret = sscanf(lbuf, "%d %d", &usecs, &iters); in udelay_test_write()
118 iters = DEFAULT_ITERATIONS; in udelay_test_write()
[all …]
/linux-6.3-rc2/kernel/kcsan/
A Ddebugfs.c63 static noinline void microbenchmark(unsigned long iters) in microbenchmark() argument
77 pr_info("%s begin | iters: %lu\n", __func__, iters); in microbenchmark()
80 while (iters--) { in microbenchmark()
81 unsigned long addr = iters & ((PAGE_SIZE << 8) - 1); in microbenchmark()
82 int type = !(iters & 0x7f) ? KCSAN_ACCESS_ATOMIC : in microbenchmark()
83 (!(iters & 0xf) ? KCSAN_ACCESS_WRITE : 0); in microbenchmark()
240 unsigned long iters; in debugfs_write() local
242 if (kstrtoul(&arg[strlen("microbench=")], 0, &iters)) in debugfs_write()
244 microbenchmark(iters); in debugfs_write()
/linux-6.3-rc2/arch/powerpc/lib/
A Dqspinlock.c451 static __always_inline bool steal_break(u32 val, int iters, bool paravirt, bool sleepy) in steal_break() argument
453 if (iters >= get_steal_spins(paravirt, sleepy)) in steal_break()
457 (iters >= get_remote_steal_spins(paravirt, sleepy))) { in steal_break()
469 int iters = 0; in try_to_steal_lock() local
516 iters++; in try_to_steal_lock()
526 iters++; in try_to_steal_lock()
528 } while (!steal_break(val, iters, paravirt, sleepy)); in try_to_steal_lock()
545 int iters = 0; in queued_spin_lock_mcs_queue() local
653 iters++; in queued_spin_lock_mcs_queue()
655 iters++; in queued_spin_lock_mcs_queue()
[all …]
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Drdonly_maps.c6 unsigned iters; member
76 if (CHECK(bss.iters != t->exp_iters, "check_iters", in test_rdonly_maps()
78 t->prog_name, bss.iters, t->exp_iters)) in test_rdonly_maps()
/linux-6.3-rc2/drivers/staging/vc04_services/interface/
A DTESTING47 Functional test - iters:10
58 Ping test - service:echo, iters:1, version 3
/linux-6.3-rc2/tools/testing/selftests/x86/
A 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-6.3-rc2/sound/usb/usx2y/
A Dusb_stream.c673 int frame = 0, iters = 0; in usb_stream_start() local
708 ++iters; in usb_stream_start()
733 snd_printdd(KERN_DEBUG "%i %i\n", frame, iters); in usb_stream_start()
/linux-6.3-rc2/drivers/s390/crypto/
A Dvfio_ap_ops.c1635 int iters = MAX_RESET_CHECK_WAIT / AP_RESET_INTERVAL; in apq_reset_check() local
1638 for (; iters > 0; iters--) { in apq_reset_check()
1645 WARN_ONCE(iters <= 0, in apq_reset_check()
/linux-6.3-rc2/tools/testing/selftests/rseq/
A Dparam_test.c1224 const int iters = opt_reps; in test_membarrier_worker_thread() local
1236 for (i = 0; i < iters; ++i) { in test_membarrier_worker_thread()
/linux-6.3-rc2/arch/sparc/lib/
A Dchecksum_32.S122 subcc %o3, 128, %o3 ! detract from loop iters
/linux-6.3-rc2/drivers/net/ethernet/broadcom/
A Dtg3.c3583 const int iters = 10000; in tg3_pause_cpu() local
3585 for (i = 0; i < iters; i++) { in tg3_pause_cpu()
3594 return (i == iters) ? -EBUSY : 0; in tg3_pause_cpu()
3763 const int iters = 5; in tg3_pause_cpu_and_set_pc() local
3768 for (i = 0; i < iters; i++) { in tg3_pause_cpu_and_set_pc()
3777 return (i == iters) ? -EBUSY : 0; in tg3_pause_cpu_and_set_pc()
3824 const int iters = 1000; in tg3_validate_rxcpu_state() local
3831 for (i = 0; i < iters; i++) { in tg3_validate_rxcpu_state()
3838 if (i == iters) { in tg3_validate_rxcpu_state()

Completed in 50 milliseconds