/tools/testing/selftests/firmware/ |
D | fw_fallback.sh | 30 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 …]
|
D | fw_filesystem.sh | 23 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/ |
D | func_stack_tracer.tc | 16 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/ |
D | timeout.c | 26 static volatile bool timeout; variable 34 timeout = true; in sigalrm() 49 if (timeout) { in timeout_check() 59 timeout = false; in timeout_end()
|
D | Makefile | 4 vsock_diag_test: vsock_diag_test.o timeout.o control.o
|
/tools/perf/bench/ |
D | futex.h | 36 #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/ |
D | futextest.h | 70 #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/ |
D | setup.c | 58 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/ |
D | harness.c | 25 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/ |
D | run_tests.sh | 14 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/ |
D | pidfd_poll_test.c | 20 static bool timeout; variable 24 timeout = true; in handle_alarm() 103 if (timeout) in main()
|
/tools/testing/selftests/timers/ |
D | set-timer-lat.c | 232 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/ |
D | parseargs.sh | 118 --timeout) 119 checkarg --timeout "(timeout spec)" "$#" "$2" '^\([0-9]\+[smhd]\?\|\)$' '^--'
|
/tools/testing/selftests/kselftest/ |
D | runner.sh | 35 if [ -x /usr/bin/timeout ] ; then 36 /usr/bin/timeout "$kselftest_timeout" "$1"
|
/tools/testing/selftests/rseq/ |
D | settings | 1 timeout=0
|
/tools/testing/selftests/rtc/ |
D | settings | 1 timeout=90
|
/tools/testing/selftests/android/ion/ |
D | ipcsocket.c | 113 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/ |
D | sync.h | 35 int sync_wait(int fd, int timeout);
|
/tools/testing/selftests/powerpc/benchmarks/ |
D | context_switch.c | 30 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()
|
D | fork.c | 28 static unsigned int timeout = 30; variable 184 if (--timeout == 0) in sigalrm_handler() 251 timeout = atoi(optarg); in main()
|
/tools/testing/selftests/x86/ |
D | test_syscall_vdso.c | 175 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/ |
D | tlbie_test.c | 452 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/ |
D | kselftest_harness.h | 174 .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/ |
D | uevent_filtering.c | 249 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/ |
D | usbdevice_fs.h | 46 __u32 timeout; /* in milliseconds */ member 53 unsigned int timeout; /* in milliseconds */ member
|