Lines Matching refs:active_port
21 struct team_port __rcu *active_port; member
32 struct team_port *active_port; in ab_receive() local
34 active_port = rcu_dereference(ab_priv(team)->active_port); in ab_receive()
35 if (active_port != port) in ab_receive()
42 struct team_port *active_port; in ab_transmit() local
44 active_port = rcu_dereference_bh(ab_priv(team)->active_port); in ab_transmit()
45 if (unlikely(!active_port)) in ab_transmit()
47 if (team_dev_queue_xmit(team, active_port, skb)) in ab_transmit()
58 if (ab_priv(team)->active_port == port) { in ab_port_leave()
59 RCU_INIT_POINTER(ab_priv(team)->active_port, NULL); in ab_port_leave()
73 struct team_port *active_port; in ab_active_port_get() local
75 active_port = rcu_dereference_protected(ab_priv(team)->active_port, in ab_active_port_get()
77 if (active_port) in ab_active_port_get()
78 ctx->data.u32_val = active_port->dev->ifindex; in ab_active_port_get()
90 rcu_assign_pointer(ab_priv(team)->active_port, port); in ab_active_port_set()