HomeSort by: relevance | last modified time | path
    Searched defs:now (Results 1 - 25 of 234) sorted by relevancy

1 2 3 4 5 6 7 8 910

  /src/sys/arch/emips/stand/common/
clock.c 44 uint64_t now; local in function:getsecs
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 in function:lacp_sm_tx
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 in function:hci_memo_find
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 in function:ext2fs_itimes
114 vfs_timestamp(&now);
117 acc = &now;
122 mod = &now;
128 cre = &now;
  /src/sys/ufs/lfs/
lfs_itimes.c 62 struct timespec now; local in function:lfs_itimes
66 vfs_timestamp(&now);
72 acc = &now;
97 mod = &now;
106 cre = &now;
  /src/games/ching/castching/
castching.c 63 static time_t now; /* current time */ variable in typeref:typename:time_t
83 time(&now);
85 seed = (int)now + getquest() + getgid() + getuid() + getpid();
  /src/lib/libc/time/
getdate.c 70 time_t now; local in function:getdate
122 time(&now);
123 tmp = localtime(&now);
  /src/regress/sys/kern/kqueue/vnode/
vnode.c 48 struct timeval then, now, diff; local in function:main
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 in function:mount_nilfs_parseargs
141 (void)time(&now);
142 tm = localtime(&now);
  /src/sys/arch/landisk/stand/boot/
delay.c 124 uint32_t base, now; local in function:delay
128 now = gettick();
129 if (((now - base) / MS_PER_TICK) > ms) {
  /src/sys/external/bsd/drm2/include/linux/
timer.h 63 const unsigned long now = jiffies; local in function:mod_timer
67 callout_schedule(&timer->tl_callout, (now < then? (then - now) : 0));
  /src/sys/external/isc/libsodium/dist/test/default/
cmptest.h 45 static unsigned long long now(void) function in typeref:typename:unsigned long long
48 unsigned long long now; local in function:now
53 now = ((unsigned long long) tp.tv_sec * 1000000ULL) +
56 return now;
69 ts_start = now();
75 ts_end = now();
  /src/tests/lib/libutil/
t_parsedate.c 191 * but that is fixed now.
289 time_t now; local in function:ATF_TC_BODY
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...]
  /src/usr.sbin/rtadvd/
timer.c 102 struct timespec now; local in function:rtadvd_set_timer
105 prog_clock_gettime(CLOCK_MONOTONIC, &now);
106 timespecadd(&now, tm, &timer->tm);
125 struct timespec now; local in function:rtadvd_check_timer
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 in function:rtadvd_timer_rest
    [all...]
dump.c 104 struct timespec now; local in function:if_dump
106 prog_clock_gettime(CLOCK_MONOTONIC, &now); /* XXX: unused in most cases */
182 (pfx->vltimeexpire > now.tv_sec ?
183 pfx->vltimeexpire - now.tv_sec : 0));
192 (pfx->pltimeexpire > now.tv_sec ?
193 pfx->pltimeexpire - now.tv_sec : 0));
  /src/usr.bin/find/
main.c 62 time_t now; /* time find was run */ variable in typeref:typename:time_t
80 (void)time(&now); /* initialize the time-of-day */
  /src/sys/dev/ic/
mm58167.c 85 struct timeval now; local in function:mm58167_gettime_ymdhms
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/bin/sleep/
sleep.c 79 struct timespec now; local in function:main
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 in function:mount_udf_parseargs
164 (void)time(&now);
165 tm = localtime(&now);
  /src/sbin/newfs_udf/
newfs_udf.c 143 time_t now; local in function:main
173 (void)time(&now);
174 tm = localtime(&now);
  /src/sys/external/isc/atheros_hal/dist/ar5210/
ar5210_recv.c 215 uint32_t now, rstamp; local in function:ar5210ProcRxDesc
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/ufs/chfs/
chfs_subr.c 309 struct timespec now; local in function:chfs_itimes
315 vfs_timestamp(&now);
318 acc = &now;
323 mod = &now;
328 cre = &now;
  /src/usr.bin/leave/
leave.c 77 time_t now; local in function:main
97 (void)time(&now);
98 t = localtime(&now);
  /src/usr.bin/rwall/
rwall.c 155 time_t now; local in function:makemsg
173 (void)time(&now);
174 lt = localtime(&now);
  /src/usr.sbin/timed/timed/
correct.c 110 * adjust our own clock now that we are not sending it out
123 struct timeval now; local in function:adjclock
174 (void) gettimeofday(&now, 0);
175 timeradd(&now, corr, &now);
176 if (settimeofday(&now, 0) < 0)
186 adj_msg_time(struct tsp *msg, struct timeval *now)
190 timersub(now, &from_when, &diff);

Completed in 22 milliseconds

1 2 3 4 5 6 7 8 910