Lines Matching refs:real_dev
455 xs->xso.real_dev = slave->dev; in bond_ipsec_add_sa()
496 ipsec->xs->xso.real_dev = slave->dev; in bond_ipsec_add_sa_all()
499 ipsec->xs->xso.real_dev = NULL; in bond_ipsec_add_sa_all()
528 if (!xs->xso.real_dev) in bond_ipsec_del_sa()
531 WARN_ON(xs->xso.real_dev != slave->dev); in bond_ipsec_del_sa()
569 if (!ipsec->xs->xso.real_dev) in bond_ipsec_del_sa_all()
581 ipsec->xs->xso.real_dev = NULL; in bond_ipsec_del_sa_all()
595 struct net_device *real_dev; in bond_ipsec_offload_ok() local
603 real_dev = curr_active->dev; in bond_ipsec_offload_ok()
610 if (!xs->xso.real_dev) { in bond_ipsec_offload_ok()
615 if (!real_dev->xfrmdev_ops || in bond_ipsec_offload_ok()
616 !real_dev->xfrmdev_ops->xdo_dev_offload_ok || in bond_ipsec_offload_ok()
617 netif_is_bond_master(real_dev)) { in bond_ipsec_offload_ok()
622 err = real_dev->xfrmdev_ops->xdo_dev_offload_ok(skb, xs); in bond_ipsec_offload_ok()
4398 struct net_device *real_dev; in bond_eth_ioctl() local
4437 real_dev = bond_option_active_slave_get_rcu(bond); in bond_eth_ioctl()
4438 if (!real_dev) in bond_eth_ioctl()
4441 strscpy_pad(ifrr.ifr_name, real_dev->name, IFNAMSIZ); in bond_eth_ioctl()
4444 ops = real_dev->netdev_ops; in bond_eth_ioctl()
4445 if (netif_device_present(real_dev) && ops->ndo_eth_ioctl) { in bond_eth_ioctl()
4446 res = ops->ndo_eth_ioctl(real_dev, &ifrr, cmd); in bond_eth_ioctl()
5687 struct net_device *real_dev; in bond_ethtool_get_ts_info() local
5692 real_dev = bond_option_active_slave_get_rcu(bond); in bond_ethtool_get_ts_info()
5693 dev_hold(real_dev); in bond_ethtool_get_ts_info()
5696 if (real_dev) { in bond_ethtool_get_ts_info()
5697 ops = real_dev->ethtool_ops; in bond_ethtool_get_ts_info()
5698 phydev = real_dev->phydev; in bond_ethtool_get_ts_info()
5704 ret = ops->get_ts_info(real_dev, info); in bond_ethtool_get_ts_info()
5714 dev_put(real_dev); in bond_ethtool_get_ts_info()