Home
last modified time | relevance | path

Searched refs:loops (Results 1 – 25 of 176) sorted by relevance

12345678

/kernel/linux/linux-5.10/arch/mips/kernel/
Dspinlock_test.c14 int loops; in ss_get() local
18 loops = 1000000; in ss_get()
25 loops--; in ss_get()
26 if (loops == 0) in ss_get()
47 int loops; member
57 int loops; in multi_other() local
62 loops = s->loops; in multi_other()
79 loops--; in multi_other()
80 if (loops == 0) in multi_other()
98 ms.loops = 1000000; in multi_get()
/kernel/linux/linux-5.10/arch/csky/lib/
Ddelay.c8 void __delay(unsigned long loops) in __delay() argument
14 : "=r"(loops) in __delay()
15 : "0"(loops)); in __delay()
21 unsigned long long loops; in __const_udelay() local
23 loops = (unsigned long long)xloops * loops_per_jiffy * HZ; in __const_udelay()
25 __delay(loops >> 32); in __const_udelay()
/kernel/linux/linux-5.10/tools/perf/bench/
Dsyscall.c21 static int loops = LOOPS_DEFAULT; variable
24 OPT_INTEGER('l', "loop", &loops, "Specify number of loops"),
43 for (i = 0; i < loops; i++) in bench_syscall_basic()
51 printf("# Executed %'d getppid() calls\n", loops); in bench_syscall_basic()
61 (double)result_usec / (double)loops); in bench_syscall_basic()
63 (int)((double)loops / in bench_syscall_basic()
Dsched-pipe.c38 static int loops = LOOPS_DEFAULT; variable
44 OPT_INTEGER('l', "loop", &loops, "Specify number of loops"),
60 for (i = 0; i < loops; i++) { in worker_thread()
153 loops, threaded ? "threads" : "processes"); in bench_sched_pipe()
163 (double)result_usec / (double)loops); in bench_sched_pipe()
165 (int)((double)loops / in bench_sched_pipe()
/kernel/linux/linux-5.10/arch/arc/include/asm/
Ddelay.h22 static inline void __delay(unsigned long loops) in __delay() argument
30 : "r"(loops) in __delay()
56 unsigned long loops; in __udelay() local
61 loops = ((u64) usecs * 4295 * HZ * loops_per_jiffy) >> 32; in __udelay()
63 __delay(loops); in __udelay()
/kernel/linux/linux-5.10/arch/x86/boot/
Da20.c22 int loops = MAX_8042_LOOPS; in empty_8042() local
25 while (loops--) { in empty_8042()
54 static int a20_test(int loops) in a20_test() argument
64 while (loops--) { in a20_test()
130 int loops = A20_ENABLE_LOOPS; in enable_a20() local
133 while (loops--) { in enable_a20()
/kernel/linux/linux-5.10/arch/microblaze/include/asm/
Ddelay.h13 static inline void __delay(unsigned long loops) in __delay() argument
19 : "=r" (loops) in __delay()
20 : "0" (loops)); in __delay()
47 unsigned loops = tmp >> 32; in __udelay() local
53 __delay(loops); in __udelay()
/kernel/linux/linux-5.10/arch/xtensa/include/asm/
Ddelay.h20 static inline void __delay(unsigned long loops) in __delay() argument
22 if (__builtin_constant_p(loops) && loops < 2) in __delay()
24 else if (loops >= 2) in __delay()
27 : "+r" (loops)); in __delay()
/kernel/linux/linux-5.10/tools/gpio/
Dgpio-hammer.c26 unsigned int loops) in hammer_device() argument
101 if (loops && iteration == loops) in hammer_device()
131 unsigned int loops = 0; in main() local
140 loops = strtoul(optarg, NULL, 10); in main()
175 return hammer_device(device_name, lines, num_lines, loops); in main()
/kernel/linux/linux-5.10/arch/ia64/include/asm/
Ddelay.h76 extern void ia64_delay_loop (unsigned long loops);
79 __delay (unsigned long loops) in __delay() argument
81 if (unlikely(loops < 1)) in __delay()
84 ia64_delay_loop (loops - 1); in __delay()
/kernel/linux/linux-5.10/arch/parisc/include/asm/
Ddelay.h5 static __inline__ void __delay(unsigned long loops) { in __delay() argument
10 : "=r" (loops) : "0" (loops)); in __delay()
/kernel/linux/linux-5.10/arch/sh/lib/
Ddelay.c11 void __delay(unsigned long loops) in __delay() argument
28 : "=r" (loops) in __delay()
29 : "0" (loops) in __delay()
/kernel/linux/linux-5.10/arch/nds32/include/asm/
Ddelay.h10 static inline void __delay(unsigned long loops) in __delay() argument
16 :"=r"(loops) in __delay()
17 :"0"(loops)); in __delay()
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Ddelay_32.h13 static inline void __delay(unsigned long loops) in __delay() argument
18 "=&r" (loops) : in __delay()
19 "0" (loops) : in __delay()
/kernel/linux/linux-5.10/arch/h8300/lib/
Ddelay.c23 u64 loops; in __const_udelay() local
25 loops = (u64)xloops * loops_per_jiffy * HZ; in __const_udelay()
27 __delay(loops >> 32); in __const_udelay()
/kernel/linux/linux-5.10/arch/alpha/lib/
Dudelay.c23 __delay(int loops) in __delay() argument
32 : "=&r" (tmp), "=r" (loops) : "1"(loops)); in __delay()
/kernel/linux/linux-5.10/arch/nios2/lib/
Ddelay.c22 u64 loops; in __const_udelay() local
24 loops = (u64)xloops * loops_per_jiffy * HZ; in __const_udelay()
26 __delay(loops >> 32); in __const_udelay()
/kernel/linux/linux-5.10/arch/mips/lib/
Ddelay.c29 void __delay(unsigned long loops) in __delay() argument
37 : "=r" (loops) in __delay()
38 : GCC_DADDI_IMM_ASM() (1), "0" (loops)); in __delay()
/kernel/linux/linux-5.10/arch/openrisc/lib/
Ddelay.c40 unsigned long long loops; in __const_udelay() local
42 loops = (unsigned long long)xloops * loops_per_jiffy * HZ; in __const_udelay()
44 __delay(loops >> 32); in __const_udelay()
/kernel/linux/linux-5.10/arch/parisc/lib/
Ddelay.c32 u32 bclock, now, loops = __loops; in __cr16_delay() local
40 if ((now - bclock) >= loops) in __cr16_delay()
59 loops -= (now - bclock); in __cr16_delay()
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/
Dcsrc-octeon.c72 unsigned loops = 2; in octeon_init_cvmcount() local
78 asm("" : "+r" (loops)); in octeon_init_cvmcount()
85 while (loops--) { in octeon_init_cvmcount()
172 void __delay(unsigned long loops) in __delay() argument
177 end = cur + loops; in __delay()
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dfutex.h17 unsigned int loops = FUTEX_MAX_LOOPS; \
39 "+r" (loops) \
90 unsigned int loops = FUTEX_MAX_LOOPS; in futex_atomic_cmpxchg_inatomic() local
118 : "+r" (ret), "=&r" (val), "+Q" (*uaddr), "=&r" (tmp), "+r" (loops) in futex_atomic_cmpxchg_inatomic()
/kernel/linux/linux-5.10/tools/testing/radix-tree/
Dbenchmark.c20 int l, loops = 1; in benchmark_iter() local
27 for (l = 0; l < loops; l++) { in benchmark_iter()
42 if (loops == 1 && nsec * 5 < NSEC_PER_SEC) { in benchmark_iter()
43 loops = NSEC_PER_SEC / nsec / 4 + 1; in benchmark_iter()
48 nsec /= loops; in benchmark_iter()
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Ddelay.h34 static inline void __delay(unsigned long loops) in __delay() argument
40 : "=d" (loops) in __delay()
41 : "0" (loops)); in __delay()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/
Dset_memory_region_test.c385 int i, loops; in main() local
403 loops = atoi(argv[1]); in main()
405 loops = 10; in main()
407 pr_info("Testing MOVE of in-use region, %d loops\n", loops); in main()
408 for (i = 0; i < loops; i++) in main()
411 pr_info("Testing DELETE of in-use region, %d loops\n", loops); in main()
412 for (i = 0; i < loops; i++) in main()

12345678