Searched refs:ts1 (Results 1 - 9 of 9) sorted by relevance

/freebsd-10.2-release/contrib/netbsd-tests/lib/libc/sys/
H A Dt_nanosleep.c66 struct timespec ts1, ts2, tsn; local
74 (void)memset(&ts1, 0, sizeof(struct timespec));
77 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &ts1) == 0);
84 if (timespeccmp(&ts2, &ts1, <=) != 0) {
88 "ts1: sec %llu, nsec %lu\n\t\t"
91 (unsigned long long)ts1.tv_sec, ts1.tv_nsec,
/freebsd-10.2-release/lib/libkse/thread/
H A Dthr_nanosleep.c50 struct timespec ts, ts1; local
79 KSE_GET_TOD(curthread->kse, &ts1);
81 + ts.tv_sec - ts1.tv_sec;
83 + ts.tv_nsec - ts1.tv_nsec;
/freebsd-10.2-release/lib/libthr/thread/
H A Dthr_mutex.c565 struct timespec ts1, ts2; local
576 clock_gettime(CLOCK_REALTIME, &ts1);
577 TIMESPEC_SUB(&ts2, abstime, &ts1);
601 clock_gettime(CLOCK_REALTIME, &ts1);
602 TIMESPEC_SUB(&ts2, abstime, &ts1);
607 ts1.tv_sec = 30;
608 ts1.tv_nsec = 0;
610 __sys_nanosleep(&ts1, NULL);
/freebsd-10.2-release/contrib/gcc/
H A Dcfglayout.c388 tree ts1 = s1, ts2 = s2;
391 while (ts1 != ts2)
393 gcc_assert (ts1 && ts2);
394 if (BLOCK_NUMBER (ts1) > BLOCK_NUMBER (ts2))
395 ts1 = BLOCK_SUPERCONTEXT (ts1);
396 else if (BLOCK_NUMBER (ts1) < BLOCK_NUMBER (ts2))
400 ts1 = BLOCK_SUPERCONTEXT (ts1);
404 com = ts1;
383 tree ts1 = s1, ts2 = s2; local
[all...]
/freebsd-10.2-release/sys/kern/
H A Dsubr_turnstile.c819 struct turnstile *ts1; local
848 ts1 = ts;
853 ts1 = LIST_FIRST(&ts->ts_free);
854 MPASS(ts1 != NULL);
855 LIST_REMOVE(ts1, ts_hash);
856 td->td_turnstile = ts1;
H A Duipc_sem.c813 struct timespec ts1, ts2; local
845 ts1 = *abstime;
847 timespecsub(&ts1, &ts2);
848 TIMESPEC_TO_TIMEVAL(&tv, &ts1);
/freebsd-10.2-release/sys/netsmb/
H A Dsmb_trantcp.c522 struct timespec ts1, ts2; local
542 getnanotime(&ts1);
547 timespecsub(&ts2, &ts1);
/freebsd-10.2-release/usr.sbin/moused/
H A Dmoused.c2547 struct timespec ts1; local
2560 clock_gettime(CLOCK_MONOTONIC_FAST, &ts1);
2561 drift_current_ts = ts1;
2566 tssub(&ts1, &ts2, &ts);
2572 tssub(&ts1, &ts2, &ts3);
2586 bstate[i].ts = ts1;
2589 bstate[i].ts = ts1;
2596 bstate[i].ts = ts1;
2613 struct timespec ts1; local
2618 clock_gettime(CLOCK_MONOTONIC_FAST, &ts1);
[all...]
/freebsd-10.2-release/sys/ofed/drivers/net/mlx4/
H A Dcmd.c468 static int mlx4_cmd_post(struct mlx4_dev *dev, struct timespec *ts1, argument
524 if (ts1)
525 ktime_get_ts(ts1);
710 struct timespec ts1, ts2; local
728 err = mlx4_cmd_post(dev, &ts1, in_param, out_param ? *out_param : 0,
747 t1 = timespec_to_ktime(ts1);

Completed in 196 milliseconds