Home
last modified time | relevance | path

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

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/
D5-1.c44 struct timespec abs_timeout; in fn_rd_1() local
56 abs_timeout.tv_sec = currsec1 + TIMEOUT; in fn_rd_1()
57 abs_timeout.tv_nsec = 0; in fn_rd_1()
60 rc = pthread_rwlock_timedrdlock(&rwlock, &abs_timeout); in fn_rd_1()
89 struct timespec abs_timeout; in fn_rd_2() local
101 abs_timeout.tv_sec = currsec1 - TIMEOUT; in fn_rd_2()
102 abs_timeout.tv_nsec = 0; in fn_rd_2()
105 rc = pthread_rwlock_timedrdlock(&rwlock, &abs_timeout); in fn_rd_2()
D6-1.c76 struct timespec abs_timeout; in th_fn() local
90 abs_timeout.tv_sec = before_wait.tv_sec; in th_fn()
91 abs_timeout.tv_nsec = before_wait.tv_usec * 1000; in th_fn()
92 abs_timeout.tv_sec += TIMEOUT; in th_fn()
96 rc = pthread_rwlock_timedrdlock(&rwlock, &abs_timeout); in th_fn()
D2-1.c51 struct timespec abs_timeout; in fn_rd() local
58 abs_timeout.tv_sec = currsec1 - TIMEOUT; in fn_rd()
59 abs_timeout.tv_nsec = 0; in fn_rd()
62 rc = pthread_rwlock_timedrdlock(&rwlock, &abs_timeout); in fn_rd()
D6-2.c85 struct timespec abs_timeout; in th_fn() local
99 abs_timeout.tv_sec = before_wait.tv_sec + TIMEOUT; in th_fn()
100 abs_timeout.tv_nsec = before_wait.tv_usec * 1000; in th_fn()
105 rc = pthread_rwlock_timedrdlock(&rwlock, &abs_timeout); in th_fn()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/
D5-1.c51 struct timespec abs_timeout; in fn_wr_1() local
63 abs_timeout.tv_sec = currsec1 + TIMEOUT; in fn_wr_1()
64 abs_timeout.tv_nsec = 0; in fn_wr_1()
67 rc = pthread_rwlock_timedwrlock(&rwlock, &abs_timeout); in fn_wr_1()
96 struct timespec abs_timeout; in fn_wr_2() local
107 abs_timeout.tv_sec = currsec1 - TIMEOUT; in fn_wr_2()
108 abs_timeout.tv_nsec = 0; in fn_wr_2()
111 rc = pthread_rwlock_timedwrlock(&rwlock, &abs_timeout); in fn_wr_2()
D2-1.c52 struct timespec abs_timeout; in fn() local
56 if (clock_gettime(CLOCK_REALTIME, &abs_timeout) != 0) { in fn()
65 abs_timeout.tv_sec -= TIMEOUT; in fn()
68 rc = pthread_rwlock_timedwrlock(&rwlock, &abs_timeout); in fn()
D6-1.c76 struct timespec abs_timeout; in th_fn() local
90 abs_timeout.tv_sec = before_wait.tv_sec + TIMEOUT; in th_fn()
91 abs_timeout.tv_nsec = before_wait.tv_usec * 1000; in th_fn()
95 rc = pthread_rwlock_timedwrlock(&rwlock, &abs_timeout); in th_fn()
D6-2.c85 struct timespec abs_timeout; in th_fn() local
99 abs_timeout.tv_sec = before_wait.tv_sec + TIMEOUT; in th_fn()
100 abs_timeout.tv_nsec = before_wait.tv_usec * 1000; in th_fn()
105 rc = pthread_rwlock_timedwrlock(&rwlock, &abs_timeout); in th_fn()
/external/valgrind/drd/tests/
Dtrylock.c24 struct timespec abs_timeout; in main() local
26 time(&abs_timeout.tv_sec); in main()
27 abs_timeout.tv_nsec = 0; in main()
28 abs_timeout.tv_sec += 10; in main()
39 r = pthread_rwlock_timedwrlock(&rwlock, &abs_timeout); assert(r == 0); in main()
54 r = pthread_rwlock_timedrdlock(&rwlock, &abs_timeout); assert(r == 0); in main()
72 r = pthread_mutex_timedlock(&mutex, &abs_timeout); assert(r == 0); in main()
/external/mesa3d/src/gallium/auxiliary/os/
Dos_time.c114 int64_t time, abs_timeout; in os_time_get_absolute_timeout() local
121 abs_timeout = time + (int64_t)timeout; in os_time_get_absolute_timeout()
124 if (abs_timeout < time) in os_time_get_absolute_timeout()
127 return abs_timeout; in os_time_get_absolute_timeout()
/external/ltp/testcases/kernel/syscalls/mq_notify/
Dmq_notify01.c137 struct timespec abs_timeout; in do_test() local
143 abs_timeout.tv_sec = 0; in do_test()
144 abs_timeout.tv_nsec = 0; in do_test()
201 rc = mq_timedsend(fd, smsg, MSG_SIZE, 0, &abs_timeout); in do_test()
/external/valgrind/drd/
Ddrd_pthread_intercepts.c949 const struct timespec *abs_timeout) in pthread_mutex_timedlock_intercept() argument
956 CALL_FN_W_WW(ret, fn, mutex, abs_timeout); in pthread_mutex_timedlock_intercept()
963 (pthread_mutex_t *mutex, const struct timespec *abs_timeout),
964 (mutex, abs_timeout));
1460 int sem_timedwait_intercept(sem_t *sem, const struct timespec *abs_timeout) in sem_timedwait_intercept() argument
1467 CALL_FN_W_WW(ret, fn, sem, abs_timeout); in sem_timedwait_intercept()
1474 (sem_t *sem, const struct timespec *abs_timeout),
1475 (sem, abs_timeout));
/external/mesa3d/src/gallium/drivers/radeon/
Dr600_pipe_common.c1123 int64_t abs_timeout = os_time_get_absolute_timeout(timeout); in r600_fence_finish() local
1132 timeout = abs_timeout > time ? abs_timeout - time : 0; in r600_fence_finish()
1152 timeout = abs_timeout > time ? abs_timeout - time : 0; in r600_fence_finish()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_bo.c53 int64_t abs_timeout; in amdgpu_bo_wait() local
60 abs_timeout = os_time_get_absolute_timeout(timeout); in amdgpu_bo_wait()
63 if (!os_wait_until_zero_abs_timeout(&bo->num_active_ioctls, abs_timeout)) in amdgpu_bo_wait()
117 if (amdgpu_fence_wait(fence, abs_timeout, true)) in amdgpu_bo_wait()
Damdgpu_cs.c85 int64_t abs_timeout; in amdgpu_fence_wait() local
93 abs_timeout = timeout; in amdgpu_fence_wait()
95 abs_timeout = os_time_get_absolute_timeout(timeout); in amdgpu_fence_wait()
101 abs_timeout)) in amdgpu_fence_wait()
118 abs_timeout, in amdgpu_fence_wait()
/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/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) {
/external/valgrind/memcheck/tests/arm64-linux/
Dscalar.stderr.exp2432 Syscall param mq_timedsend(abs_timeout) contains uninitialised byte(s)
2441 Syscall param mq_timedsend(abs_timeout) points to unaddressable byte(s)
2465 Syscall param mq_timedreceive(abs_timeout) contains uninitialised byte(s)
2479 Syscall param mq_timedreceive(abs_timeout) points to unaddressable byte(s)
/external/valgrind/memcheck/tests/x86-linux/
Dscalar.stderr.exp4035 Syscall param mq_timedsend(abs_timeout) contains uninitialised byte(s)
4044 Syscall param mq_timedsend(abs_timeout) points to unaddressable byte(s)
4068 Syscall param mq_timedreceive(abs_timeout) contains uninitialised byte(s)
4082 Syscall param mq_timedreceive(abs_timeout) points to unaddressable byte(s)
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-linux.c2568 unsigned int, msg_prio, const struct timespec *, abs_timeout); in PRE()
2587 const struct timespec *, abs_timeout); in PRE()