/freebsd/sys/net/route/ |
H A D | route_temporal.c | 61 if (nh_expire <= time_uptime) in expire_route() 98 seconds = (next_expire - time_uptime); in expire_callout() 138 seconds = (nh_expire - time_uptime); in tmproutes_update()
|
/freebsd/sys/netinet6/ |
H A D | nd6_rtr.c | 442 dr0.expire = time_uptime + dr0.rtlifetime; in nd6_ra_input() 1168 lt6->ia6t_expire = time_uptime; in in6_init_address_ltimes() 1176 lt6->ia6t_preferred = time_uptime; in in6_init_address_ltimes() 1366 new->ndpr_lastupdate = time_uptime; in nd6_prelist_add() 1510 pr->ndpr_lastupdate = time_uptime; in prelist_update() 1648 (time_uptime - ifa6->ia6_updatetime); in prelist_update() 1687 (time_uptime - ifa6->ia6_createtime) - in prelist_update() 1710 ifa6->ia6_updatetime = time_uptime; in prelist_update() 2297 (time_uptime - ia0->ia6_updatetime)); in in6_tmpifadd() 2305 (time_uptime - ia0->ia6_updatetime)); in in6_tmpifadd() [all …]
|
H A D | ip6_id.c | 221 p->ru_reseed = time_uptime + p->ru_out; in initid() 230 if (p->ru_counter >= p->ru_max || time_uptime > p->ru_reseed) in randomid()
|
H A D | in6.h | 361 (u_int32_t)((time_uptime - (a)->ia6_updatetime)) > \ 365 (u_int32_t)((time_uptime - (a)->ia6_updatetime)) > \
|
H A D | nd6.c | 559 ln->la_expire = time_uptime + tick / hz; in nd6_llinfo_settimer_locked() 681 delay = (long)(time_uptime - lle_hittime); in nd6_is_stale() 1060 time_uptime - pr->ndpr_lastupdate <= pr->ndpr_vltime) in nd6_timer() 1481 if (dr->expire > time_uptime) in nd6_free() 1483 (dr->expire - time_uptime) * hz); in nd6_free() 1855 (time_second - time_uptime); in nd6_ioctl() 2703 (time_second - time_uptime); in nd6_sysctl_prlist()
|
H A D | in6.c | 999 ia->ia6_createtime = time_uptime; in in6_alloc_ifa() 1048 ia->ia6_updatetime = time_uptime; in in6_update_ifa_internal() 1058 time_uptime + ia->ia6_lifetime.ia6t_vltime; in in6_update_ifa_internal() 1063 time_uptime + ia->ia6_lifetime.ia6t_pltime; in in6_update_ifa_internal() 1073 ia->ia6_lifetime.ia6t_preferred = time_uptime; in in6_update_ifa_internal() 2529 lle->lle_remtime / hz + time_second - time_uptime; in in6_lltable_dump_entry()
|
/freebsd/sys/netpfil/ipfw/ |
H A D | ip_fw_dynamic.c | 1135 if (s->limit->expire != time_uptime + in dyn_lookup_ipv4_parent() 1461 if (last_log != time_uptime) { in dyn_alloc_parent() 1462 last_log = time_uptime; in dyn_alloc_parent() 1488 if (last_log != time_uptime) { in dyn_alloc_dyndata() 1489 last_log = time_uptime; in dyn_alloc_dyndata() 1837 last_log = time_uptime; in dyn_get_parent_state() 1910 last_log = time_uptime; in dyn_install_state() 2776 V_dyn_keepalive_last = time_uptime; in dyn_tick() 2941 p->expire - time_uptime; in dyn_export_parent() 2974 data->expire - time_uptime; in dyn_export_data() [all …]
|
/freebsd/sys/nlm/ |
H A D | nlm_prot_impl.c | 612 af->af_expiretime = time_uptime + NLM_EXPIRE_TIMEOUT; in nlm_lock_callback() 688 time_t uptime = time_uptime; in nlm_check_expired_locks() 952 if (time_uptime <= nlm_next_idle_check) in nlm_check_idle() 955 nlm_next_idle_check = time_uptime + NLM_IDLE_PERIOD; in nlm_check_idle() 959 && time_uptime > host->nh_idle_timeout) { in nlm_check_idle() 965 time_uptime + NLM_IDLE_TIMEOUT; in nlm_check_idle() 1301 rpc->nr_create_time = time_uptime; in nlm_host_get_rpc() 1712 nlm_next_idle_check = time_uptime + NLM_IDLE_PERIOD; in sys_nlm_syscall() 1879 if (time_uptime < nlm_grace_threshold) { in nlm_do_test() 2166 if (time_uptime < nlm_grace_threshold) { in nlm_do_cancel() [all …]
|
/freebsd/sys/powerpc/powermac/ |
H A D | smusat.c | 215 sc->sc_last_update = time_uptime; in smusat_updatecache() 231 if (time_uptime - sc->sc_last_update > 1) in smusat_sensor_read()
|
/freebsd/sys/kern/ |
H A D | kern_ntptime.c | 693 time_reftime = time_uptime; in hardupdate() 697 time_reftime = time_uptime; in hardupdate() 698 mtemp = time_uptime - time_reftime; in hardupdate() 711 time_reftime = time_uptime; in hardupdate()
|
H A D | kern_tc.c | 105 volatile time_t time_uptime = 1; variable 1482 time_uptime = th->th_offset.sec; in tc_windup() 1487 time_uptime = fftimehands->tick_time_lerp.sec - ffclock_boottime.sec; in tc_windup() 2069 if (time_uptime != last_calib && !(time_uptime & 0xf)) { in cpu_tick_calibration() 2071 last_calib = time_uptime; in cpu_tick_calibration()
|
/freebsd/sys/netgraph/netflow/ |
H A D | netflow_v9.c | 218 header->sys_uptime = htonl(MILLIUPTIME(time_uptime)); in export9_send() 417 if ((time_uptime >= priv->templ_time + fe->templ_last_ts) || in get_export9_dgram() 419 fe->templ_last_ts = time_uptime; in get_export9_dgram()
|
H A D | netflow.c | 91 #define INACTIVE(fle) (time_uptime - fle->f.last > priv->nfinfo_inact_t) 92 #define AGED(fle) (time_uptime - fle->f.first > priv->nfinfo_act_t) 345 fle->f.first = fle->f.last = time_uptime; in hash_insert() 423 fle6->f.first = fle6->f.last = time_uptime; in hash6_insert() 743 fle->f.last = time_uptime; in ng_netflow_flow_add() 866 fle6->f.last = time_uptime; in ng_netflow_flow6_add() 1026 header->sys_uptime = htonl(MILLIUPTIME(time_uptime)); in export_send()
|
/freebsd/sys/netinet/ |
H A D | ip_reass.c | 329 fp->ipq_expire = time_uptime + V_ipfragttl; in ip_reass() 599 KASSERT(fp != NULL && fp->ipq_expire <= time_uptime, in ipreass_callout() 601 fp ? (uintmax_t)fp->ipq_expire : 0, (uintmax_t)time_uptime)); in ipreass_callout() 603 while (fp != NULL && fp->ipq_expire <= time_uptime) { in ipreass_callout() 622 t = fp->ipq_expire - time_uptime; in ipreass_reschedule()
|
H A D | if_ether.c | 264 if (lle->la_expire > time_uptime) { in arptimer() 508 ((la->la_flags & LLE_STATIC) || la->la_expire > time_uptime)) { in arpresolve_full() 530 renew = (la->la_asked == 0 || la->la_expire != time_uptime); in arpresolve_full() 558 la->la_expire = time_uptime; in arpresolve_full() 1270 la->la_expire = time_uptime + V_arpt_keep; in arp_mark_lle_reachable()
|
H A D | tcp_syncache.c | 315 V_tcp_syncache.pause_until = time_uptime - TCP_SYNCACHE_PAUSE_TIME; in syncache_init() 388 sch->sch_last_overflow = time_uptime; in syncache_insert() 1133 sch->sch_last_overflow < time_uptime - SYNCOOKIE_LIFETIME) { in syncache_expand() 1619 sch->sch_last_overflow = time_uptime; in syncache_add() 2480 if (V_tcp_syncache.pause_until + delta - time_uptime > 0) { in syncache_pause() 2502 V_tcp_syncache.pause_until = time_uptime + delta; in syncache_pause() 2523 if ((delta = sc->pause_until - time_uptime) > 0) in syncache_unpause()
|
/freebsd/sys/rpc/ |
H A D | svc.c | 424 && grp->sg_lastcreatetime < time_uptime in xprt_assignthread() 1093 if (time_uptime > timo) { in svc_checkidle() 1191 grp->sg_lastcreatetime = time_uptime; in svc_run_internal() 1201 if (time_uptime > grp->sg_lastidlecheck) { in svc_run_internal() 1202 grp->sg_lastidlecheck = time_uptime; in svc_run_internal() 1274 xprt->xp_lastactive = time_uptime; in svc_run_internal() 1398 grp->sg_lastcreatetime = time_uptime; in svc_run()
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | time.h | 136 return time_uptime; in get_seconds()
|
/freebsd/sys/nfs/ |
H A D | nfs_diskless.c | 232 timeout_at = time_uptime + NFS_IFACE_TIMEOUT_SECS; in nfs_setup_diskless() 247 if (time_uptime < timeout_at) { in nfs_setup_diskless()
|
/freebsd/sys/dev/aacraid/ |
H A D | aacraid.c | 372 cm->cm_timestamp = time_uptime; in aac_daemon() 457 cm->cm_timestamp = time_uptime; in aac_get_container_info() 1542 then = time_uptime; in aac_check_firmware() 1545 if (time_uptime > (then + AAC_FWUPD_TIMEOUT)) { in aac_check_firmware() 1566 then = time_uptime; in aac_check_firmware() 1569 if (time_uptime > (then + AAC_BOOT_TIMEOUT)) { in aac_check_firmware() 2088 then = time_uptime; in aacraid_sync_command() 2090 if (time_uptime > (then + AAC_SYNC_TIMEOUT)) { in aacraid_sync_command() 2174 deadline = time_uptime - AAC_CMD_TIMEOUT; in aac_timeout() 2179 cm, (int)(time_uptime-cm->cm_timestamp)); in aac_timeout() [all …]
|
/freebsd/sys/netlink/route/ |
H A D | neigh.c | 130 return (lle->la_expire + lle->lle_remtime / hz + time_second - time_uptime); in get_lle_next_ts() 431 lle->la_expire = attrs.ndaf_next_ts - time_second + time_uptime; in rtnl_handle_newneigh()
|
/freebsd/sys/dev/aac/ |
H A D | aac.c | 1146 cm, (int)(time_uptime-cm->cm_timestamp)); in aac_complete() 1213 cm->cm_timestamp = time_uptime; in aac_bio_command() 1697 then = time_uptime; in aac_check_firmware() 1709 if (time_uptime > (then + AAC_BOOT_TIMEOUT)) { in aac_check_firmware() 1885 ip->HostElapsedSeconds = time_uptime; /* reset later if invalid */ in aac_init() 2047 then = time_uptime; in aac_sync_command() 2049 if (time_uptime > (then + AAC_IMMEDIATE_TIMEOUT)) { in aac_sync_command() 2347 deadline = time_uptime - AAC_CMD_TIMEOUT; in aac_timeout() 2355 (int)(time_uptime-cm->cm_timestamp)); in aac_timeout() 3009 cm->cm_timestamp = time_uptime; in aac_ioctl_sendfib()
|
/freebsd/sys/netpfil/pf/ |
H A D | if_pfsync.c | 52 * 1.120, 1.175 - use monotonic time_uptime 618 st->creation = (time_uptime - ntohl(sp->pfs_1301.creation)) * 1000; in pfsync_state_import() 712 st->pfsync_time = time_uptime; in pfsync_state_import() 1212 st->pfsync_time = time_uptime; in pfsync_in_upd() 1299 st->pfsync_time = time_uptime; in pfsync_in_upd_c() 1425 if (time_uptime - ntohl(bus->endtime) >= in pfsync_in_bus() 2186 if (sync || (time_uptime - st->pfsync_time) < 2) in pfsync_update_state() 2444 sc->sc_ureq_received = time_uptime; in pfsync_bulk_start() 2526 r.bus.endtime = htonl(time_uptime - sc->sc_ureq_received); in pfsync_bulk_status() 3064 sc->sc_ureq_sent = time_uptime; in pfsync_kstatus_to_softc() [all...] |
/freebsd/sys/x86/x86/ |
H A D | mca.c | 788 delta = (u_int)(time_uptime - last_intr); in update_threshold() 850 cc->last_intr = time_uptime; in cmci_update() 881 cc->last_intr = time_uptime; in amd_thresholding_update()
|
/freebsd/sys/netpfil/ipfw/nat64/ |
H A D | nat64lsn.h | 185 #define _CT ((int)time_uptime % 65536)
|