Lines Matching refs:rt_spares
1261 rts = &rt->rt_spares[i]; in rtm_lose()
1992 (RT->rt_spares[0].rts_origin != RO_FILE)) in walk_kern()
2066 rts = &RT->rt_spares[i]; in walk_kern()
2319 rt->rt_spares = rtmalloc(SPARE_INC * sizeof (struct rt_spare), in rtadd()
2322 (void) memset(rt->rt_spares, 0, SPARE_INC * sizeof (struct rt_spare)); in rtadd()
2323 for (rts = rt->rt_spares, i = rt->rt_num_spares; i != 0; i--, rts++) in rtadd()
2336 rt->rt_spares[0] = *new; in rtadd()
2390 if (!AGE_RT(state, rt->rt_spares[0].rts_origin, new->rts_ifp)) in rtchange()
2407 rt->rt_spares[0] = *new; in rtchange()
2419 rts = rt->rt_spares+1; in rts_better()
2447 if (!BETTER_LINK(rt, rts, rt->rt_spares)) in rtswitch()
2450 swap = rt->rt_spares[0]; in rtswitch()
2452 (int)(rts - rt->rt_spares)); in rtswitch()
2476 rts = &rt->rt_spares[i]; in rtdelete()
2491 free(rt->rt_spares); in rtdelete()
2535 if (badifp == NULL || (rt->rt_spares[0].rts_ifp == badifp)) { in rtbad()
2537 new = rt->rt_spares[0]; in rtbad()
2547 if (rt->rt_spares[0].rts_ifp != badifp) in rtbad()
2625 struct rt_spare new = rt->rt_spares[0]; in rtbad_sub()
2648 rts = &((struct rt_entry *)rn)->rt_spares[i]; in walk_bad()
2670 RT->rt_spares[0].rts_metric = HOPCNT_INFINITY; in walk_bad()
2696 rts = RT->rt_spares; in walk_rewire()
2735 rts = RT->rt_spares; in walk_age()
2787 struct rt_spare new = RT->rt_spares[0]; in walk_age()