Searched refs:timeout_ns (Results 1 – 6 of 6) sorted by relevance
| /tools/testing/selftests/futex/functional/ |
| D | futex_wait_timeout.c | 25 static long timeout_ns = 100000; /* 100us default timeout */ variable 84 long timeout_ns) in futex_get_abs_timeout() argument 91 to->tv_nsec += timeout_ns; in futex_get_abs_timeout() 124 timeout_ns = atoi(optarg); in main() 139 ksft_print_msg("\tArguments: timeout=%ldns\n", timeout_ns); in main() 146 to.tv_nsec = timeout_ns; in main() 152 if (futex_get_abs_timeout(CLOCK_REALTIME, &to, timeout_ns)) in main() 158 if (futex_get_abs_timeout(CLOCK_MONOTONIC, &to, timeout_ns)) in main() 164 if (futex_get_abs_timeout(CLOCK_REALTIME, &to, timeout_ns)) in main() 170 if (futex_get_abs_timeout(CLOCK_MONOTONIC, &to, timeout_ns)) in main() [all …]
|
| D | futex_requeue_pi.c | 46 static long timeout_ns; variable 280 int unit_test(int broadcast, long lock, int third_party_owner, long timeout_ns) in unit_test() argument 291 if (timeout_ns) { in unit_test() 294 info("timeout_ns = %ld\n", timeout_ns); in unit_test() 296 secs = (ts.tv_nsec + timeout_ns) / 1000000000; in unit_test() 297 ts.tv_nsec = ((int64_t)ts.tv_nsec + timeout_ns) % 1000000000; in unit_test() 385 timeout_ns = atoi(optarg); in main() 401 broadcast, locked, owner, timeout_ns); in main() 405 TEST_NAME, broadcast, locked, owner, timeout_ns); in main() 416 ret = unit_test(broadcast, locked, owner, timeout_ns); in main()
|
| D | futex_wait_wouldblock.c | 29 #define timeout_ns 100000 macro 42 struct timespec to = {.tv_sec = 0, .tv_nsec = timeout_ns}; in main() 91 to.tv_nsec += timeout_ns; in main()
|
| D | futex_requeue.c | 14 #define timeout_ns 30000000 macro 33 to.tv_nsec = timeout_ns; in waiterfn()
|
| D | futex_wait.c | 16 #define timeout_ns 30000000 macro 40 to.tv_nsec = timeout_ns; in waiterfn()
|
| /tools/include/uapi/drm/ |
| D | i915_drm.h | 1938 __s64 timeout_ns; member
|