Lines Matching refs:path_length
47 path->path_length = num_hops; in tb_path_alloc()
67 for (i = first_hop; i < path->path_length; i++) { in __tb_path_deallocate_nfc()
81 for (i = first_hop; i < path->path_length; i++) { in __tb_path_deactivate_hops()
101 tb_route(path->hops[path->path_length - 1].out_port->sw), in tb_path_deactivate()
102 path->hops[path->path_length - 1].out_port->port); in tb_path_deactivate()
129 tb_route(path->hops[path->path_length - 1].out_port->sw), in tb_path_activate()
130 path->hops[path->path_length - 1].out_port->port); in tb_path_activate()
133 for (i = path->path_length - 1; i >= 0; i--) { in tb_path_activate()
143 for (i = path->path_length - 1; i >= 0; i--) { in tb_path_activate()
153 for (i = path->path_length - 1; i >= 0; i--) { in tb_path_activate()
179 hop.initial_credits = (i == path->path_length - 1) ? 16 : 7; in tb_path_activate()
184 out_mask = (i == path->path_length - 1) ? in tb_path_activate()
228 for (i = 0; i < path->path_length; i++) { in tb_path_is_invalid()