Home
last modified time | relevance | path

Searched refs:time_now (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/ntp/libntp/
H A Dntp_intres.c317 time_t time_now; in blocking_getaddrinfo()
373 time_now = time(NULL); in blocking_getaddrinfo()
374 worker_ctx->ignore_scheduled_before = time_now; in blocking_getaddrinfo()
376 humantime(time_now))); in blocking_getaddrinfo()
484 time_t time_now; in getaddrinfo_sometime_complete()
507 time_now = time(NULL); in getaddrinfo_sometime_complete()
508 child_ctx->next_dns_timeslot = time_now; in getaddrinfo_sometime_complete()
510 gai_req->dns_idx, humantime(time_now))); in getaddrinfo_sometime_complete()
647 time_t time_now; in getnameinfo_sometime()
659 time_now in getnameinfo_sometime()
323 time_t time_now; blocking_getaddrinfo() local
490 time_t time_now; getaddrinfo_sometime_complete() local
653 time_t time_now; getnameinfo_sometime() local
708 time_t time_now; blocking_getnameinfo() local
819 time_t time_now; getnameinfo_sometime_complete() local
902 time_t time_now; reload_resolv_conf() local
[all...]
/freebsd/crypto/openssh/
H A Dmoduli.c157 time_t time_now; in qfileout() local
160 time(&time_now); in qfileout()
161 gtm = gmtime(&time_now); in qfileout()
538 time_t time_now, elapsed; in print_progress() local
543 time_now = monotime(); in print_progress()
545 time_start = time_prev = time_now; in print_progress()
549 if (time_now - time_prev < 5 * 60) in print_progress()
551 time_prev = time_now; in print_progress()
552 elapsed = time_now - time_start; in print_progress()
558 time(&time_now); in print_progress()
[all …]
/freebsd/sbin/dhclient/
H A Ddispatch.c162 time_now.tv_sec = cur_time; in dispatch()
163 time_now.tv_nsec = 0; in dispatch()
181 if (timespeccmp(&timeouts->when, &time_now, <=)) { in dispatch()
196 timespecsub(&timeouts->when, &time_now, &howlong); in dispatch()
226 clock_gettime(CLOCK_MONOTONIC, &time_now); in dispatch()
227 cur_time = time_now.tv_sec; in dispatch()
234 clock_gettime(CLOCK_MONOTONIC, &time_now); in dispatch()
235 cur_time = time_now.tv_sec; in dispatch()
H A Ddhclient.c94 struct timespec time_now; variable
452 clock_gettime(CLOCK_MONOTONIC, &time_now); in main()
453 cur_time = time_now.tv_sec; in main()
1034 time_now.tv_sec = cur_time; in dhcpoffer()
1035 time_now.tv_nsec = 0; in dhcpoffer()
1116 timespecadd(&time_now, &arp_timeout_needed, &interm_struct); in dhcpoffer()
1138 timespecsub(&stop_selecting, &time_now, &time_left); in dhcpoffer()
1141 timespecadd(&time_now, &arp_timeout_needed, &stop_selecting); in dhcpoffer()
H A Ddhcpd.h364 extern struct timespec time_now;
/freebsd/secure/caroot/
H A DMAca-bundle.pl162 my $time_now = time;
165 if ($time_now >= $distrust_after + 398 * 24 * 60 * 60) { $distrust = 1; }
168 strftime("%FT%TZ", gmtime($distrust_after)), strftime("%FT%TZ", gmtime($time_now));
/freebsd/sys/contrib/openzfs/cmd/zed/zed.d/
H A Dzed-functions.sh765 && [ "$((time_now - time_prev))" -lt "${interval}" ]; then
772 echo "${time_now};${tag}" >> "${statefile}.$$"
/freebsd/crypto/heimdal/lib/hx509/
H A Dcert.c62 time_t time_now; member
489 ctx->time_now = t; in hx509_verify_set_time()
495 return ctx->time_now; in _hx509_verify_get_time()
1051 time_t time_now, in find_parent() argument
1094 q.timenow = time_now; in find_parent()
1237 time_t time_now, in _hx509_calculate_path() argument
1258 ret = find_parent(context, time_now, anchors, path, in _hx509_calculate_path()
1996 ctx->time_now = time(NULL); in hx509_verify_path()
2015 ret = _hx509_calculate_path(context, 0, ctx->time_now, in hx509_verify_path()
2222 if (t > ctx->time_now) { in hx509_verify_path()
[all …]
H A Drevoke.c172 time_t time_now, in verify_ocsp() argument
458 time_t time_now, in verify_crl() argument
468 if (t > time_now) { in verify_crl()
481 if (t < time_now) { in verify_crl()
544 time_now, in verify_crl()
H A Dcms.c262 time_t time_now, in find_CMSIdentifier() argument
295 if (time_now) in find_CMSIdentifier()
296 q.timenow = time_now; in find_CMSIdentifier()
353 time_t time_now, in hx509_cms_unenvelope() argument
417 time_now, &cert, in hx509_cms_unenvelope()
H A DChangeLog7 * ks_p12.c: pass in time_now to unevelope
9 * cms.c: Pass in time_now to unevelope, us verify context time in
/freebsd/usr.sbin/rpc.lockd/
H A Dlock_proc.c192 struct timeval retry_time, time_now; in get_client() local
200 gettimeofday(&time_now, NULL); in get_client()
209 < time_now.tv_sec)) { in get_client()
302 clnt_cache_time[clnt_cache_next_to_use] = time_now.tv_sec; in get_client()
/freebsd/usr.sbin/rpcbind/
H A Drpcb_svc_com.c921 time_t min_time, time_now; in forward_register() local
926 time_now = time((time_t *)0); in forward_register()
929 lastxid = time_now * NFORWARD; in forward_register()
947 if ((time_now - FINFO[i].time) > MAXTIME_OFF) in forward_register()
973 FINFO[j].time = time_now; in forward_register()
/freebsd/usr.bin/chat/
H A Dchat.c1234 time_t time_now = time ((time_t*) NULL); in get_string() local
1235 struct tm* tm_now = localtime (&time_now); in get_string()
/freebsd/contrib/wpa/src/p2p/
H A Dp2p.c736 struct os_reltime time_now; in p2p_add_device() local
770 os_get_reltime(&time_now); in p2p_add_device()
771 rx_time = &time_now; in p2p_add_device()