Searched refs:now (Results 26 - 50 of 672) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/amd64/vmm/io/
H A Dvpmtmr.c87 sbintime_t now, delta; local
98 now = sbinuptime();
99 delta = now - vpmtmr->baseuptime;
101 "%#lx to %#lx", vpmtmr->baseuptime, now));
/freebsd-11-stable/usr.bin/resizewin/
H A Dresizewin.c64 struct timeval then, now; local
118 gettimeofday(&now, NULL);
119 timersub(&now, &then, &now);
120 if (now.tv_sec >= 2) {
/freebsd-11-stable/usr.sbin/rtadvd/
H A Dtimer.c158 struct timespec now; local
161 clock_gettime(CLOCK_MONOTONIC_FAST, &now);
164 if (TS_CMP(&rat->rat_tm, &now, <=)) {
169 TS_ADD(&rat->rat_tm, &now, &rat->rat_tm);
177 } else if (TS_CMP(&tm_max, &now, <)) {
181 TS_SUB(&tm_max, &now, &returnval);
188 struct timespec now; local
191 clock_gettime(CLOCK_MONOTONIC_FAST, &now);
192 TS_ADD(&now, tm, &rat->rat_tm);
/freebsd-11-stable/contrib/unbound/services/cache/
H A Ddns.c61 * @param now: current time.
73 store_rrsets(struct module_env* env, struct reply_info* rep, time_t now, argument
84 env->alloc, now + ((ntohs(rep->ref[i].key->rk.type)==
96 rep->ref[i].key, region, now);
172 reply_info_set_ttls(rep, *env->now);
173 store_rrsets(env, rep, *env->now, leeway, pside, qrep, region);
200 uint16_t qclass, time_t now, uint16_t searchtype, int stripfront)
215 qnamelen, searchtype, qclass, 0, now, 0)))
229 struct dns_msg* msg, time_t now)
232 packed_rrset_copy_region(rrset, region, now))) {
199 find_closest_of_type(struct module_env* env, uint8_t* qname, size_t qnamelen, uint16_t qclass, time_t now, uint16_t searchtype, int stripfront) argument
228 addr_to_additional(struct ub_packed_rrset_key* rrset, struct regional* region, struct dns_msg* msg, time_t now) argument
240 msg_cache_lookup(struct module_env* env, uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass, uint16_t flags, time_t now, int wr) argument
265 find_add_addrs(struct module_env* env, uint16_t qclass, struct regional* region, struct delegpt* dp, time_t now, struct dns_msg** msg) argument
325 time_t now = *env->now; local
375 find_add_ds(struct module_env* env, struct regional* region, struct dns_msg* msg, struct delegpt* dp, time_t now) argument
440 dns_msg_authadd(struct dns_msg* msg, struct regional* region, struct ub_packed_rrset_key* rrset, time_t now) argument
451 dns_msg_ansadd(struct dns_msg* msg, struct regional* region, struct ub_packed_rrset_key* rrset, time_t now) argument
462 dns_cache_find_delegation(struct module_env* env, uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass, struct regional* region, struct dns_msg** msg, time_t now) argument
538 tomsg(struct module_env* env, struct query_info* q, struct reply_info* r, struct regional* region, time_t now, int allow_expired, struct regional* scratch) argument
613 rrset_msg(struct ub_packed_rrset_key* rrset, struct regional* region, time_t now, struct query_info* q) argument
643 synth_dname_msg(struct ub_packed_rrset_key* rrset, struct regional* region, time_t now, struct query_info* q, enum sec_status* sec_status) argument
740 time_t now = *env->now; local
809 time_t now = *env->now; local
[all...]
/freebsd-11-stable/sys/x86/x86/
H A Dpvclock.c173 uint64_t now, last; local
176 pvclock_read_time_info(ti, &now, &flags);
179 return (now);
188 if (last > now)
190 } while (!atomic_cmpset_64(&pvclock_last_cycles, last, now));
192 return (now);
/freebsd-11-stable/contrib/libpcap/msdos/
H A Dbin2c.c19 time_t now = time (NULL); local
31 argv[1], ctime(&now));
/freebsd-11-stable/contrib/libarchive/cpio/test/
H A Dtest_option_c.c70 time_t t, now; local
95 now = time(NULL); /* They were all created w/in last two seconds. */
142 assert(t <= now); /* File wasn't created in future. */
143 assert(t >= now - 2); /* File was created w/in last 2 secs. */
168 assert(t <= now); /* File wasn't created in future. */
169 assert(t >= now - 2); /* File was created w/in last 2 secs. */
204 assert(t <= now); /* File wasn't created in future. */
205 assert(t >= now - 2); /* File was created w/in last 2 secs. */
/freebsd-11-stable/lib/libc/resolv/
H A Dres_state.c69 struct timespec now; local
82 if (clock_gettime(CLOCK_MONOTONIC_FAST, &now) != 0 ||
83 (now.tv_sec - ext->conf_stat) < ext->reload_period) {
87 ext->conf_stat = now.tv_sec;
/freebsd-11-stable/lib/libc/sys/
H A Dfutimens.c43 struct timeval now, tv[2], *tvp; local
91 if (gettimeofday(&now, NULL) == -1)
94 tv[0] = now;
96 tv[1] = now;
/freebsd-11-stable/tools/build/
H A Dfutimens.c44 struct timeval now, tv[2], *tvp; local
87 if (gettimeofday(&now, NULL) == -1)
90 tv[0] = now;
92 tv[1] = now;
H A Dutimensat.c44 struct timeval now, tv[2], *tvp; local
91 if (gettimeofday(&now, NULL) == -1)
94 tv[0] = now;
96 tv[1] = now;
/freebsd-11-stable/usr.bin/calendar/
H A Dday.c49 settimes(time_t now, int before, int after, int friday, struct tm *tp1, struct tm *tp2) argument
54 localtime_r(&now, &tp);
60 time1 = now - SECSPERDAY * before;
63 time2 = now + SECSPERDAY * after;
/freebsd-11-stable/usr.bin/finger/
H A Dextern.h43 extern time_t now;
/freebsd-11-stable/sbin/camcontrol/
H A Dprogress.h50 time_t now; /* time now */ member in struct:progress_t
/freebsd-11-stable/contrib/openpam/lib/libpam/
H A Dopenpam_ttyconv.c89 struct timeval now, target, remaining; local
129 (void)gettimeofday(&now, NULL);
132 timeradd(&now, &remaining, &target);
135 now.tv_sec = now.tv_usec = 0;
149 gettimeofday(&now, NULL);
150 if (timercmp(&now, &target, >))
152 timersub(&target, &now, &remaining);
218 struct timeval now, target, remaining; local
229 (void)gettimeofday(&now, NUL
[all...]
/freebsd-11-stable/contrib/wpa/src/ap/
H A Dtkip_countermeasures.c71 struct os_reltime now; local
97 os_get_reltime(&now);
98 if (os_reltime_expired(&now, &hapd->michael_mic_failure, 60)) {
107 hapd->michael_mic_failure = now;
/freebsd-11-stable/contrib/subversion/subversion/include/
H A Dsvn_time.h73 * @a now as the current time and storing the result in @a result.
84 apr_time_t now,
/freebsd-11-stable/contrib/opie/libopie/
H A Dnewseed.c71 time_t now; local
73 time(&now);
74 srand(now);
H A Dwriterec.c45 time_t now; local
50 time(&now);
51 if (strftime(buf2, sizeof(buf2), " %b %d,%Y %T", localtime(&now)) < 1)
/freebsd-11-stable/contrib/unbound/validator/
H A Dval_kentry.h168 * @param now: current time (added to ttl).
173 time_t now);
183 * @param now: current time (added to ttl of rrset)
188 struct ub_packed_rrset_key* rrset, uint8_t* sigalg, time_t now);
197 * @param now: current time (added to ttl).
202 time_t now);
/freebsd-11-stable/usr.bin/w/
H A Dpr_time.c53 pr_attime(time_t *started, time_t *now) argument
62 tm = *localtime(now);
63 diff = *now - *started;
74 /* else if (*now / 86400 != *started / 86400) { */
/freebsd-11-stable/usr.sbin/ctm/ctm_rmail/
H A Derror.c69 time_t now; local
83 time(&now);
84 tm = localtime(&now);
/freebsd-11-stable/usr.sbin/fifolog/lib/
H A Dfifolog_write.h72 int fifolog_write_record(struct fifolog_writer *f, uint32_t id, time_t now, const void *ptr, ssize_t len);
73 int fifolog_write_poll(struct fifolog_writer *f, time_t now);
74 int fifolog_write_record_poll(struct fifolog_writer *f, uint32_t id, time_t now, const void *ptr, ssize_t len);
/freebsd-11-stable/usr.sbin/pw/
H A Dpw_log.c48 time_t now; local
105 now = time(NULL);
106 t = localtime(&now);
/freebsd-11-stable/contrib/sendmail/src/
H A Dratectrl.c83 time_t now; local
87 now = time(NULL);
93 totalrate = total_rate(now, e == NULL);
99 clientrate = client_rate(now, hostaddr, e == NULL ? SM_CLFL_UPDATE : SM_CLFL_NONE);
243 ** now - current time in secs
259 conn_limits(e, now, saddr, clflags, hashary, ratelimit, conclimit)
261 time_t now;
285 ticks = now / ChtGran;
323 if (coll && (now - chBest->ch_LTime < CollTime))
372 chBest->ch_LTime = now;
[all...]

Completed in 181 milliseconds

1234567891011>>