Searched refs:active_port (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/net/team/
H A Dteam_mode_activebackup.c21 struct team_port __rcu *active_port; member in struct:ab_priv
32 struct team_port *active_port; ab_receive() local
34 active_port = rcu_dereference(ab_priv(team)->active_port); ab_receive()
35 if (active_port != port) ab_receive()
42 struct team_port *active_port; ab_transmit() local
44 active_port = rcu_dereference_bh(ab_priv(team)->active_port); ab_transmit()
45 if (unlikely(!active_port)) ab_transmit()
47 if (team_dev_queue_xmit(team, active_port, skb)) ab_transmit()
58 if (ab_priv(team)->active_port == port) { ab_port_leave()
59 RCU_INIT_POINTER(ab_priv(team)->active_port, NULL); ab_port_leave()
73 struct team_port *active_port; ab_active_port_get() local
75 active_port = rcu_dereference_protected(ab_priv(team)->active_port, ab_active_port_get()
77 if (active_port) ab_active_port_get()
78 ctx->data.u32_val = active_port->dev->ifindex; ab_active_port_get()
90 rcu_assign_pointer(ab_priv(team)->active_port, port); ab_active_port_set()
/linux-4.4.14/drivers/net/wireless/mwifiex/
H A Dusb.c776 u8 active_port = MWIFIEX_USB_EP_DATA; mwifiex_usb_port_resync() local
802 active_port = priv->usb_port; mwifiex_usb_port_resync()
809 priv->usb_port = active_port; mwifiex_usb_port_resync()
812 if (active_port == card->port[i].tx_data_ep) mwifiex_usb_port_resync()

Completed in 107 milliseconds