Searched refs:rt_refcnt (Results 1 - 4 of 4) sorted by relevance

/freebsd-10.1-release/sys/net/
H A Droute.h119 int rt_refcnt; /* # held references */ member in struct:rtentry
296 KASSERT((_rt)->rt_refcnt >= 0, \
297 ("negative refcnt %d", (_rt)->rt_refcnt)); \
298 (_rt)->rt_refcnt++; \
303 KASSERT((_rt)->rt_refcnt > 0, \
304 ("bogus refcnt %d", (_rt)->rt_refcnt)); \
305 (_rt)->rt_refcnt--; \
309 if ((_rt)->rt_refcnt <= 1) \
H A Droute.c492 if (rt->rt_refcnt > 0) {
493 log(LOG_DEBUG, "%s: %p has %d refs\n", __func__, rt, rt->rt_refcnt);
506 if (rt->rt_refcnt == 0 && rnh->rnh_close)
523 if (rt->rt_refcnt < 0) {
/freebsd-10.1-release/sys/netinet/
H A Din_rmx.c203 if (rt->rt_refcnt > 0)
H A Din.c1017 if (ia_ro.ro_rt->rt_refcnt <= 1)

Completed in 69 milliseconds