Lines Matching refs:RT
391 #define RT(r) ((struct rtentry *)r) macro
393 #define RT_HOST(r) (RT(r)->rt_flags & RTF_HOST)
3122 RT_LOCK_SPIN(RT(rn)); in rt_lookup_common()
3123 if (!(RT(rn)->rt_flags & RTF_CONDEMNED)) { in rt_lookup_common()
3124 RT_ADDREF_LOCKED(RT(rn)); in rt_lookup_common()
3125 RT_UNLOCK(RT(rn)); in rt_lookup_common()
3127 RT_UNLOCK(RT(rn)); in rt_lookup_common()
3131 return RT(rn); in rt_lookup_common()
3200 struct rtentry *rt = RT(rn); in rt_lookup_common()
3254 struct rtentry *rt = RT(rn); in rt_lookup_common()
3279 ((SA_DEFAULT(rt_key(RT(rn))) && !SA_DEFAULT(rt_key(RT(rn0)))) || in rt_lookup_common()
3289 RT(rn)->rt_ifp->if_index != ifscope) { in rt_lookup_common()
3301 RT_LOCK_SPIN(RT(rn)); in rt_lookup_common()
3302 if (rt_validate(RT(rn))) { in rt_lookup_common()
3303 RT_ADDREF_LOCKED(RT(rn)); in rt_lookup_common()
3304 RT_UNLOCK(RT(rn)); in rt_lookup_common()
3306 RT_UNLOCK(RT(rn)); in rt_lookup_common()
3315 struct rtentry *rt = RT(rn); in rt_lookup_common()
3328 return RT(rn); in rt_lookup_common()