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

/darwin-on-arm/xnu/bsd/net/
H A Droute.h169 int32_t rt_refcnt; /* # held references */ member in struct:rtentry
438 if (++(_rt)->rt_refcnt == 0) \
458 if ((_rt)->rt_refcnt == 0) \
460 --(_rt)->rt_refcnt; \
H A Droute.c134 * 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
[all...]
H A Drtsock.c1429 rtm->rtm_refcnt = rt->rt_refcnt;
/darwin-on-arm/xnu/bsd/netinet/
H A Din_rmx.c207 if (rt->rt_refcnt == 0) {
377 if (rt->rt_refcnt > 0)
H A Din_arp.c497 if (rt->rt_refcnt > 0 && (sdl = SDL(rt->rt_gateway)) &&
510 if (rt->rt_refcnt == 0)
861 if (rt->rt_refcnt == 1 &&
/darwin-on-arm/xnu/bsd/netinet6/
H A Din6_rmx.c312 if (rt->rt_refcnt == 0 && (rt->rt_flags & RTPRF_OURS)) {
460 if (rt->rt_refcnt > 0)

Completed in 51 milliseconds