Home
last modified time | relevance | path

Searched refs:time_uptime (Results 1 – 25 of 75) sorted by relevance

123

/freebsd-head/sys/net/route/
HDroute_temporal.c61 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-head/sys/netinet6/
HDnd6_rtr.c442 dr0.expire = time_uptime + dr0.rtlifetime; in nd6_ra_input()
1152 ndpr->ndpr_preferred = time_uptime + ndpr->ndpr_pltime; in in6_init_prefix_ltimes()
1156 ndpr->ndpr_expire = time_uptime + ndpr->ndpr_vltime; in in6_init_prefix_ltimes()
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()
1639 else if (time_uptime - ifa6->ia6_updatetime > in prelist_update()
1648 (time_uptime - ifa6->ia6_updatetime); in prelist_update()
1684 (u_int32_t)((time_uptime - ifa6->ia6_createtime) + in prelist_update()
[all …]
HDip6_id.c221 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()
HDin6.h361 (u_int32_t)((time_uptime - (a)->ia6_updatetime)) > \
365 (u_int32_t)((time_uptime - (a)->ia6_updatetime)) > \
HDnd6.c559 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()
2704 (time_second - time_uptime); in nd6_sysctl_prlist()
HDin6.c1000 ia->ia6_createtime = time_uptime; in in6_alloc_ifa()
1049 ia->ia6_updatetime = time_uptime; in in6_update_ifa_internal()
1059 time_uptime + ia->ia6_lifetime.ia6t_vltime; in in6_update_ifa_internal()
1064 time_uptime + ia->ia6_lifetime.ia6t_pltime; in in6_update_ifa_internal()
1074 ia->ia6_lifetime.ia6t_preferred = time_uptime; in in6_update_ifa_internal()
2537 lle->lle_remtime / hz + time_second - time_uptime; in in6_lltable_dump_entry()
/freebsd-head/sys/netpfil/ipfw/
HDip_fw_dynamic.c950 expire = time_uptime + V_dyn_syn_lifetime; in dyn_update_tcp_state()
981 expire = time_uptime + V_dyn_ack_lifetime; in dyn_update_tcp_state()
990 expire = time_uptime + V_dyn_fin_lifetime; in dyn_update_tcp_state()
997 expire = time_uptime + V_dyn_rst_lifetime; in dyn_update_tcp_state()
1021 expire = time_uptime + V_dyn_udp_lifetime; in dyn_update_proto_state()
1027 expire = time_uptime + V_dyn_short_lifetime; in dyn_update_proto_state()
1143 if (s->limit->expire != time_uptime + in dyn_lookup_ipv4_parent()
1146 time_uptime + V_dyn_short_lifetime); in dyn_lookup_ipv4_parent()
1293 if (s->limit->expire != time_uptime + in dyn_lookup_ipv6_parent()
1296 time_uptime + V_dyn_short_lifetime); in dyn_lookup_ipv6_parent()
[all …]
/freebsd-head/sys/nlm/
HDnlm_prot_impl.c613 af->af_expiretime = time_uptime + NLM_EXPIRE_TIMEOUT; in nlm_lock_callback()
689 time_t uptime = time_uptime; in nlm_check_expired_locks()
953 if (time_uptime <= nlm_next_idle_check) in nlm_check_idle()
956 nlm_next_idle_check = time_uptime + NLM_IDLE_PERIOD; in nlm_check_idle()
960 && time_uptime > host->nh_idle_timeout) { in nlm_check_idle()
966 time_uptime + NLM_IDLE_TIMEOUT; in nlm_check_idle()
1009 host->nh_idle_timeout = time_uptime + NLM_IDLE_TIMEOUT; in nlm_find_host_by_name()
1106 host->nh_idle_timeout = time_uptime + NLM_IDLE_TIMEOUT; in nlm_find_host_by_addr()
1281 if (rpc->nr_client && time_uptime > rpc->nr_create_time + 2*60) { in nlm_host_get_rpc()
1302 rpc->nr_create_time = time_uptime; in nlm_host_get_rpc()
[all …]
/freebsd-head/sys/powerpc/powermac/
HDsmusat.c215 sc->sc_last_update = time_uptime; in smusat_updatecache()
231 if (time_uptime - sc->sc_last_update > 1) in smusat_sensor_read()
/freebsd-head/sys/kern/
HDkern_ntptime.c693 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()
HDkern_tc.c105 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-head/sys/netgraph/netflow/
HDnetflow_v9.c218 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()
HDnetflow.c91 #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-head/sys/netinet/
HDip_reass.c329 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()
HDif_ether.c266 if (lle->la_expire > time_uptime) { in arptimer()
510 ((la->la_flags & LLE_STATIC) || la->la_expire > time_uptime)) { in arpresolve_full()
532 renew = (la->la_asked == 0 || la->la_expire != time_uptime); in arpresolve_full()
560 la->la_expire = time_uptime; in arpresolve_full()
1272 la->la_expire = time_uptime + V_arpt_keep; in arp_mark_lle_reachable()
HDtcp_syncache.c307 V_tcp_syncache.pause_until = time_uptime - TCP_SYNCACHE_PAUSE_TIME; in syncache_init()
380 sch->sch_last_overflow = time_uptime; in syncache_insert()
1106 sch->sch_last_overflow < time_uptime - SYNCOOKIE_LIFETIME) { in syncache_expand()
1589 sch->sch_last_overflow = time_uptime; in syncache_add()
2460 if (V_tcp_syncache.pause_until + delta - time_uptime > 0) { in syncache_pause()
2482 V_tcp_syncache.pause_until = time_uptime + delta; in syncache_pause()
2503 if ((delta = sc->pause_until - time_uptime) > 0) in syncache_unpause()
/freebsd-head/sys/rpc/
HDsvc.c424 && 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-head/sys/compat/linuxkpi/common/include/linux/
HDtime.h138 return time_uptime; in get_seconds()
/freebsd-head/sys/nfs/
HDnfs_diskless.c232 timeout_at = time_uptime + NFS_IFACE_TIMEOUT_SECS; in nfs_setup_diskless()
247 if (time_uptime < timeout_at) { in nfs_setup_diskless()
/freebsd-head/sys/dev/aacraid/
HDaacraid.c372 cm->cm_timestamp = time_uptime; in aac_daemon()
457 cm->cm_timestamp = time_uptime; in aac_get_container_info()
1543 then = time_uptime; in aac_check_firmware()
1546 if (time_uptime > (then + AAC_FWUPD_TIMEOUT)) { in aac_check_firmware()
1567 then = time_uptime; in aac_check_firmware()
1570 if (time_uptime > (then + AAC_BOOT_TIMEOUT)) { in aac_check_firmware()
1782 ip->HostElapsedSeconds = time_uptime; /* reset later if invalid */ in aac_init()
2089 then = time_uptime; in aacraid_sync_command()
2091 if (time_uptime > (then + AAC_SYNC_TIMEOUT)) { in aacraid_sync_command()
2175 deadline = time_uptime - AAC_CMD_TIMEOUT; in aac_timeout()
[all …]
/freebsd-head/sys/dev/xen/pcifront/
HDpcifront.c379 timeout = time_uptime + 2; in do_pci_op()
390 if (time_uptime > timeout) { in do_pci_op()
/freebsd-head/sys/netlink/route/
HDneigh.c130 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-head/sys/dev/aac/
HDaac.c1143 cm, (int)(time_uptime-cm->cm_timestamp)); in aac_complete()
1210 cm->cm_timestamp = time_uptime; in aac_bio_command()
1694 then = time_uptime; in aac_check_firmware()
1706 if (time_uptime > (then + AAC_BOOT_TIMEOUT)) { in aac_check_firmware()
1882 ip->HostElapsedSeconds = time_uptime; /* reset later if invalid */ in aac_init()
2044 then = time_uptime; in aac_sync_command()
2046 if (time_uptime > (then + AAC_IMMEDIATE_TIMEOUT)) { in aac_sync_command()
2344 deadline = time_uptime - AAC_CMD_TIMEOUT; in aac_timeout()
2352 (int)(time_uptime-cm->cm_timestamp)); in aac_timeout()
3006 cm->cm_timestamp = time_uptime; in aac_ioctl_sendfib()
/freebsd-head/sys/netpfil/pf/
HDif_pfsync.c687 st->creation = (time_uptime - ntohl(sp->pfs_1301.creation)) * 1000; in pfsync_state_import()
773 st->pfsync_time = time_uptime; in pfsync_state_import()
1273 st->pfsync_time = time_uptime; in pfsync_in_upd()
1360 st->pfsync_time = time_uptime; in pfsync_in_upd_c()
1486 if (time_uptime - ntohl(bus->endtime) >= in pfsync_in_bus()
2266 if (sync || (time_uptime - st->pfsync_time) < 2) in pfsync_update_state()
2524 sc->sc_ureq_received = time_uptime; in pfsync_bulk_start()
2606 r.bus.endtime = htonl(time_uptime - sc->sc_ureq_received); in pfsync_bulk_status()
3144 sc->sc_ureq_sent = time_uptime; in pfsync_kstatus_to_softc()
/freebsd-head/sys/x86/x86/
HDmca.c790 delta = (u_int)(time_uptime - last_intr); in update_threshold()
852 cc->last_intr = time_uptime; in cmci_update()
883 cc->last_intr = time_uptime; in amd_thresholding_update()

123