Home
last modified time | relevance | path

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

12345

/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 …]
Dsettings1 # The async firmware timeout is set to 1 second (but ends up being effectively
8 timeout=165
Dfw_filesystem.sh23 echo 1 >/sys/class/firmware/timeout
335 local timeout=10
339 timeout=$(( $timeout - 1 ))
340 if [ "$timeout" -eq 0 ]; then
/tools/testing/selftests/ftrace/test.d/ftrace/
Dfunc_stack_tracer.tc12 timeout=10
13 while [ $timeout -ne 0 ]; do
17 timeout=$((timeout - 1))
28 timeout=10
29 while [ $timeout -ne 0 ]; do
33 timeout=$((timeout - 1))
/tools/testing/selftests/timens/
Dfutex.c23 struct timespec timeout, end; in run_test() local
29 clock_gettime(clockid, &timeout); in run_test()
30 timeout.tv_nsec += NSEC_PER_SEC / 10; // 100ms in run_test()
31 if (timeout.tv_nsec > NSEC_PER_SEC) { in run_test()
32 timeout.tv_sec++; in run_test()
33 timeout.tv_nsec -= NSEC_PER_SEC; in run_test()
37 &timeout, 0, FUTEX_BITSET_MATCH_ANY) >= 0) { in run_test()
50 if (end.tv_sec < timeout.tv_sec || in run_test()
51 (end.tv_sec == timeout.tv_sec && end.tv_nsec < timeout.tv_nsec)) { in run_test()
Dgettime_perf.c43 const int timeout = 3; in test() local
47 for (tp = start; start.tv_sec + timeout > tp.tv_sec || in test()
48 (start.tv_sec + timeout == tp.tv_sec && in test()
/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_test: vsock_test.o timeout.o control.o util.o
5 vsock_diag_test: vsock_diag_test.o timeout.o control.o util.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/testing/selftests/bpf/
Dnetwork_helpers.c45 struct timeval timeout = { .tv_sec = 3 }; in settimeo() local
48 timeout.tv_sec = timeout_ms / 1000; in settimeo()
49 timeout.tv_usec = (timeout_ms % 1000) * 1000; in settimeo()
52 if (setsockopt(fd, SOL_SOCKET, SO_RCVTIMEO, &timeout, in settimeo()
53 sizeof(timeout))) { in settimeo()
58 if (setsockopt(fd, SOL_SOCKET, SO_SNDTIMEO, &timeout, in settimeo()
59 sizeof(timeout))) { in settimeo()
/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.c19 static bool timeout; variable
23 timeout = true; in handle_alarm()
102 if (timeout) in main()
/tools/testing/selftests/kselftest/
Drunner.sh35 if [ -x /usr/bin/timeout ] ; then
36 /usr/bin/timeout --foreground "$kselftest_timeout" \
37 /usr/bin/timeout "$kselftest_timeout" $1
/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()
Dsettings1 timeout=0
/tools/testing/kunit/
Dkunit_tool_test.py317 self.linux_source_mock.run_kernel.assert_called_once_with(build_dir='.kunit', timeout=300)
325 build_dir='.kunit', timeout=300)
363 timeout = 3453
364 kunit.main(['exec', '--timeout', str(timeout)], self.linux_source_mock)
365 self.linux_source_mock.run_kernel.assert_called_once_with(build_dir='.kunit', timeout=timeout)
369 timeout = 3453
370 kunit.main(['run', '--timeout', str(timeout)], self.linux_source_mock)
373 build_dir='.kunit', timeout=timeout)
381 build_dir=build_dir, timeout=300)
397 self.linux_source_mock.run_kernel.assert_called_once_with(build_dir=build_dir, timeout=300)
/tools/testing/selftests/net/
Ddrop_monitor_tests.sh79 timeout 5 dwdump -o sw -w ${dir}/packets.pcap
87 timeout 5 dwdump -o sw -w ${dir}/packets.pcap
107 timeout 5 dwdump -o hw -w ${dir}/packets.pcap
116 timeout 5 dwdump -o hw -w ${dir}/packets.pcap
/tools/memory-model/scripts/
Dparseargs.sh118 --timeout)
119 checkarg --timeout "(timeout spec)" "$#" "$2" '^\([0-9]\+[smhd]\?\|\)$' '^--'
/tools/testing/selftests/livepatch/
Dsettings1 timeout=0
/tools/testing/selftests/ftrace/
Dsettings1 timeout=0
/tools/testing/selftests/powerpc/benchmarks/
Dsettings1 timeout=0
/tools/testing/selftests/rtc/
Dsettings1 timeout=180

12345