| /src/sys/arch/emips/stand/common/ |
| clock.c | 44 uint64_t now; local 53 now = Tc->FreeRunning; 56 now = now / 10*1000*1000; 59 now = now >> 23; 61 return (long) now;
|
| /src/sys/net/agr/ |
| ieee8023ad_lacp_sm_tx.c | 54 int now; local 70 now = getticks(); 71 if ((unsigned int)(now - lp->lp_last_lacpdu_sent) <= 75 lp->lp_last_lacpdu_sent = now;
|
| /src/sys/netbt/ |
| hci_misc.c | 81 * Now check all the memos to see if there has been an 118 struct timeval now; local 120 microtime(&now); 126 if (now.tv_sec > memo->time.tv_sec + hci_memo_expiry) {
|
| /src/sys/ufs/ext2fs/ |
| ext2fs_subr.c | 108 struct timespec now; local 114 vfs_timestamp(&now); 117 acc = &now; 122 mod = &now; 128 cre = &now;
|
| /src/sys/ufs/lfs/ |
| lfs_itimes.c | 63 struct timespec now; local 67 vfs_timestamp(&now); 73 acc = &now; 108 mod = &now; 117 cre = &now;
|
| /src/games/ching/castching/ |
| castching.c | 63 static time_t now; /* current time */ variable 83 time(&now); 85 seed = (int)now + getquest() + getgid() + getuid() + getpid();
|
| /src/lib/libc/time/ |
| getdate.c | 70 time_t now; local 122 time(&now); 123 tmp = localtime(&now);
|
| /src/regress/sys/kern/kqueue/vnode/ |
| vnode.c | 48 struct timeval then, now, diff; local 98 if (gettimeofday(&now, NULL) == -1) 99 err(1, "gettimeofday now"); 100 timersub(&now, &then, &diff);
|
| /src/sbin/mount_nilfs/ |
| mount_nilfs.c | 105 time_t now; local 141 (void)time(&now); 142 tm = localtime(&now);
|
| /src/sys/arch/landisk/stand/boot/ |
| delay.c | 124 uint32_t base, now; local 128 now = gettick(); 129 if (((now - base) / MS_PER_TICK) > ms) {
|
| /src/sys/dev/ic/ |
| mm58167.c | 85 struct timeval now; local 119 getmicrotime(&now); 120 clock_secs_to_ymdhms(now.tv_sec, &dt_reasonable); 154 * it is now after that leap day. It doesn't do the right 185 * past March now. Check this year for a leap day.
|
| /src/sys/external/bsd/drm2/include/linux/ |
| timer.h | 63 const unsigned long now = jiffies; local 67 callout_schedule(&timer->tl_callout, (now < then? (then - now) : 0));
|
| /src/usr.bin/find/ |
| main.c | 62 time_t now; /* time find was run */ variable 80 (void)time(&now); /* initialize the time-of-day */
|
| /src/usr.sbin/rtadvd/ |
| timer.c | 102 struct timespec now; local 105 prog_clock_gettime(CLOCK_MONOTONIC, &now); 106 timespecadd(&now, tm, &timer->tm); 125 struct timespec now; local 128 prog_clock_gettime(CLOCK_MONOTONIC, &now); 134 if (timespeccmp(&tm->tm, &now, <=)) { 139 timespecadd(&tm->tm, &now, &tm->tm); 147 if (timespeccmp(&tm_max, &now, <)) { 151 timespecsub(&tm_max, &now, &returnval); 159 struct timespec now; local [all...] |
| /src/bin/sleep/ |
| sleep.c | 79 struct timespec now; local 105 * machines, but now we won't ever have trouble. If you want 178 if (clock_gettime(CLOCK_MONOTONIC, &now) != 0) 180 timespecadd(&now, &ntime, &endtime); 182 if (endtime.tv_sec < now.tv_sec || (endtime.tv_sec == now.tv_sec && 183 endtime.tv_nsec <= now.tv_nsec)) 200 if (clock_gettime(CLOCK_MONOTONIC, &now) != 0) /* Huh? */ 203 timespecsub(&endtime, &now, &ntime);
|
| /src/sbin/mount_udf/ |
| mount_udf.c | 105 time_t now; local 164 (void)time(&now); 165 tm = localtime(&now);
|
| /src/sbin/newfs_udf/ |
| newfs_udf.c | 143 time_t now; local 173 (void)time(&now); 174 tm = localtime(&now);
|
| /src/sys/arch/alpha/alpha/ |
| qemu.c | 89 unsigned long now; local 92 while ((now = qemu_get_vmtime()) < finished) { 97 if (finished - now > qemu_nsec_per_tick) {
|
| /src/sys/arch/arm/imx/ |
| imx23_platform.c | 125 uint32_t now; local 135 now = REG_RD(HW_DIGCTL_BASE + HW_DIGCTL_MICROSECONDS); 137 if (start <= now) 138 elapsed = now - start; 140 elapsed = (UINT32_MAX - start) + 1 + now;
|
| /src/sys/arch/riscv/riscv/ |
| clock_machdep.c | 123 const uint64_t now = csr_time_read(); local 125 ci->ci_lastintr = now; 130 if (__predict_true(ci->ci_lastintr_scheduled > now))
|
| /src/sys/external/bsd/drm2/dist/drm/vmwgfx/ |
| vmwgfx_marker.c | 82 u64 now; local 85 now = ktime_get_raw_ns(); 89 queue->lag_time = now; 98 queue->lag = now - marker->submitted; 99 queue->lag_time = now; 113 u64 now; local 116 now = ktime_get_raw_ns(); 117 queue->lag += now - queue->lag_time; 118 queue->lag_time = now;
|
| /src/sys/external/isc/atheros_hal/dist/ar5210/ |
| ar5210_recv.c | 215 uint32_t now, rstamp; local 233 now = (OS_REG_READ(ah, AR_TSF_L32) >> 10) & 0xffff; 234 if ((now & 0x1fff) < rstamp) 235 rstamp |= (now - 0x2000) & 0xffff; 237 rstamp |= now;
|
| /src/sys/external/isc/libsodium/dist/test/default/ |
| cmptest.h | 45 static unsigned long long now(void) function 48 unsigned long long now; local 53 now = ((unsigned long long) tp.tv_sec * 1000000ULL) + 56 return now; 69 ts_start = now(); 75 ts_end = now();
|
| /src/sys/ufs/chfs/ |
| chfs_subr.c | 309 struct timespec now; local 315 vfs_timestamp(&now); 318 acc = &now; 323 mod = &now; 328 cre = &now;
|
| /src/tests/lib/libutil/ |
| t_parsedate.c | 191 * but that is fixed now. 289 time_t now; local 291 #define REL_CHECK(s, now, tm) do { \ 294 p = parsedate(s, &now, NULL); \ 298 (uintmax_t)now, ctime_r(&now, nb), \ 319 for (now = 0x00FFFFFF; now < 0xFF000000; now += 3777779) { 320 ATF_CHECK(localtime_r(&now, &tm) != NULL) [all...] |