Home
last modified time | relevance | path

Searched refs:timeout (Results 1 – 25 of 66) sorted by relevance

123

/tools/testing/selftests/firmware/
Dfw_fallback.sh30 local timeout=10
33 timeout=$(( $timeout - 1 ))
34 if [ "$timeout" -eq 0 ]; then
57 local timeout=10
60 timeout=$(( $timeout - 1 ))
61 if [ "$timeout" -eq 0 ]; then
86 local timeout=10
89 timeout=$(( $timeout - 1 ))
90 if [ "$timeout" -eq 0 ]; then
119 local timeout=10
[all …]
Dfw_filesystem.sh23 echo 1 >/sys/class/firmware/timeout
248 local timeout=10
252 timeout=$(( $timeout - 1 ))
253 if [ "$timeout" -eq 0 ]; then
/tools/testing/selftests/ftrace/test.d/ftrace/
Dfunc_stack_tracer.tc16 timeout=10
17 while [ $timeout -ne 0 ]; do
21 timeout=$((timeout - 1))
32 timeout=10
33 while [ $timeout -ne 0 ]; do
37 timeout=$((timeout - 1))
/tools/testing/vsock/
Dtimeout.c26 static volatile bool timeout; variable
34 timeout = true; in sigalrm()
49 if (timeout) { in timeout_check()
59 timeout = false; in timeout_end()
DMakefile4 vsock_diag_test: vsock_diag_test.o timeout.o control.o
/tools/perf/bench/
Dfutex.h36 #define futex(uaddr, op, val, timeout, uaddr2, val3, opflags) \ argument
37 syscall(SYS_futex, uaddr, op | opflags, val, timeout, uaddr2, val3)
44 futex_wait(u_int32_t *uaddr, u_int32_t val, struct timespec *timeout, int opflags) in futex_wait() argument
46 return futex(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags); in futex_wait()
63 futex_lock_pi(u_int32_t *uaddr, struct timespec *timeout, int opflags) in futex_lock_pi() argument
65 return futex(uaddr, FUTEX_LOCK_PI, 0, timeout, NULL, 0, opflags); in futex_lock_pi()
/tools/testing/selftests/futex/include/
Dfutextest.h70 #define futex(uaddr, op, val, timeout, uaddr2, val3, opflags) \ argument
71 syscall(SYS_futex, uaddr, op | opflags, val, timeout, uaddr2, val3)
78 futex_wait(futex_t *uaddr, futex_t val, struct timespec *timeout, int opflags) in futex_wait() argument
80 return futex(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags); in futex_wait()
98 futex_wait_bitset(futex_t *uaddr, futex_t val, struct timespec *timeout, in futex_wait_bitset() argument
101 return futex(uaddr, FUTEX_WAIT_BITSET, val, timeout, NULL, bitset, in futex_wait_bitset()
121 futex_lock_pi(futex_t *uaddr, struct timespec *timeout, int detect, in futex_lock_pi() argument
124 return futex(uaddr, FUTEX_LOCK_PI, detect, timeout, NULL, 0, opflags); in futex_lock_pi()
186 struct timespec *timeout, int opflags) in futex_wait_requeue_pi() argument
188 return futex(uaddr, FUTEX_WAIT_REQUEUE_PI, val, timeout, uaddr2, 0, in futex_wait_requeue_pi()
/tools/perf/ui/tui/
Dsetup.c58 struct timeval timeout, *ptimeout = delay_secs ? &timeout : NULL; in ui__getch() local
68 timeout.tv_sec = delay_secs; in ui__getch()
69 timeout.tv_usec = 0; in ui__getch()
89 timeout.tv_sec = 0; in ui__getch()
90 timeout.tv_usec = 20; in ui__getch()
91 err = select(1, &read_set, NULL, NULL, &timeout); in ui__getch()
/tools/testing/selftests/powerpc/
Dharness.c25 static uint64_t timeout = 120; variable
47 if (timeout != -1) in run_test()
49 alarm(timeout); in run_test()
101 timeout = time; in test_harness_set_timeout()
/tools/lib/lockdep/
Drun_tests.sh14 timeout 1 "tests/$testname" 2>&1 | /bin/bash "tests/${testname}.sh"; then
26 timeout 1 ./lockdep "tests/$testname" 2>&1 |
39 …{ timeout 10 valgrind --read-var-info=yes ./lockdep "./tests/$testname" >& "tests/${testname}.vg.o…
/tools/testing/selftests/pidfd/
Dpidfd_poll_test.c20 static bool timeout; variable
24 timeout = true; in handle_alarm()
103 if (timeout) in main()
/tools/testing/selftests/timers/
Dset-timer-lat.c232 struct timeval timeout; in do_timer_oneshot() local
240 memset(&timeout, 0, sizeof(timeout)); in do_timer_oneshot()
241 timeout.tv_sec = 5; in do_timer_oneshot()
243 err = select(0, NULL, NULL, NULL, &timeout); in do_timer_oneshot()
/tools/memory-model/scripts/
Dparseargs.sh118 --timeout)
119 checkarg --timeout "(timeout spec)" "$#" "$2" '^\([0-9]\+[smhd]\?\|\)$' '^--'
/tools/testing/selftests/kselftest/
Drunner.sh35 if [ -x /usr/bin/timeout ] ; then
36 /usr/bin/timeout "$kselftest_timeout" "$1"
/tools/testing/selftests/rseq/
Dsettings1 timeout=0
/tools/testing/selftests/rtc/
Dsettings1 timeout=90
/tools/testing/selftests/android/ion/
Dipcsocket.c113 struct timeval timeout; in sendtosocket() local
124 timeout.tv_sec = 20; in sendtosocket()
125 timeout.tv_usec = 0; in sendtosocket()
127 ret = select(sockfd+1, NULL, &selFDs, NULL, &timeout); in sendtosocket()
/tools/testing/selftests/sync/
Dsync.h35 int sync_wait(int fd, int timeout);
/tools/testing/selftests/powerpc/benchmarks/
Dcontext_switch.c30 static unsigned int timeout = 30; variable
142 if (--timeout == 0) in sigalrm_handler()
247 static long sys_futex(void *addr1, int op, int val1, struct timespec *timeout, in sys_futex() argument
250 return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); in sys_futex()
443 timeout = atoi(optarg); in main()
Dfork.c28 static unsigned int timeout = 30; variable
184 if (--timeout == 0) in sigalrm_handler()
251 timeout = atoi(optarg); in main()
/tools/testing/selftests/x86/
Dtest_syscall_vdso.c175 struct timespec timeout; variable
191 timeout.tv_sec = 0; in prep_args()
192 timeout.tv_nsec = 123; in prep_args()
/tools/testing/selftests/powerpc/mm/
Dtlbie_test.c452 int timeout = 0; variable
493 while (!corruption_found && !timeout) { in rim_fn()
531 if (corruption_found || timeout) { in rim_fn()
574 while (!corruption_found && !timeout) { in mem_snapshot_fn()
610 timeout = 1; in alrm_sighandler()
724 if (!timeout) { in main()
/tools/testing/selftests/
Dkselftest_harness.h174 .timeout = TEST_TIMEOUT_DEFAULT, }; \
290 #define TEST_F_TIMEOUT(fixture_name, test_name, timeout) \ argument
291 __TEST_F_IMPL(fixture_name, test_name, -1, timeout)
315 .timeout = tmout, \
641 int timeout; member
706 alarm(t->timeout); in __run_test()
/tools/testing/selftests/uevent/
Duevent_filtering.c249 struct timespec timeout; in do_test() local
317 timeout.tv_sec = 2; in do_test()
318 timeout.tv_nsec = 0; in do_test()
321 ret = sigtimedwait(&mask, NULL, &timeout); in do_test()
/tools/include/uapi/linux/
Dusbdevice_fs.h46 __u32 timeout; /* in milliseconds */ member
53 unsigned int timeout; /* in milliseconds */ member

123