Lines Matching defs:elapsed
511 * Called with the number of milliseconds elapsed since the last call.
518 phyint_timer(struct phyint *pi, uint_t elapsed)
530 next = advertise_event(pi, ADV_TIMER, elapsed);
546 next = solicit_event(pi, SOL_TIMER, elapsed);
563 pi->pi_reach_time_since_random += elapsed;
846 * Called from run_timeouts() with the number of milliseconds elapsed
852 tmptoken_timer(struct phyint *pi, uint_t elapsed)
860 pi->pi_name, (int)elapsed, pi->pi_TmpRegenCountdown);
866 if (pi->pi_TmpRegenCountdown > elapsed) {
867 pi->pi_TmpRegenCountdown -= elapsed;
1769 * Called with the number of millseconds elapsed since the last call.
1775 prefix_timer(struct prefix *pr, uint_t elapsed)
1786 elapsed, pr->pr_ValidLifetime, pr->pr_PreferredLifetime,
1796 if (pr->pr_PreferredLifetime <= elapsed) {
1799 pr->pr_PreferredLifetime -= elapsed;
1806 if (pr->pr_ValidLifetime <= elapsed) {
1809 pr->pr_ValidLifetime -= elapsed;
1816 if (pr->pr_OnLinkLifetime <= elapsed) {
1819 pr->pr_OnLinkLifetime -= elapsed;
2013 * Called with the number of millseconds elapsed since the last call.
2019 adv_prefix_timer(struct adv_prefix *adv_pr, uint_t elapsed)
2021 int seconds_elapsed = (elapsed + 500) / 1000; /* Rounded */
2029 elapsed);
2180 * Called with the number of millseconds elapsed since the last call.
2186 router_timer(struct router *dr, uint_t elapsed)
2195 abuf, sizeof (abuf)), dr->dr_lifetime, elapsed);
2197 if (dr->dr_lifetime <= elapsed) {
2200 dr->dr_lifetime -= elapsed;