Lines Matching refs:rt_refcnt
134 * rt_flags, rt_genmask, rt_llinfo, rt_rmx, rt_refcnt, rt_gwroute
192 * decrements the reference count, rt_refcnt, atomically on the rtentry.
193 * rt_refcnt is modified only using this routine. The general rule is to
1009 if (rt->rt_refcnt > 0) {
1025 if (rt->rt_refcnt != 0)
1026 panic("rt %p invalid refcnt %d", rt, rt->rt_refcnt);
1144 if (p->rt_refcnt == 0)
1147 --p->rt_refcnt;
1153 return (p->rt_refcnt);
1177 if (++p->rt_refcnt == 0)
3169 if (p->rt_refcnt != 0)
3170 panic("rte_free: rte=%p refcnt=%d non-zero\n", p, p->rt_refcnt);
3241 if (p->rt_refcnt != 0)
3242 panic("rte_free: rte=%p refcnt=%d\n", p, p->rt_refcnt);