Home
last modified time | relevance | path

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

/linux-6.6.21/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-6.6.21/kernel/time/
Dtest_udelay.c27 static int udelay_test_single(struct seq_file *s, int usecs, uint32_t iters) in udelay_test_single() argument
36 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()
[all …]
/linux-6.6.21/kernel/kcsan/
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.6.21/arch/powerpc/lib/
Dqspinlock.c456 static __always_inline bool steal_break(u32 val, int iters, bool paravirt, bool sleepy) in steal_break() argument
458 if (iters >= get_steal_spins(paravirt, sleepy)) in steal_break()
462 (iters >= get_remote_steal_spins(paravirt, sleepy))) { in steal_break()
474 int iters = 0; in try_to_steal_lock() local
521 iters++; in try_to_steal_lock()
531 iters++; in try_to_steal_lock()
533 } while (!steal_break(val, iters, paravirt, sleepy)); in try_to_steal_lock()
550 int iters = 0; in queued_spin_lock_mcs_queue() local
663 iters++; in queued_spin_lock_mcs_queue()
665 iters++; in queued_spin_lock_mcs_queue()
[all …]
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
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()
Diters.c97 RUN_TESTS(iters); in test_iters()
/linux-6.6.21/drivers/staging/vc04_services/interface/
DTESTING47 Functional test - iters:10
58 Ping test - service:echo, iters:1, version 3
/linux-6.6.21/tools/testing/selftests/bpf/
DDENYLIST.s390x11 iters/testmod_seq* # s390x doesn't support kfuncs in modules yet
/linux-6.6.21/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-6.6.21/sound/usb/usx2y/
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.6.21/tools/testing/selftests/rseq/
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.6.21/arch/sparc/lib/
Dchecksum_32.S122 subcc %o3, 128, %o3 ! detract from loop iters
/linux-6.6.21/drivers/net/ethernet/broadcom/
Dtg3.c3584 const int iters = 10000; in tg3_pause_cpu() local
3586 for (i = 0; i < iters; i++) { in tg3_pause_cpu()
3595 return (i == iters) ? -EBUSY : 0; in tg3_pause_cpu()
3764 const int iters = 5; in tg3_pause_cpu_and_set_pc() local
3769 for (i = 0; i < iters; i++) { in tg3_pause_cpu_and_set_pc()
3778 return (i == iters) ? -EBUSY : 0; in tg3_pause_cpu_and_set_pc()
3825 const int iters = 1000; in tg3_validate_rxcpu_state() local
3832 for (i = 0; i < iters; i++) { in tg3_validate_rxcpu_state()
3839 if (i == iters) { in tg3_validate_rxcpu_state()