/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/ |
D | 5-1.c | 50 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()
|
D | 2-1.c | 51 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()
|
D | 6-1.c | 75 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()
|
D | 6-2.c | 84 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/ |
D | 5-1.c | 43 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()
|
D | 6-1.c | 75 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()
|
D | 2-1.c | 50 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()
|
D | 6-2.c | 84 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/gallium/drivers/v3d/ |
D | v3d_fence.c | 88 uint64_t abs_timeout = os_time_get_absolute_timeout(timeout_ns); in v3d_fence_finish() local 89 if (abs_timeout == OS_TIMEOUT_INFINITE) in v3d_fence_finish() 90 abs_timeout = INT64_MAX; in v3d_fence_finish() 92 ret = drmSyncobjWait(screen->fd, &syncobj, 1, abs_timeout, 0, NULL); in v3d_fence_finish()
|
/external/mesa3d/src/util/ |
D | os_time.c | 121 int64_t time, abs_timeout; in os_time_get_absolute_timeout() local 128 abs_timeout = time + (int64_t)timeout; in os_time_get_absolute_timeout() 131 if (abs_timeout < time) in os_time_get_absolute_timeout() 134 return abs_timeout; in os_time_get_absolute_timeout()
|
D | u_queue.h | 166 int64_t abs_timeout); 179 int64_t abs_timeout) in util_queue_fence_wait_timeout() argument 184 if (abs_timeout == (int64_t)OS_TIMEOUT_INFINITE) { in util_queue_fence_wait_timeout() 189 return _util_queue_fence_wait_timeout(fence, abs_timeout); in util_queue_fence_wait_timeout()
|
D | u_queue.c | 113 bool timeout, int64_t abs_timeout) in do_futex_fence_wait() argument 117 ts.tv_sec = abs_timeout / (1000*1000*1000); in do_futex_fence_wait() 118 ts.tv_nsec = abs_timeout % (1000*1000*1000); in do_futex_fence_wait() 147 int64_t abs_timeout) in _util_queue_fence_wait_timeout() argument 149 return do_futex_fence_wait(fence, true, abs_timeout); in _util_queue_fence_wait_timeout() 175 int64_t abs_timeout) in _util_queue_fence_wait_timeout() argument 181 int64_t rel = abs_timeout - os_time_get_nano(); in _util_queue_fence_wait_timeout() 192 ts.tv_sec += abs_timeout / (1000*1000*1000); in _util_queue_fence_wait_timeout() 193 ts.tv_nsec += abs_timeout % (1000*1000*1000); in _util_queue_fence_wait_timeout()
|
/external/igt-gpu-tools/tests/ |
D | panfrost_submit.c | 53 abs_timeout(uint64_t duration) in abs_timeout() function 103 abs_timeout(SHORT_TIME_NSEC), 0, NULL)); 164 abs_timeout(SHORT_TIME_NSEC), 0, NULL)); 173 abs_timeout(BAD_JOB_TIME_NSEC), 0, NULL));
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_fence.c | 270 int64_t abs_timeout = os_time_get_absolute_timeout(timeout); in si_fence_finish() local 294 if (!util_queue_fence_wait_timeout(&sfence->ready, abs_timeout)) in si_fence_finish() 300 timeout = abs_timeout > time ? abs_timeout - time : 0; in si_fence_finish() 311 timeout = abs_timeout > time ? abs_timeout - time : 0; in si_fence_finish() 359 timeout = abs_timeout > time ? abs_timeout - time : 0; in si_fence_finish()
|
/external/mesa3d/src/gallium/drivers/lima/ |
D | lima_bo.c | 525 int64_t abs_timeout; in lima_bo_wait() local 528 abs_timeout = 0; in lima_bo_wait() 530 abs_timeout = os_time_get_absolute_timeout(timeout_ns); in lima_bo_wait() 532 if (abs_timeout == OS_TIMEOUT_INFINITE) in lima_bo_wait() 533 abs_timeout = INT64_MAX; in lima_bo_wait() 538 .timeout_ns = abs_timeout, in lima_bo_wait()
|
D | lima_job.c | 244 int64_t abs_timeout = os_time_get_absolute_timeout(timeout_ns); in lima_job_wait() local 245 if (abs_timeout == OS_TIMEOUT_INFINITE) in lima_job_wait() 246 abs_timeout = INT64_MAX; in lima_job_wait() 249 return !drmSyncobjWait(job->fd, ctx->out_sync + pipe, 1, abs_timeout, 0, NULL); in lima_job_wait()
|
/external/mesa3d/src/gallium/drivers/panfrost/ |
D | pan_screen.c | 659 uint64_t abs_timeout = os_time_get_absolute_timeout(timeout); in panfrost_fence_finish() local 660 if (abs_timeout == OS_TIMEOUT_INFINITE) in panfrost_fence_finish() 661 abs_timeout = INT64_MAX; in panfrost_fence_finish() 665 abs_timeout, DRM_SYNCOBJ_WAIT_FLAGS_WAIT_ALL, in panfrost_fence_finish()
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_queue.c | 58 static int64_t anv_get_relative_timeout(uint64_t abs_timeout) in anv_get_relative_timeout() argument 72 if (abs_timeout < now) in anv_get_relative_timeout() 75 uint64_t rel_timeout = abs_timeout - now; in anv_get_relative_timeout() 1707 uint64_t abs_timeout) in anv_wait_for_wsi_fence() argument 1709 return impl->fence_wsi->wait(impl->fence_wsi, abs_timeout); in anv_wait_for_wsi_fence() 1717 uint64_t abs_timeout) in anv_wait_for_fences() argument 1734 true, abs_timeout); in anv_wait_for_fences() 1738 true, abs_timeout); in anv_wait_for_fences() 1741 result = anv_wait_for_wsi_fence(device, impl, abs_timeout); in anv_wait_for_fences() 1756 } while (anv_gettime_ns() < abs_timeout); in anv_wait_for_fences() [all …]
|
/external/mesa3d/src/gallium/winsys/amdgpu/drm/ |
D | amdgpu_cs.c | 187 int64_t abs_timeout; in amdgpu_fence_wait() local 195 abs_timeout = timeout; in amdgpu_fence_wait() 197 abs_timeout = os_time_get_absolute_timeout(timeout); in amdgpu_fence_wait() 201 if (abs_timeout == OS_TIMEOUT_INFINITE) in amdgpu_fence_wait() 202 abs_timeout = INT64_MAX; in amdgpu_fence_wait() 205 abs_timeout, 0, NULL)) in amdgpu_fence_wait() 215 if (!util_queue_fence_wait_timeout(&afence->submitted, abs_timeout)) in amdgpu_fence_wait() 232 abs_timeout, in amdgpu_fence_wait()
|
D | amdgpu_bo.c | 55 int64_t abs_timeout; in amdgpu_bo_wait() local 62 abs_timeout = os_time_get_absolute_timeout(timeout); in amdgpu_bo_wait() 65 if (!os_wait_until_zero_abs_timeout(&bo->num_active_ioctls, abs_timeout)) in amdgpu_bo_wait() 119 if (amdgpu_fence_wait(fence, abs_timeout, true)) in amdgpu_bo_wait()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_pipe_common.c | 1095 int64_t abs_timeout = os_time_get_absolute_timeout(timeout); in r600_fence_finish() local 1107 timeout = abs_timeout > time ? abs_timeout - time : 0; in r600_fence_finish() 1127 timeout = abs_timeout > time ? abs_timeout - time : 0; in r600_fence_finish()
|
/external/mesa3d/src/vulkan/wsi/ |
D | wsi_common.h | 74 VkResult (*wait)(struct wsi_fence *fence, uint64_t abs_timeout);
|
/external/mesa3d/src/gallium/winsys/radeon/drm/ |
D | radeon_drm_bo.c | 136 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/compiler-rt/include/sanitizer/ |
D | linux_syscall_hooks.h | 1369 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/mesa3d/src/freedreno/vulkan/ |
D | tu_query.c | 272 uint64_t abs_timeout = os_time_get_absolute_timeout( in wait_for_available() local 274 while(os_time_get_nano() < abs_timeout) { in wait_for_available()
|