Lines Matching refs:active
228 struct tipc_link **active = &n_ptr->active_links[0]; in tipc_node_link_up() local
237 if (!active[0]) { in tipc_node_link_up()
238 active[0] = active[1] = l_ptr; in tipc_node_link_up()
242 if (l_ptr->priority < active[0]->priority) { in tipc_node_link_up()
246 tipc_link_dup_queue_xmit(active[0], l_ptr); in tipc_node_link_up()
247 if (l_ptr->priority == active[0]->priority) { in tipc_node_link_up()
248 active[0] = l_ptr; in tipc_node_link_up()
251 pr_debug("Old link <%s> becomes standby\n", active[0]->name); in tipc_node_link_up()
252 if (active[1] != active[0]) in tipc_node_link_up()
253 pr_debug("Old link <%s> becomes standby\n", active[1]->name); in tipc_node_link_up()
254 active[0] = active[1] = l_ptr; in tipc_node_link_up()
257 n_ptr->act_mtus[0] = active[0]->mtu - INT_H_SIZE; in tipc_node_link_up()
258 n_ptr->act_mtus[1] = active[1]->mtu - INT_H_SIZE; in tipc_node_link_up()
266 struct tipc_link **active = &n_ptr->active_links[0]; in node_select_active_links() local
270 active[0] = active[1] = NULL; in node_select_active_links()
281 active[0] = active[1] = l_ptr; in node_select_active_links()
283 active[1] = l_ptr; in node_select_active_links()
294 struct tipc_link **active; in tipc_node_link_down() local
308 active = &n_ptr->active_links[0]; in tipc_node_link_down()
309 if (active[0] == l_ptr) in tipc_node_link_down()
310 active[0] = active[1]; in tipc_node_link_down()
311 if (active[1] == l_ptr) in tipc_node_link_down()
312 active[1] = active[0]; in tipc_node_link_down()
313 if (active[0] == l_ptr) in tipc_node_link_down()
321 if (active[0]) { in tipc_node_link_down()
322 n_ptr->act_mtus[0] = active[0]->mtu - INT_H_SIZE; in tipc_node_link_down()
323 n_ptr->act_mtus[1] = active[1]->mtu - INT_H_SIZE; in tipc_node_link_down()