Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dtest_rdonly_maps.c21 unsigned iters; member
30 unsigned iters = 0, sum = 0; in skip_loop() local
34 iters++; in skip_loop()
39 res.iters = iters; in skip_loop()
49 unsigned iters = 0, sum = 0; in part_loop() local
53 iters++; in part_loop()
58 res.iters = iters; in part_loop()
69 unsigned iters = 0, sum = 0; in full_loop() local
73 iters++; in full_loop()
79 res.iters = iters; in full_loop()
/linux-6.12.1/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.12.1/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.12.1/arch/powerpc/lib/
Dqspinlock.c442 static __always_inline bool steal_break(u32 val, int iters, bool paravirt, bool sleepy) in steal_break() argument
444 if (iters >= get_steal_spins(paravirt, sleepy)) in steal_break()
448 (iters >= get_remote_steal_spins(paravirt, sleepy))) { in steal_break()
460 int iters = 0; in try_to_steal_lock() local
507 iters++; in try_to_steal_lock()
517 iters++; in try_to_steal_lock()
519 } while (!steal_break(val, iters, paravirt, sleepy)); in try_to_steal_lock()
535 int iters = 0; in queued_spin_lock_mcs_queue() local
645 iters++; in queued_spin_lock_mcs_queue()
647 iters++; in queued_spin_lock_mcs_queue()
[all …]
/linux-6.12.1/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.c298 RUN_TESTS(iters); in test_iters()
/linux-6.12.1/fs/bcachefs/
Dbtree_journal_iter.c69 unsigned iters = 0; in bch2_journal_keys_peek_upto() local
80 iters++; in bch2_journal_keys_peek_upto()
81 if (iters == 10) { in bch2_journal_keys_peek_upto()
100 iters++; in bch2_journal_keys_peek_upto()
101 if (iters == 10) { in bch2_journal_keys_peek_upto()
/linux-6.12.1/drivers/staging/vc04_services/interface/
DTESTING47 Functional test - iters:10
58 Ping test - service:echo, iters:1, version 3
/linux-6.12.1/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.12.1/drivers/misc/
Dpci_endpoint_test.c283 int j, bar_size, buf_size, iters, remain; in pci_endpoint_test_bar() local
310 iters = bar_size / buf_size; in pci_endpoint_test_bar()
311 for (j = 0; j < iters; j++) in pci_endpoint_test_bar()
318 if (pci_endpoint_test_bar_memcmp(test, barno, buf_size * iters, in pci_endpoint_test_bar()
/linux-6.12.1/tools/testing/selftests/rseq/
Dparam_test.c1234 const int iters = opt_reps; in test_membarrier_worker_thread() local
1246 for (i = 0; i < iters; ++i) { in test_membarrier_worker_thread()
/linux-6.12.1/arch/sparc/lib/
Dchecksum_32.S122 subcc %o3, 128, %o3 ! detract from loop iters
/linux-6.12.1/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()