Home
last modified time | relevance | path

Searched refs:abs_timeout (Results 1 – 18 of 18) sorted by relevance

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/
D5-1.c50 struct timespec abs_timeout; in fn_wr_1() local
62 abs_timeout.tv_sec = currsec1 + TIMEOUT; in fn_wr_1()
63 abs_timeout.tv_nsec = 0; in fn_wr_1()
66 rc = pthread_rwlock_timedwrlock(&rwlock, &abs_timeout); in fn_wr_1()
95 struct timespec abs_timeout; in fn_wr_2() local
106 abs_timeout.tv_sec = currsec1 - TIMEOUT; in fn_wr_2()
107 abs_timeout.tv_nsec = 0; in fn_wr_2()
110 rc = pthread_rwlock_timedwrlock(&rwlock, &abs_timeout); in fn_wr_2()
D2-1.c51 struct timespec abs_timeout; in fn() local
55 if (clock_gettime(CLOCK_REALTIME, &abs_timeout) != 0) { in fn()
64 abs_timeout.tv_sec -= TIMEOUT; in fn()
67 rc = pthread_rwlock_timedwrlock(&rwlock, &abs_timeout); in fn()
D6-1.c75 struct timespec abs_timeout; in th_fn() local
89 abs_timeout.tv_sec = before_wait.tv_sec + TIMEOUT; in th_fn()
90 abs_timeout.tv_nsec = before_wait.tv_usec * 1000; in th_fn()
94 rc = pthread_rwlock_timedwrlock(&rwlock, &abs_timeout); in th_fn()
D6-2.c84 struct timespec abs_timeout; in th_fn() local
98 abs_timeout.tv_sec = before_wait.tv_sec + TIMEOUT; in th_fn()
99 abs_timeout.tv_nsec = before_wait.tv_usec * 1000; in th_fn()
104 rc = pthread_rwlock_timedwrlock(&rwlock, &abs_timeout); in th_fn()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/
D5-1.c43 struct timespec abs_timeout; in fn_rd_1() local
55 abs_timeout.tv_sec = currsec1 + TIMEOUT; in fn_rd_1()
56 abs_timeout.tv_nsec = 0; in fn_rd_1()
59 rc = pthread_rwlock_timedrdlock(&rwlock, &abs_timeout); in fn_rd_1()
88 struct timespec abs_timeout; in fn_rd_2() local
100 abs_timeout.tv_sec = currsec1 - TIMEOUT; in fn_rd_2()
101 abs_timeout.tv_nsec = 0; in fn_rd_2()
104 rc = pthread_rwlock_timedrdlock(&rwlock, &abs_timeout); in fn_rd_2()
D6-1.c75 struct timespec abs_timeout; in th_fn() local
89 abs_timeout.tv_sec = before_wait.tv_sec; in th_fn()
90 abs_timeout.tv_nsec = before_wait.tv_usec * 1000; in th_fn()
91 abs_timeout.tv_sec += TIMEOUT; in th_fn()
95 rc = pthread_rwlock_timedrdlock(&rwlock, &abs_timeout); in th_fn()
D2-1.c50 struct timespec abs_timeout; in fn_rd() local
57 abs_timeout.tv_sec = currsec1 - TIMEOUT; in fn_rd()
58 abs_timeout.tv_nsec = 0; in fn_rd()
61 rc = pthread_rwlock_timedrdlock(&rwlock, &abs_timeout); in fn_rd()
D6-2.c84 struct timespec abs_timeout; in th_fn() local
98 abs_timeout.tv_sec = before_wait.tv_sec + TIMEOUT; in th_fn()
99 abs_timeout.tv_nsec = before_wait.tv_usec * 1000; in th_fn()
104 rc = pthread_rwlock_timedrdlock(&rwlock, &abs_timeout); in th_fn()
/external/mesa3d/src/util/
Dos_time.c123 int64_t time, abs_timeout; in os_time_get_absolute_timeout() local
130 abs_timeout = time + (int64_t)timeout; in os_time_get_absolute_timeout()
133 if (abs_timeout < time) in os_time_get_absolute_timeout()
136 return abs_timeout; in os_time_get_absolute_timeout()
Du_queue.c100 bool timeout, int64_t abs_timeout) in do_futex_fence_wait() argument
104 ts.tv_sec = abs_timeout / (1000*1000*1000); in do_futex_fence_wait()
105 ts.tv_nsec = abs_timeout % (1000*1000*1000); in do_futex_fence_wait()
134 int64_t abs_timeout) in _util_queue_fence_wait_timeout() argument
136 return do_futex_fence_wait(fence, true, abs_timeout); in _util_queue_fence_wait_timeout()
162 int64_t abs_timeout) in _util_queue_fence_wait_timeout() argument
168 int64_t rel = abs_timeout - os_time_get_nano(); in _util_queue_fence_wait_timeout()
175 ts.tv_sec += abs_timeout / (1000*1000*1000); in _util_queue_fence_wait_timeout()
176 ts.tv_nsec += abs_timeout % (1000*1000*1000); in _util_queue_fence_wait_timeout()
Du_queue.h165 int64_t abs_timeout);
178 int64_t abs_timeout) in util_queue_fence_wait_timeout() argument
183 if (abs_timeout == (int64_t)OS_TIMEOUT_INFINITE) { in util_queue_fence_wait_timeout()
188 return _util_queue_fence_wait_timeout(fence, abs_timeout); in util_queue_fence_wait_timeout()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_fence.c191 int64_t abs_timeout = os_time_get_absolute_timeout(timeout); in si_fence_finish() local
213 if (!util_queue_fence_wait_timeout(&rfence->ready, abs_timeout)) in si_fence_finish()
219 timeout = abs_timeout > time ? abs_timeout - time : 0; in si_fence_finish()
230 timeout = abs_timeout > time ? abs_timeout - time : 0; in si_fence_finish()
283 timeout = abs_timeout > time ? abs_timeout - time : 0; in si_fence_finish()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_pipe_common.c1178 int64_t abs_timeout = os_time_get_absolute_timeout(timeout); in r600_fence_finish() local
1190 timeout = abs_timeout > time ? abs_timeout - time : 0; in r600_fence_finish()
1210 timeout = abs_timeout > time ? abs_timeout - time : 0; in r600_fence_finish()
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_bo.c136 int64_t abs_timeout; in radeon_bo_wait() local
142 abs_timeout = os_time_get_absolute_timeout(timeout); in radeon_bo_wait()
145 if (!os_wait_until_zero_abs_timeout(&bo->num_active_ioctls, abs_timeout)) in radeon_bo_wait()
149 if (abs_timeout == PIPE_TIMEOUT_INFINITE) { in radeon_bo_wait()
156 if (os_time_get_nano() >= abs_timeout) in radeon_bo_wait()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_cs.c162 int64_t abs_timeout; in amdgpu_fence_wait() local
185 abs_timeout = timeout; in amdgpu_fence_wait()
187 abs_timeout = os_time_get_absolute_timeout(timeout); in amdgpu_fence_wait()
192 if (!util_queue_fence_wait_timeout(&rfence->submitted, abs_timeout)) in amdgpu_fence_wait()
209 abs_timeout, in amdgpu_fence_wait()
Damdgpu_bo.c60 int64_t abs_timeout; in amdgpu_bo_wait() local
67 abs_timeout = os_time_get_absolute_timeout(timeout); in amdgpu_bo_wait()
70 if (!os_wait_until_zero_abs_timeout(&bo->num_active_ioctls, abs_timeout)) in amdgpu_bo_wait()
124 if (amdgpu_fence_wait(fence, abs_timeout, true)) in amdgpu_bo_wait()
/external/compiler-rt/include/sanitizer/
Dlinux_syscall_hooks.h1369 msg_prio, abs_timeout) \ argument
1372 (long)(abs_timeout))
1374 msg_prio, abs_timeout) \ argument
1377 (long)(abs_timeout))
1379 msg_prio, abs_timeout) \ argument
1382 (long)(abs_timeout))
1384 msg_prio, abs_timeout) \ argument
1387 (long)(abs_timeout))
2781 long abs_timeout);
2785 long abs_timeout);
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_syscalls.inc2177 long msg_prio, const void *abs_timeout) {
2179 if (abs_timeout) PRE_READ(abs_timeout, struct_timespec_sz);
2184 const void *abs_timeout) {}
2187 void *msg_prio, const void *abs_timeout) {
2188 if (abs_timeout) PRE_READ(abs_timeout, struct_timespec_sz);
2192 int *msg_prio, const void *abs_timeout) {