Lines Matching refs:RT
394 #define RT(r) ((struct rtentry *)r) macro
396 #define RT_HOST(r) (RT(r)->rt_flags & RTF_HOST)
3125 RT_LOCK_SPIN(RT(rn)); in rt_lookup_common()
3126 if (!(RT(rn)->rt_flags & RTF_CONDEMNED)) { in rt_lookup_common()
3127 RT_ADDREF_LOCKED(RT(rn)); in rt_lookup_common()
3128 RT_UNLOCK(RT(rn)); in rt_lookup_common()
3130 RT_UNLOCK(RT(rn)); in rt_lookup_common()
3134 return RT(rn); in rt_lookup_common()
3203 struct rtentry *rt = RT(rn); in rt_lookup_common()
3257 struct rtentry *rt = RT(rn); in rt_lookup_common()
3282 ((SA_DEFAULT(rt_key(RT(rn))) && !SA_DEFAULT(rt_key(RT(rn0)))) || in rt_lookup_common()
3292 RT(rn)->rt_ifp->if_index != ifscope) { in rt_lookup_common()
3304 RT_LOCK_SPIN(RT(rn)); in rt_lookup_common()
3305 if (rt_validate(RT(rn))) { in rt_lookup_common()
3306 RT_ADDREF_LOCKED(RT(rn)); in rt_lookup_common()
3307 RT_UNLOCK(RT(rn)); in rt_lookup_common()
3309 RT_UNLOCK(RT(rn)); in rt_lookup_common()
3318 struct rtentry *rt = RT(rn); in rt_lookup_common()
3331 return RT(rn); in rt_lookup_common()