Lines Matching refs:active_port
17 struct team_port __rcu *active_port; member
28 struct team_port *active_port; in ab_receive() local
30 active_port = rcu_dereference(ab_priv(team)->active_port); in ab_receive()
31 if (active_port != port) in ab_receive()
38 struct team_port *active_port; in ab_transmit() local
40 active_port = rcu_dereference_bh(ab_priv(team)->active_port); in ab_transmit()
41 if (unlikely(!active_port)) in ab_transmit()
43 if (team_dev_queue_xmit(team, active_port, skb)) in ab_transmit()
54 if (ab_priv(team)->active_port == port) { in ab_port_leave()
55 RCU_INIT_POINTER(ab_priv(team)->active_port, NULL); in ab_port_leave()
69 struct team_port *active_port; in ab_active_port_get() local
71 active_port = rcu_dereference_protected(ab_priv(team)->active_port, in ab_active_port_get()
73 if (active_port) in ab_active_port_get()
74 ctx->data.u32_val = active_port->dev->ifindex; in ab_active_port_get()
86 rcu_assign_pointer(ab_priv(team)->active_port, port); in ab_active_port_set()