/freebsd-10-stable/lib/libkse/thread/ |
H A D | thr_nanosleep.c | 50 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-stable/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_nanosleep.c | 71 struct timespec ts1, ts2, tsn; local 79 (void)memset(&ts1, 0, sizeof(struct timespec)); 82 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &ts1) == 0); 89 if (timespeccmp(&ts2, &ts1, <=) != 0) { 93 "ts1: sec %llu, nsec %lu\n\t\t" 96 (unsigned long long)ts1.tv_sec, ts1.tv_nsec,
|
/freebsd-10-stable/lib/libthr/thread/ |
H A D | thr_mutex.c | 565 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-stable/contrib/gcc/ |
H A D | cfglayout.c | 388 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-stable/sys/kern/ |
H A D | subr_turnstile.c | 819 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 D | uipc_sem.c | 840 struct timespec ts1, ts2; local 872 ts1 = *abstime; 874 timespecsub(&ts1, &ts2); 875 TIMESPEC_TO_TIMEVAL(&tv, &ts1);
|
/freebsd-10-stable/sys/netsmb/ |
H A D | smb_trantcp.c | 522 struct timespec ts1, ts2; local 542 getnanotime(&ts1); 547 timespecsub(&ts2, &ts1);
|
/freebsd-10-stable/usr.sbin/moused/ |
H A D | moused.c | 2547 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-stable/sys/ofed/drivers/net/mlx4/ |
H A D | cmd.c | 468 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);
|
/freebsd-10-stable/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_cmd.c | 963 ds = ent->ts2 - ent->ts1; 1029 ent->ts1 = ktime_get_ns(); 1151 ds = ent->ts2 - ent->ts1;
|
/freebsd-10-stable/sys/compat/linux/ |
H A D | linux_misc.c | 2325 struct timespec ts0, ts1; local 2360 nanotime(&ts1); 2361 timespecsub(&ts1, &ts0); 2362 timespecsub(&uts, &ts1);
|
/freebsd-10-stable/sys/dev/mlx5/ |
H A D | driver.h | 727 u64 ts1; member in struct:mlx5_cmd_work_ent
|