/dragonfly/lib/libthread_xu/thread/ |
H A D | thr_umtx.c | 140 struct timespec ts, ts2, ts3; in __thr_umtx_timedlock() local 151 ts2 = *timeout; in __thr_umtx_timedlock() 156 if (ts2.tv_nsec) { in __thr_umtx_timedlock() 167 timespecsub(&ts, &ts3, &ts2); in __thr_umtx_timedlock() 168 if (ts2.tv_sec < 0 || in __thr_umtx_timedlock() 169 (ts2.tv_sec == 0 && ts2.tv_nsec <= 0)) { in __thr_umtx_timedlock() 184 struct timespec ts, ts2, ts3; in _thr_umtx_wait() local 224 ts2 = *timeout; in _thr_umtx_wait() 227 if (ts2.tv_nsec) { in _thr_umtx_wait() 247 timespecsub(&ts, &ts3, &ts2); in _thr_umtx_wait() [all …]
|
H A D | thr_join.c | 73 struct timespec ts, ts2, *tsp; in join_common() local 110 timespecsub(abstime, &ts, &ts2); in join_common() 111 if (ts2.tv_sec < 0) { in join_common() 115 tsp = &ts2; in join_common()
|
H A D | thr_mutex.c | 409 struct timespec ts, ts2; in mutex_lock_common() local 434 timespecsub(abstime, &ts, &ts2); in mutex_lock_common() 436 &m->m_lock, &ts2); in mutex_lock_common() 586 struct timespec ts1, ts2; in mutex_self_lock() local 594 timespecsub(abstime, &ts1, &ts2); in mutex_self_lock() 595 __sys_nanosleep(&ts2, NULL); in mutex_self_lock() 614 timespecsub(abstime, &ts1, &ts2); in mutex_self_lock() 615 __sys_nanosleep(&ts2, NULL); in mutex_self_lock()
|
H A D | thr_cond.c | 235 struct timespec ts, ts2, *tsp; in cond_wait_common() local 277 timespecsub(abstime, &ts, &ts2); in cond_wait_common() 278 tsp = &ts2; in cond_wait_common()
|
H A D | thr_sem.c | 340 struct timespec ts, ts2; in _sem_timedwait() local 372 timespecsub(abstime, &ts, &ts2); in _sem_timedwait() 375 retval = _thr_umtx_wait(&(*sem)->count, 0, &ts2, in _sem_timedwait()
|
/dragonfly/usr.bin/undo/ |
H A D | undo.c | 82 struct hammer_ioc_hist_entry ts2, 87 struct hammer_ioc_hist_entry ts2, 124 struct hammer_ioc_hist_entry ts2; in main() local 130 bzero(&ts2, sizeof(ts2)); in main() 249 struct hammer_ioc_hist_entry ts2, in doiterate() argument 304 struct hammer_ioc_hist_entry ts2, in doiterate_dump() argument 326 while (tse2 && ts2.tid--) { in doiterate_dump() 331 ts2 = tse2->tse; in doiterate_dump() 333 ts2.tid = 0; in doiterate_dump() 342 ts2 = tse2->tse; in doiterate_dump() [all …]
|
/dragonfly/sys/netproto/smb/ |
H A D | smb_trantcp.c | 451 struct timespec ts1, ts2; in smb_nbst_connect() local 475 getnanotime(&ts2); in smb_nbst_connect() 476 timespecsub(&ts2, &ts1, &ts2); in smb_nbst_connect() 477 if (ts2.tv_sec == 0) { in smb_nbst_connect() 478 ts2.tv_sec = 1; in smb_nbst_connect() 479 ts2.tv_nsec = 0; in smb_nbst_connect() 481 timespecadd(&ts2, &ts2, &nbp->nbp_timo); in smb_nbst_connect() 482 timespecadd(&nbp->nbp_timo, &ts2, &nbp->nbp_timo); in smb_nbst_connect() 483 timespecadd(&nbp->nbp_timo, &ts2, &nbp->nbp_timo); /* * 4 */ in smb_nbst_connect()
|
/dragonfly/contrib/gcc-4.7/gcc/ |
H A D | cfglayout.c | 426 tree ts1 = s1, ts2 = s2; in change_scope() local 429 while (ts1 != ts2) in change_scope() 431 gcc_assert (ts1 && ts2); in change_scope() 432 if (BLOCK_NUMBER (ts1) > BLOCK_NUMBER (ts2)) in change_scope() 434 else if (BLOCK_NUMBER (ts1) < BLOCK_NUMBER (ts2)) in change_scope() 435 ts2 = BLOCK_SUPERCONTEXT (ts2); in change_scope() 439 ts2 = BLOCK_SUPERCONTEXT (ts2); in change_scope()
|
/dragonfly/test/sysperf/ |
H A D | syscall2.c | 22 struct timespec ts, ts2; in main() local
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | final.c | 1545 tree ts1 = s1, ts2 = s2; in change_scope() local 1548 while (ts1 != ts2) in change_scope() 1550 gcc_assert (ts1 && ts2); in change_scope() 1551 if (BLOCK_NUMBER (ts1) > BLOCK_NUMBER (ts2)) in change_scope() 1553 else if (BLOCK_NUMBER (ts1) < BLOCK_NUMBER (ts2)) in change_scope() 1554 ts2 = BLOCK_SUPERCONTEXT (ts2); in change_scope() 1558 ts2 = BLOCK_SUPERCONTEXT (ts2); in change_scope()
|