Lines Matching refs:t
511 struct nr_node *t; in nr_rt_device_down() local
518 nr_node_for_each_safe(t, node2t, &nr_node_list) { in nr_rt_device_down()
519 nr_node_lock(t); in nr_rt_device_down()
520 for (i = 0; i < t->count; i++) { in nr_rt_device_down()
521 if (t->routes[i].neighbour == s) { in nr_rt_device_down()
522 t->count--; in nr_rt_device_down()
526 t->routes[0] = t->routes[1]; in nr_rt_device_down()
529 t->routes[1] = t->routes[2]; in nr_rt_device_down()
537 if (t->count <= 0) in nr_rt_device_down()
538 nr_remove_node_locked(t); in nr_rt_device_down()
539 nr_node_unlock(t); in nr_rt_device_down()
959 struct nr_node *t = NULL; in nr_rt_free() local
964 nr_node_for_each_safe(t, nodet, &nr_node_list) { in nr_rt_free()
965 nr_node_lock(t); in nr_rt_free()
966 nr_remove_node_locked(t); in nr_rt_free()
967 nr_node_unlock(t); in nr_rt_free()