standby_dev 38 drivers/net/net_failover.c struct net_device *primary_dev, *standby_dev; standby_dev 48 drivers/net/net_failover.c standby_dev = rtnl_dereference(nfo_info->standby_dev); standby_dev 49 drivers/net/net_failover.c if (standby_dev) { standby_dev 50 drivers/net/net_failover.c err = dev_open(standby_dev, NULL); standby_dev 56 drivers/net/net_failover.c (standby_dev && net_failover_xmit_ready(standby_dev))) { standby_dev 82 drivers/net/net_failover.c slave_dev = rtnl_dereference(nfo_info->standby_dev); standby_dev 106 drivers/net/net_failover.c xmit_dev = rcu_dereference_bh(nfo_info->standby_dev); standby_dev 202 drivers/net/net_failover.c slave_dev = rcu_dereference(nfo_info->standby_dev); standby_dev 218 drivers/net/net_failover.c struct net_device *primary_dev, *standby_dev; standby_dev 228 drivers/net/net_failover.c standby_dev = rtnl_dereference(nfo_info->standby_dev); standby_dev 229 drivers/net/net_failover.c if (standby_dev) { standby_dev 230 drivers/net/net_failover.c ret = dev_set_mtu(standby_dev, new_mtu); standby_dev 256 drivers/net/net_failover.c slave_dev = rcu_dereference(nfo_info->standby_dev); standby_dev 269 drivers/net/net_failover.c struct net_device *primary_dev, *standby_dev; standby_dev 279 drivers/net/net_failover.c standby_dev = rcu_dereference(nfo_info->standby_dev); standby_dev 280 drivers/net/net_failover.c if (standby_dev) { standby_dev 281 drivers/net/net_failover.c ret = vlan_vid_add(standby_dev, proto, vid); standby_dev 300 drivers/net/net_failover.c slave_dev = rcu_dereference(nfo_info->standby_dev); standby_dev 339 drivers/net/net_failover.c slave_dev = rtnl_dereference(nfo_info->standby_dev); standby_dev 367 drivers/net/net_failover.c struct net_device *primary_dev, *standby_dev; standby_dev 370 drivers/net/net_failover.c standby_dev = rcu_dereference(nfo_info->standby_dev); standby_dev 372 drivers/net/net_failover.c if (primary_dev && skb->dev == standby_dev) standby_dev 389 drivers/net/net_failover.c struct net_device *primary_dev, *standby_dev; standby_dev 407 drivers/net/net_failover.c standby_dev = rcu_dereference(nfo_info->standby_dev); standby_dev 408 drivers/net/net_failover.c if (standby_dev) { standby_dev 411 drivers/net/net_failover.c standby_dev->vlan_features, standby_dev 415 drivers/net/net_failover.c standby_dev->hw_enc_features, standby_dev 418 drivers/net/net_failover.c dst_release_flag &= standby_dev->priv_flags; standby_dev 419 drivers/net/net_failover.c if (standby_dev->hard_header_len > max_hard_header_len) standby_dev 420 drivers/net/net_failover.c max_hard_header_len = standby_dev->hard_header_len; standby_dev 437 drivers/net/net_failover.c struct net_device *standby_dev) standby_dev 453 drivers/net/net_failover.c (!netif_running(standby_dev))) standby_dev 465 drivers/net/net_failover.c struct net_device *standby_dev, *primary_dev; standby_dev 470 drivers/net/net_failover.c standby_dev = rtnl_dereference(nfo_info->standby_dev); standby_dev 473 drivers/net/net_failover.c if (slave_is_standby ? standby_dev : primary_dev) { standby_dev 501 drivers/net/net_failover.c struct net_device *standby_dev, *primary_dev; standby_dev 540 drivers/net/net_failover.c standby_dev = rtnl_dereference(nfo_info->standby_dev); standby_dev 545 drivers/net/net_failover.c rcu_assign_pointer(nfo_info->standby_dev, slave_dev); standby_dev 546 drivers/net/net_failover.c standby_dev = slave_dev; standby_dev 547 drivers/net/net_failover.c dev_get_stats(standby_dev, &nfo_info->standby_stats); standby_dev 556 drivers/net/net_failover.c net_failover_lower_state_changed(slave_dev, primary_dev, standby_dev); standby_dev 580 drivers/net/net_failover.c struct net_device *standby_dev, *primary_dev; standby_dev 585 drivers/net/net_failover.c standby_dev = rtnl_dereference(nfo_info->standby_dev); standby_dev 587 drivers/net/net_failover.c if (slave_dev != primary_dev && slave_dev != standby_dev) standby_dev 596 drivers/net/net_failover.c struct net_device *standby_dev, *primary_dev; standby_dev 602 drivers/net/net_failover.c standby_dev = rtnl_dereference(nfo_info->standby_dev); standby_dev 604 drivers/net/net_failover.c if (WARN_ON_ONCE(slave_dev != primary_dev && slave_dev != standby_dev)) standby_dev 617 drivers/net/net_failover.c RCU_INIT_POINTER(nfo_info->standby_dev, NULL); standby_dev 620 drivers/net/net_failover.c if (standby_dev) { standby_dev 621 drivers/net/net_failover.c failover_dev->min_mtu = standby_dev->min_mtu; standby_dev 622 drivers/net/net_failover.c failover_dev->max_mtu = standby_dev->max_mtu; standby_dev 639 drivers/net/net_failover.c struct net_device *primary_dev, *standby_dev; standby_dev 645 drivers/net/net_failover.c standby_dev = rtnl_dereference(nfo_info->standby_dev); standby_dev 647 drivers/net/net_failover.c if (slave_dev != primary_dev && slave_dev != standby_dev) standby_dev 651 drivers/net/net_failover.c (standby_dev && net_failover_xmit_ready(standby_dev))) { standby_dev 660 drivers/net/net_failover.c net_failover_lower_state_changed(slave_dev, primary_dev, standby_dev); standby_dev 668 drivers/net/net_failover.c struct net_device *primary_dev, *standby_dev; standby_dev 674 drivers/net/net_failover.c standby_dev = rtnl_dereference(nfo_info->standby_dev); standby_dev 676 drivers/net/net_failover.c if (slave_dev != primary_dev && slave_dev != standby_dev) standby_dev 710 drivers/net/net_failover.c struct failover *net_failover_create(struct net_device *standby_dev) standby_dev 712 drivers/net/net_failover.c struct device *dev = standby_dev->dev.parent; standby_dev 726 drivers/net/net_failover.c dev_net_set(failover_dev, dev_net(standby_dev)); standby_dev 751 drivers/net/net_failover.c memcpy(failover_dev->dev_addr, standby_dev->dev_addr, standby_dev 754 drivers/net/net_failover.c failover_dev->min_mtu = standby_dev->min_mtu; standby_dev 755 drivers/net/net_failover.c failover_dev->max_mtu = standby_dev->max_mtu; standby_dev 813 drivers/net/net_failover.c slave_dev = rtnl_dereference(nfo_info->standby_dev); standby_dev 15 include/net/net_failover.h struct net_device __rcu *standby_dev; standby_dev 30 include/net/net_failover.h struct failover *net_failover_create(struct net_device *standby_dev);