Lines Matching refs:s
44 ax25_route *s, *t, *ax25_rt; in ax25_rt_device_down() local
49 s = ax25_rt; in ax25_rt_device_down()
52 if (s->dev == dev) { in ax25_rt_device_down()
53 if (ax25_route_list == s) { in ax25_rt_device_down()
54 ax25_route_list = s->next; in ax25_rt_device_down()
55 kfree(s->digipeat); in ax25_rt_device_down()
56 kfree(s); in ax25_rt_device_down()
59 if (t->next == s) { in ax25_rt_device_down()
60 t->next = s->next; in ax25_rt_device_down()
61 kfree(s->digipeat); in ax25_rt_device_down()
62 kfree(s); in ax25_rt_device_down()
147 ax25_route *s, *t, *ax25_rt; in ax25_rt_del() local
157 s = ax25_rt; in ax25_rt_del()
159 if (s->dev == ax25_dev->dev && in ax25_rt_del()
160 ax25cmp(&route->dest_addr, &s->callsign) == 0) { in ax25_rt_del()
161 if (ax25_route_list == s) { in ax25_rt_del()
162 ax25_route_list = s->next; in ax25_rt_del()
163 ax25_put_route(s); in ax25_rt_del()
166 if (t->next == s) { in ax25_rt_del()
167 t->next = s->next; in ax25_rt_del()
168 ax25_put_route(s); in ax25_rt_del()
476 ax25_route *s, *ax25_rt = ax25_route_list; in ax25_rt_free() local
480 s = ax25_rt; in ax25_rt_free()
483 kfree(s->digipeat); in ax25_rt_free()
484 kfree(s); in ax25_rt_free()