Home
last modified time | relevance | path

Searched refs:ax25_rt (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/net/ax25/
Dax25_route.c47 ax25_route *s, *t, *ax25_rt; in ax25_rt_device_down() local
50 ax25_rt = ax25_route_list; in ax25_rt_device_down()
51 while (ax25_rt != NULL) { in ax25_rt_device_down()
52 s = ax25_rt; in ax25_rt_device_down()
53 ax25_rt = ax25_rt->next; in ax25_rt_device_down()
77 ax25_route *ax25_rt; in ax25_rt_add() local
88 ax25_rt = ax25_route_list; in ax25_rt_add()
89 while (ax25_rt != NULL) { in ax25_rt_add()
90 if (ax25cmp(&ax25_rt->callsign, &route->dest_addr) == 0 && in ax25_rt_add()
91 ax25_rt->dev == ax25_dev->dev) { in ax25_rt_add()
[all …]
/linux-4.4.14/include/net/
Dax25.h195 static inline void ax25_hold_route(ax25_route *ax25_rt) in ax25_hold_route() argument
197 atomic_inc(&ax25_rt->refcount); in ax25_hold_route()
200 void __ax25_put_route(ax25_route *ax25_rt);
202 static inline void ax25_put_route(ax25_route *ax25_rt) in ax25_put_route() argument
204 if (atomic_dec_and_test(&ax25_rt->refcount)) in ax25_put_route()
205 __ax25_put_route(ax25_rt); in ax25_put_route()