Home
last modified time | relevance | path

Searched refs:ts2 (Results 1 – 10 of 10) sorted by relevance

/dragonfly/lib/libthread_xu/thread/
H A Dthr_umtx.c140 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 Dthr_join.c73 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 Dthr_mutex.c409 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 Dthr_cond.c235 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 Dthr_sem.c340 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 Dundo.c82 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 Dsmb_trantcp.c451 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 Dcfglayout.c426 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 Dsyscall2.c22 struct timespec ts, ts2; in main() local
/dragonfly/contrib/gcc-8.0/gcc/
H A Dfinal.c1545 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()