real_dev          165 drivers/hwtracing/coresight/coresight-tmc-etr.c 	struct device *real_dev = dev->parent;
real_dev          169 drivers/hwtracing/coresight/coresight-tmc-etr.c 			dma_unmap_page(real_dev, tmc_pages->daddrs[i],
real_dev          197 drivers/hwtracing/coresight/coresight-tmc-etr.c 	struct device *real_dev = dev->parent;
real_dev          221 drivers/hwtracing/coresight/coresight-tmc-etr.c 		paddr = dma_map_page(real_dev, page, 0, PAGE_SIZE, dir);
real_dev          222 drivers/hwtracing/coresight/coresight-tmc-etr.c 		if (dma_mapping_error(real_dev, paddr))
real_dev          353 drivers/hwtracing/coresight/coresight-tmc-etr.c 	struct device *real_dev = table->dev->parent;
real_dev          359 drivers/hwtracing/coresight/coresight-tmc-etr.c 		dma_sync_single_for_cpu(real_dev, data->daddrs[index],
real_dev          368 drivers/hwtracing/coresight/coresight-tmc-etr.c 	struct device *real_dev = sg_table->dev->parent;
real_dev          372 drivers/hwtracing/coresight/coresight-tmc-etr.c 		dma_sync_single_for_device(real_dev, table_pages->daddrs[i],
real_dev          595 drivers/hwtracing/coresight/coresight-tmc-etr.c 	struct device *real_dev = drvdata->csdev->dev.parent;
real_dev          605 drivers/hwtracing/coresight/coresight-tmc-etr.c 	flat_buf->vaddr = dma_alloc_coherent(real_dev, etr_buf->size,
real_dev          625 drivers/hwtracing/coresight/coresight-tmc-etr.c 		struct device *real_dev = flat_buf->dev->parent;
real_dev          627 drivers/hwtracing/coresight/coresight-tmc-etr.c 		dma_free_coherent(real_dev, flat_buf->size,
real_dev          150 drivers/infiniband/core/roce_gid_mgmt.c 	struct net_device *real_dev;
real_dev          157 drivers/infiniband/core/roce_gid_mgmt.c 	real_dev = rdma_vlan_dev_real_dev(cookie);
real_dev          158 drivers/infiniband/core/roce_gid_mgmt.c 	if (!real_dev)
real_dev          159 drivers/infiniband/core/roce_gid_mgmt.c 		real_dev = cookie;
real_dev          162 drivers/infiniband/core/roce_gid_mgmt.c 	       (is_eth_active_slave_of_bonding_rcu(rdma_ndev, real_dev) &
real_dev          164 drivers/infiniband/core/roce_gid_mgmt.c 	       real_dev == rdma_ndev);
real_dev          301 drivers/infiniband/core/roce_gid_mgmt.c 	struct net_device *real_dev = rdma_vlan_dev_real_dev(event_ndev);
real_dev          307 drivers/infiniband/core/roce_gid_mgmt.c 	if (!real_dev)
real_dev          308 drivers/infiniband/core/roce_gid_mgmt.c 		real_dev = event_ndev;
real_dev          314 drivers/infiniband/core/roce_gid_mgmt.c 	     is_eth_active_slave_of_bonding_rcu(rdma_ndev, real_dev)
real_dev         1612 drivers/infiniband/hw/bnxt_re/main.c 	struct net_device *real_dev, *netdev = netdev_notifier_info_to_dev(ptr);
real_dev         1618 drivers/infiniband/hw/bnxt_re/main.c 	real_dev = rdma_vlan_dev_real_dev(netdev);
real_dev         1619 drivers/infiniband/hw/bnxt_re/main.c 	if (!real_dev)
real_dev         1620 drivers/infiniband/hw/bnxt_re/main.c 		real_dev = netdev;
real_dev         1622 drivers/infiniband/hw/bnxt_re/main.c 	rdev = bnxt_re_from_netdev(real_dev);
real_dev         1625 drivers/infiniband/hw/bnxt_re/main.c 	if (real_dev != netdev)
real_dev         1632 drivers/infiniband/hw/bnxt_re/main.c 		rc = bnxt_re_dev_reg(&rdev, real_dev);
real_dev         1637 drivers/infiniband/hw/bnxt_re/main.c 			       real_dev->name, rc);
real_dev         1665 drivers/infiniband/hw/bnxt_re/main.c 			re_work->vlan_dev = (real_dev == netdev ?
real_dev          981 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c 		if (vlan->real_dev != real_dst_dev) {
real_dev           28 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c 	struct net_device *uplink_dev, *uplink_upper, *real_dev;
real_dev           32 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c 	real_dev = is_vlan_dev(dev) ? vlan_dev_real_dev(dev) : dev;
real_dev           47 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c 			  real_dev == uplink_upper &&
real_dev           56 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c 	if (!netdev_port_same_parent_id(priv->netdev, real_dev) ||
real_dev         6283 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	struct net_device *real_dev = vlan_dev_real_dev(vlan_dev);
real_dev         6286 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	if (mlxsw_sp_port_dev_check(real_dev))
real_dev         6287 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 		return mlxsw_sp_netdevice_port_vlan_event(vlan_dev, real_dev,
real_dev         6289 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	else if (netif_is_lag_master(real_dev))
real_dev         6291 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 							      real_dev, event,
real_dev         6293 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 	else if (netif_is_bridge_master(real_dev))
real_dev         6294 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 		return mlxsw_sp_netdevice_bridge_vlan_event(vlan_dev, real_dev,
real_dev         6841 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	struct net_device *real_dev = vlan_dev_real_dev(vlan_dev);
real_dev         6847 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	if (mlxsw_sp_port_dev_check(real_dev))
real_dev         6848 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		return mlxsw_sp_inetaddr_port_vlan_event(vlan_dev, real_dev,
real_dev         6850 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	else if (netif_is_lag_master(real_dev))
real_dev         6851 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		return __mlxsw_sp_inetaddr_lag_event(vlan_dev, real_dev, event,
real_dev         6853 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	else if (netif_is_bridge_master(real_dev) && br_vlan_enabled(real_dev))
real_dev          509 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c 	struct net_device *real_dev;
real_dev          515 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c 	real_dev = mlxsw_sp_span_entry_vlan(to_dev, &vid);
real_dev          516 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c 	sparmsp->dest_port = netdev_priv(real_dev);
real_dev           23 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c static int rmnet_is_real_dev_registered(const struct net_device *real_dev)
real_dev           25 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	return rcu_access_pointer(real_dev->rx_handler) == rmnet_rx_handler;
real_dev           30 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c rmnet_get_port_rtnl(const struct net_device *real_dev)
real_dev           32 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	return rtnl_dereference(real_dev->rx_handler_data);
real_dev           35 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c static int rmnet_unregister_real_device(struct net_device *real_dev)
real_dev           37 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	struct rmnet_port *port = rmnet_get_port_rtnl(real_dev);
real_dev           42 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	netdev_rx_handler_unregister(real_dev);
real_dev           46 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	netdev_dbg(real_dev, "Removed from rmnet\n");
real_dev           50 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c static int rmnet_register_real_device(struct net_device *real_dev)
real_dev           57 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	if (rmnet_is_real_dev_registered(real_dev))
real_dev           64 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	port->dev = real_dev;
real_dev           65 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	rc = netdev_rx_handler_register(real_dev, rmnet_rx_handler, port);
real_dev           74 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	netdev_dbg(real_dev, "registered with rmnet\n");
real_dev           80 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	struct net_device *bridge_dev, *real_dev, *rmnet_dev;
real_dev           89 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 		real_dev = port->bridge_ep;
real_dev           92 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 		real_port = rmnet_get_port_rtnl(real_dev);
real_dev          112 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	struct net_device *real_dev;
real_dev          124 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	real_dev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK]));
real_dev          125 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	if (!real_dev || !dev)
real_dev          137 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	err = rmnet_register_real_device(real_dev);
real_dev          141 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	port = rmnet_get_port_rtnl(real_dev);
real_dev          142 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	err = rmnet_vnd_newlink(mux_id, dev, port, real_dev, ep);
real_dev          146 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	err = netdev_upper_dev_link(real_dev, dev, extack);
real_dev          171 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	rmnet_unregister_real_device(real_dev);
real_dev          180 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	struct net_device *real_dev, *bridge_dev;
real_dev          185 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	real_dev = priv->real_dev;
real_dev          187 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	if (!rmnet_is_real_dev_registered(real_dev))
real_dev          190 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	real_port = rmnet_get_port_rtnl(real_dev);
real_dev          204 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	netdev_upper_dev_unlink(real_dev, dev);
real_dev          205 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	rmnet_unregister_real_device(real_dev);
real_dev          209 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c static void rmnet_force_unassociate_device(struct net_device *real_dev)
real_dev          217 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	port = rmnet_get_port_rtnl(real_dev);
real_dev          224 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 			netdev_upper_dev_unlink(real_dev, ep->egress_dev);
real_dev          229 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 		rmnet_unregister_real_device(real_dev);
real_dev          239 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	struct net_device *real_dev = netdev_notifier_info_to_dev(data);
real_dev          241 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	if (!rmnet_is_real_dev_registered(real_dev))
real_dev          246 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 		netdev_dbg(real_dev, "Kernel unregister\n");
real_dev          247 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 		rmnet_force_unassociate_device(real_dev);
real_dev          281 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	struct net_device *real_dev;
real_dev          288 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	real_dev = priv->real_dev;
real_dev          289 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	if (!rmnet_is_real_dev_registered(real_dev))
real_dev          292 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	port = rmnet_get_port_rtnl(real_dev);
real_dev          341 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	struct net_device *real_dev;
real_dev          345 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	real_dev = priv->real_dev;
real_dev          350 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	if (rmnet_is_real_dev_registered(real_dev)) {
real_dev          351 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 		port = rmnet_get_port_rtnl(real_dev);
real_dev          382 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c struct rmnet_port *rmnet_get_port_rcu(struct net_device *real_dev)
real_dev          384 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	if (rmnet_is_real_dev_registered(real_dev))
real_dev          385 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 		return rcu_dereference_bh(real_dev->rx_handler_data);
real_dev          407 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	struct net_device *real_dev = priv->real_dev;
real_dev          411 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	port = rmnet_get_port_rtnl(real_dev);
real_dev          438 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c 	slave_port->bridge_ep = real_dev;
real_dev           63 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.h 	struct net_device *real_dev;
real_dev           69 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.h struct rmnet_port *rmnet_get_port_rcu(struct net_device *real_dev);
real_dev          220 drivers/net/ethernet/qualcomm/rmnet/rmnet_handlers.c 	skb->dev = priv->real_dev;
real_dev           52 drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.c 	if (priv->real_dev) {
real_dev           74 drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.c 	return priv->real_dev->ifindex;
real_dev          224 drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.c 		      struct net_device *real_dev,
real_dev          240 drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.c 	priv->real_dev = real_dev;
real_dev           13 drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.h 		      struct net_device *real_dev,
real_dev          267 drivers/net/macsec.c 	struct net_device *real_dev;
real_dev          559 drivers/net/macsec.c 	skb->dev = macsec->real_dev;
real_dev          714 drivers/net/macsec.c 	if (skb->len - ETH_HLEN > macsec_priv(dev)->real_dev->mtu) {
real_dev         1397 drivers/net/macsec.c 	struct net_device *real_dev = macsec_priv(dev)->real_dev;
real_dev         1398 drivers/net/macsec.c 	struct macsec_rxh_data *rxd = macsec_data_rtnl(real_dev);
real_dev         2723 drivers/net/macsec.c 		skb->dev = macsec->real_dev;
real_dev         2758 drivers/net/macsec.c 	struct net_device *real_dev = macsec->real_dev;
real_dev         2771 drivers/net/macsec.c 	dev->features = real_dev->features & MACSEC_FEATURES;
real_dev         2774 drivers/net/macsec.c 	dev->needed_headroom = real_dev->needed_headroom +
real_dev         2776 drivers/net/macsec.c 	dev->needed_tailroom = real_dev->needed_tailroom +
real_dev         2780 drivers/net/macsec.c 		eth_hw_addr_inherit(dev, real_dev);
real_dev         2782 drivers/net/macsec.c 		memcpy(dev->broadcast, real_dev->broadcast, dev->addr_len);
real_dev         2799 drivers/net/macsec.c 	struct net_device *real_dev = macsec->real_dev;
real_dev         2801 drivers/net/macsec.c 	features &= (real_dev->features & MACSEC_FEATURES) |
real_dev         2811 drivers/net/macsec.c 	struct net_device *real_dev = macsec->real_dev;
real_dev         2814 drivers/net/macsec.c 	err = dev_uc_add(real_dev, dev->dev_addr);
real_dev         2819 drivers/net/macsec.c 		err = dev_set_allmulti(real_dev, 1);
real_dev         2825 drivers/net/macsec.c 		err = dev_set_promiscuity(real_dev, 1);
real_dev         2830 drivers/net/macsec.c 	if (netif_carrier_ok(real_dev))
real_dev         2836 drivers/net/macsec.c 		dev_set_allmulti(real_dev, -1);
real_dev         2838 drivers/net/macsec.c 	dev_uc_del(real_dev, dev->dev_addr);
real_dev         2846 drivers/net/macsec.c 	struct net_device *real_dev = macsec->real_dev;
real_dev         2850 drivers/net/macsec.c 	dev_mc_unsync(real_dev, dev);
real_dev         2851 drivers/net/macsec.c 	dev_uc_unsync(real_dev, dev);
real_dev         2854 drivers/net/macsec.c 		dev_set_allmulti(real_dev, -1);
real_dev         2857 drivers/net/macsec.c 		dev_set_promiscuity(real_dev, -1);
real_dev         2859 drivers/net/macsec.c 	dev_uc_del(real_dev, dev->dev_addr);
real_dev         2866 drivers/net/macsec.c 	struct net_device *real_dev = macsec_priv(dev)->real_dev;
real_dev         2872 drivers/net/macsec.c 		dev_set_allmulti(real_dev, dev->flags & IFF_ALLMULTI ? 1 : -1);
real_dev         2875 drivers/net/macsec.c 		dev_set_promiscuity(real_dev,
real_dev         2881 drivers/net/macsec.c 	struct net_device *real_dev = macsec_priv(dev)->real_dev;
real_dev         2883 drivers/net/macsec.c 	dev_mc_sync(real_dev, dev);
real_dev         2884 drivers/net/macsec.c 	dev_uc_sync(real_dev, dev);
real_dev         2895 drivers/net/macsec.c 	struct net_device *real_dev = macsec->real_dev;
real_dev         2905 drivers/net/macsec.c 	err = dev_uc_add(real_dev, addr->sa_data);
real_dev         2909 drivers/net/macsec.c 	dev_uc_del(real_dev, dev->dev_addr);
real_dev         2922 drivers/net/macsec.c 	if (macsec->real_dev->mtu - extra < new_mtu)
real_dev         2964 drivers/net/macsec.c 	return macsec_priv(dev)->real_dev->ifindex;
real_dev         3124 drivers/net/macsec.c 	struct net_device *real_dev = macsec->real_dev;
real_dev         3129 drivers/net/macsec.c 	netdev_upper_dev_unlink(real_dev, dev);
real_dev         3137 drivers/net/macsec.c 	struct net_device *real_dev = macsec->real_dev;
real_dev         3138 drivers/net/macsec.c 	struct macsec_rxh_data *rxd = macsec_data_rtnl(real_dev);
real_dev         3143 drivers/net/macsec.c 		netdev_rx_handler_unregister(real_dev);
real_dev         3148 drivers/net/macsec.c static int register_macsec_dev(struct net_device *real_dev,
real_dev         3152 drivers/net/macsec.c 	struct macsec_rxh_data *rxd = macsec_data_rtnl(real_dev);
real_dev         3163 drivers/net/macsec.c 		err = netdev_rx_handler_register(real_dev, macsec_handle_frame,
real_dev         3232 drivers/net/macsec.c 	struct net_device *real_dev;
real_dev         3238 drivers/net/macsec.c 	real_dev = __dev_get_by_index(net, nla_get_u32(tb[IFLA_LINK]));
real_dev         3239 drivers/net/macsec.c 	if (!real_dev)
real_dev         3241 drivers/net/macsec.c 	if (real_dev->type != ARPHRD_ETHER)
real_dev         3246 drivers/net/macsec.c 	macsec->real_dev = real_dev;
real_dev         3250 drivers/net/macsec.c 	mtu = real_dev->mtu - icv_len - macsec_extra_len(true);
real_dev         3256 drivers/net/macsec.c 	rx_handler = rtnl_dereference(real_dev->rx_handler);
real_dev         3264 drivers/net/macsec.c 	err = netdev_upper_dev_link(real_dev, dev, extack);
real_dev         3278 drivers/net/macsec.c 	if (rx_handler && sci_exists(real_dev, sci)) {
real_dev         3293 drivers/net/macsec.c 	err = register_macsec_dev(real_dev, dev);
real_dev         3297 drivers/net/macsec.c 	netif_stacked_transfer_operstate(real_dev, dev);
real_dev         3307 drivers/net/macsec.c 	netdev_upper_dev_unlink(real_dev, dev);
real_dev         3389 drivers/net/macsec.c 	return dev_net(macsec_priv(dev)->real_dev);
real_dev         3477 drivers/net/macsec.c 	struct net_device *real_dev = netdev_notifier_info_to_dev(ptr);
real_dev         3480 drivers/net/macsec.c 	if (!is_macsec_master(real_dev))
real_dev         3490 drivers/net/macsec.c 		rxd = macsec_data_rtnl(real_dev);
real_dev         3494 drivers/net/macsec.c 			netif_stacked_transfer_operstate(real_dev, dev);
real_dev         3502 drivers/net/macsec.c 		rxd = macsec_data_rtnl(real_dev);
real_dev         3507 drivers/net/macsec.c 		netdev_rx_handler_unregister(real_dev);
real_dev         3517 drivers/net/macsec.c 		rxd = macsec_data_rtnl(real_dev);
real_dev         3520 drivers/net/macsec.c 			unsigned int mtu = real_dev->mtu - (m->secy.icv_len +
real_dev          829 drivers/net/macvlan.c 	struct net_device *real_dev = macvlan_dev_real_dev(dev);
real_dev          830 drivers/net/macvlan.c 	const struct net_device_ops *ops = real_dev->netdev_ops;
real_dev          834 drivers/net/macvlan.c 	strscpy(ifrr.ifr_name, real_dev->name, IFNAMSIZ);
real_dev          843 drivers/net/macvlan.c 		if (netif_device_present(real_dev) && ops->ndo_do_ioctl)
real_dev          844 drivers/net/macvlan.c 			err = ops->ndo_do_ioctl(real_dev, &ifrr, cmd);
real_dev         1038 drivers/net/macvlan.c 	struct net_device *real_dev = macvlan_dev_real_dev(dev);
real_dev         1039 drivers/net/macvlan.c 	const struct ethtool_ops *ops = real_dev->ethtool_ops;
real_dev         1040 drivers/net/macvlan.c 	struct phy_device *phydev = real_dev->phydev;
real_dev         1045 drivers/net/macvlan.c 		return ops->get_ts_info(real_dev, info);
real_dev         1083 drivers/net/macvlan.c 	struct net_device *real_dev = vlan->lowerdev;
real_dev         1092 drivers/net/macvlan.c 	err = __netpoll_setup(netpoll, real_dev);
real_dev           73 drivers/net/usb/qmi_wwan.c 	struct net_device *real_dev;
real_dev           81 drivers/net/usb/qmi_wwan.c 	struct net_device *real_dev = priv->real_dev;
real_dev           83 drivers/net/usb/qmi_wwan.c 	if (!(priv->real_dev->flags & IFF_UP))
real_dev           86 drivers/net/usb/qmi_wwan.c 	if (netif_carrier_ok(real_dev))
real_dev          108 drivers/net/usb/qmi_wwan.c 	skb->dev = priv->real_dev;
real_dev          265 drivers/net/usb/qmi_wwan.c static int qmimux_register_device(struct net_device *real_dev, u8 mux_id)
real_dev          276 drivers/net/usb/qmi_wwan.c 	dev_net_set(new_dev, dev_net(real_dev));
real_dev          279 drivers/net/usb/qmi_wwan.c 	priv->real_dev = real_dev;
real_dev          292 drivers/net/usb/qmi_wwan.c 	dev_hold(real_dev);
real_dev          294 drivers/net/usb/qmi_wwan.c 	err = netdev_upper_dev_link(real_dev, new_dev, NULL);
real_dev          298 drivers/net/usb/qmi_wwan.c 	netif_stacked_transfer_operstate(real_dev, new_dev);
real_dev          304 drivers/net/usb/qmi_wwan.c 	dev_put(real_dev);
real_dev          315 drivers/net/usb/qmi_wwan.c 	struct net_device *real_dev = priv->real_dev;
real_dev          318 drivers/net/usb/qmi_wwan.c 	netdev_upper_dev_unlink(real_dev, dev);
real_dev          322 drivers/net/usb/qmi_wwan.c 	dev_put(real_dev);
real_dev          295 drivers/scsi/fcoe/fcoe.c 	struct net_device *real_dev;
real_dev          317 drivers/scsi/fcoe/fcoe.c 	real_dev = is_vlan_dev(netdev) ? vlan_dev_real_dev(netdev) : netdev;
real_dev          318 drivers/scsi/fcoe/fcoe.c 	fcoe->realdev = real_dev;
real_dev          320 drivers/scsi/fcoe/fcoe.c 	for_each_dev_addr(real_dev, ha) {
real_dev          363 drivers/scsi/fcoe/fcoe.c 	if (netdev != real_dev) {
real_dev          366 drivers/scsi/fcoe/fcoe.c 		fcoe->fip_vlan_packet_type.dev = real_dev;
real_dev         1778 drivers/scsi/fcoe/fcoe.c 	struct net_device *real_dev;
real_dev         1782 drivers/scsi/fcoe/fcoe.c 			real_dev = vlan_dev_real_dev(fcoe->netdev);
real_dev         1784 drivers/scsi/fcoe/fcoe.c 			real_dev = fcoe->netdev;
real_dev         1786 drivers/scsi/fcoe/fcoe.c 		if (netdev == real_dev)
real_dev          219 drivers/staging/wilc1000/wilc_mon.c 					       struct net_device *real_dev)
real_dev          238 drivers/staging/wilc1000/wilc_mon.c 		netdev_err(real_dev, "register_netdevice failed\n");
real_dev          245 drivers/staging/wilc1000/wilc_mon.c 	priv->real_ndev = real_dev;
real_dev           23 drivers/staging/wilc1000/wilc_wfi_cfgoperations.h 					       struct net_device *real_dev);
real_dev          129 include/linux/if_vlan.h extern struct net_device *__vlan_find_dev_deep_rcu(struct net_device *real_dev,
real_dev          177 include/linux/if_vlan.h 	struct net_device			*real_dev;
real_dev          225 include/linux/if_vlan.h __vlan_find_dev_deep_rcu(struct net_device *real_dev,
real_dev           85 net/8021q/vlan.c 	struct net_device *real_dev = vlan->real_dev;
real_dev           92 net/8021q/vlan.c 	vlan_info = rtnl_dereference(real_dev->vlan_info);
real_dev          106 net/8021q/vlan.c 	netdev_upper_dev_unlink(real_dev, dev);
real_dev          114 net/8021q/vlan.c 		vlan_mvrp_uninit_applicant(real_dev);
real_dev          115 net/8021q/vlan.c 		vlan_gvrp_uninit_applicant(real_dev);
real_dev          118 net/8021q/vlan.c 	vlan_vid_del(real_dev, vlan->vlan_proto, vlan_id);
real_dev          121 net/8021q/vlan.c 	dev_put(real_dev);
real_dev          124 net/8021q/vlan.c int vlan_check_real_dev(struct net_device *real_dev,
real_dev          128 net/8021q/vlan.c 	const char *name = real_dev->name;
real_dev          130 net/8021q/vlan.c 	if (real_dev->features & NETIF_F_VLAN_CHALLENGED) {
real_dev          136 net/8021q/vlan.c 	if (vlan_find_dev(real_dev, protocol, vlan_id) != NULL) {
real_dev          147 net/8021q/vlan.c 	struct net_device *real_dev = vlan->real_dev;
real_dev          153 net/8021q/vlan.c 	err = vlan_vid_add(real_dev, vlan->vlan_proto, vlan_id);
real_dev          157 net/8021q/vlan.c 	vlan_info = rtnl_dereference(real_dev->vlan_info);
real_dev          163 net/8021q/vlan.c 		err = vlan_gvrp_init_applicant(real_dev);
real_dev          166 net/8021q/vlan.c 		err = vlan_mvrp_init_applicant(real_dev);
real_dev          179 net/8021q/vlan.c 	err = netdev_upper_dev_link(real_dev, dev, extack);
real_dev          184 net/8021q/vlan.c 	dev_hold(real_dev);
real_dev          186 net/8021q/vlan.c 	vlan_stacked_transfer_operstate(real_dev, dev, vlan);
real_dev          201 net/8021q/vlan.c 		vlan_mvrp_uninit_applicant(real_dev);
real_dev          204 net/8021q/vlan.c 		vlan_gvrp_uninit_applicant(real_dev);
real_dev          206 net/8021q/vlan.c 	vlan_vid_del(real_dev, vlan->vlan_proto, vlan_id);
real_dev          213 net/8021q/vlan.c static int register_vlan_device(struct net_device *real_dev, u16 vlan_id)
real_dev          217 net/8021q/vlan.c 	struct net *net = dev_net(real_dev);
real_dev          225 net/8021q/vlan.c 	err = vlan_check_real_dev(real_dev, htons(ETH_P_8021Q), vlan_id,
real_dev          234 net/8021q/vlan.c 		snprintf(name, IFNAMSIZ, "%s.%.4i", real_dev->name, vlan_id);
real_dev          246 net/8021q/vlan.c 		snprintf(name, IFNAMSIZ, "%s.%i", real_dev->name, vlan_id);
real_dev          266 net/8021q/vlan.c 	new_dev->mtu = real_dev->mtu;
real_dev          271 net/8021q/vlan.c 	vlan->real_dev = real_dev;
real_dev          335 net/8021q/vlan.c 	vlandev->priv_flags |= (vlan->real_dev->priv_flags & IFF_XMIT_DST_RELEASE);
real_dev          336 net/8021q/vlan.c 	vlandev->hw_enc_features = vlan_tnl_features(vlan->real_dev);
real_dev           30 net/8021q/vlan.h 	struct net_device	*real_dev; /* The ethernet(like) device
real_dev           83 net/8021q/vlan.h static inline struct net_device *vlan_find_dev(struct net_device *real_dev,
real_dev           86 net/8021q/vlan.h 	struct vlan_info *vlan_info = rcu_dereference_rtnl(real_dev->vlan_info);
real_dev           95 net/8021q/vlan.h static inline netdev_features_t vlan_tnl_features(struct net_device *real_dev)
real_dev           99 net/8021q/vlan.h 	ret = real_dev->hw_enc_features &
real_dev          123 net/8021q/vlan.h int vlan_check_real_dev(struct net_device *real_dev,
real_dev          131 net/8021q/vlan.h 			      struct net_device *real_dev);
real_dev          103 net/8021q/vlan_core.c 	struct net_device *ret = vlan_dev_priv(dev)->real_dev;
real_dev          106 net/8021q/vlan_core.c 		ret = vlan_dev_priv(ret)->real_dev;
real_dev          156 net/8021q/vlan_core.c 	vlan_info->real_dev = dev;
real_dev          255 net/8021q/vlan_core.c 	struct net_device *real_dev = vlan_info->real_dev;
real_dev          261 net/8021q/vlan_core.c 			err = vlan_add_rx_filter_info(real_dev, proto,
real_dev          274 net/8021q/vlan_core.c 			vlan_kill_rx_filter_info(real_dev, proto,
real_dev          288 net/8021q/vlan_core.c 			vlan_kill_rx_filter_info(vlan_info->real_dev,
real_dev          297 net/8021q/vlan_core.c 	struct net_device *dev = vlan_info->real_dev;
real_dev          356 net/8021q/vlan_core.c 	struct net_device *dev = vlan_info->real_dev;
real_dev           81 net/8021q/vlan_dev.c 	dev = vlan->real_dev;
real_dev          120 net/8021q/vlan_dev.c 	skb->dev = vlan->real_dev;
real_dev          144 net/8021q/vlan_dev.c 	struct net_device *real_dev = vlan_dev_priv(dev)->real_dev;
real_dev          145 net/8021q/vlan_dev.c 	unsigned int max_mtu = real_dev->mtu;
real_dev          147 net/8021q/vlan_dev.c 	if (netif_reduces_vlan_mtu(real_dev))
real_dev          245 net/8021q/vlan_dev.c 	strncpy(result, vlan_dev_priv(dev)->real_dev->name, 23);
real_dev          249 net/8021q/vlan_dev.c 			      struct net_device *real_dev)
real_dev          254 net/8021q/vlan_dev.c 	ether_addr_copy(dev->dev_addr, real_dev->dev_addr);
real_dev          262 net/8021q/vlan_dev.c 	struct net_device *real_dev = vlan->real_dev;
real_dev          265 net/8021q/vlan_dev.c 	if (!(real_dev->flags & IFF_UP) &&
real_dev          269 net/8021q/vlan_dev.c 	if (!ether_addr_equal(dev->dev_addr, real_dev->dev_addr) &&
real_dev          270 net/8021q/vlan_dev.c 	    !vlan_dev_inherit_address(dev, real_dev)) {
real_dev          271 net/8021q/vlan_dev.c 		err = dev_uc_add(real_dev, dev->dev_addr);
real_dev          277 net/8021q/vlan_dev.c 		err = dev_set_allmulti(real_dev, 1);
real_dev          282 net/8021q/vlan_dev.c 		err = dev_set_promiscuity(real_dev, 1);
real_dev          287 net/8021q/vlan_dev.c 	ether_addr_copy(vlan->real_dev_addr, real_dev->dev_addr);
real_dev          295 net/8021q/vlan_dev.c 	if (netif_carrier_ok(real_dev) &&
real_dev          302 net/8021q/vlan_dev.c 		dev_set_allmulti(real_dev, -1);
real_dev          304 net/8021q/vlan_dev.c 	if (!ether_addr_equal(dev->dev_addr, real_dev->dev_addr))
real_dev          305 net/8021q/vlan_dev.c 		dev_uc_del(real_dev, dev->dev_addr);
real_dev          314 net/8021q/vlan_dev.c 	struct net_device *real_dev = vlan->real_dev;
real_dev          316 net/8021q/vlan_dev.c 	dev_mc_unsync(real_dev, dev);
real_dev          317 net/8021q/vlan_dev.c 	dev_uc_unsync(real_dev, dev);
real_dev          319 net/8021q/vlan_dev.c 		dev_set_allmulti(real_dev, -1);
real_dev          321 net/8021q/vlan_dev.c 		dev_set_promiscuity(real_dev, -1);
real_dev          323 net/8021q/vlan_dev.c 	if (!ether_addr_equal(dev->dev_addr, real_dev->dev_addr))
real_dev          324 net/8021q/vlan_dev.c 		dev_uc_del(real_dev, dev->dev_addr);
real_dev          333 net/8021q/vlan_dev.c 	struct net_device *real_dev = vlan_dev_priv(dev)->real_dev;
real_dev          343 net/8021q/vlan_dev.c 	if (!ether_addr_equal(addr->sa_data, real_dev->dev_addr)) {
real_dev          344 net/8021q/vlan_dev.c 		err = dev_uc_add(real_dev, addr->sa_data);
real_dev          349 net/8021q/vlan_dev.c 	if (!ether_addr_equal(dev->dev_addr, real_dev->dev_addr))
real_dev          350 net/8021q/vlan_dev.c 		dev_uc_del(real_dev, dev->dev_addr);
real_dev          359 net/8021q/vlan_dev.c 	struct net_device *real_dev = vlan_dev_priv(dev)->real_dev;
real_dev          360 net/8021q/vlan_dev.c 	const struct net_device_ops *ops = real_dev->netdev_ops;
real_dev          364 net/8021q/vlan_dev.c 	strncpy(ifrr.ifr_name, real_dev->name, IFNAMSIZ);
real_dev          376 net/8021q/vlan_dev.c 		if (netif_device_present(real_dev) && ops->ndo_do_ioctl)
real_dev          377 net/8021q/vlan_dev.c 			err = ops->ndo_do_ioctl(real_dev, &ifrr, cmd);
real_dev          389 net/8021q/vlan_dev.c 	struct net_device *real_dev = vlan_dev_priv(dev)->real_dev;
real_dev          390 net/8021q/vlan_dev.c 	const struct net_device_ops *ops = real_dev->netdev_ops;
real_dev          393 net/8021q/vlan_dev.c 	if (netif_device_present(real_dev) && ops->ndo_neigh_setup)
real_dev          394 net/8021q/vlan_dev.c 		err = ops->ndo_neigh_setup(real_dev, pa);
real_dev          403 net/8021q/vlan_dev.c 	struct net_device *real_dev = vlan_dev_priv(dev)->real_dev;
real_dev          404 net/8021q/vlan_dev.c 	const struct net_device_ops *ops = real_dev->netdev_ops;
real_dev          408 net/8021q/vlan_dev.c 		rc = ops->ndo_fcoe_ddp_setup(real_dev, xid, sgl, sgc);
real_dev          415 net/8021q/vlan_dev.c 	struct net_device *real_dev = vlan_dev_priv(dev)->real_dev;
real_dev          416 net/8021q/vlan_dev.c 	const struct net_device_ops *ops = real_dev->netdev_ops;
real_dev          420 net/8021q/vlan_dev.c 		len = ops->ndo_fcoe_ddp_done(real_dev, xid);
real_dev          427 net/8021q/vlan_dev.c 	struct net_device *real_dev = vlan_dev_priv(dev)->real_dev;
real_dev          428 net/8021q/vlan_dev.c 	const struct net_device_ops *ops = real_dev->netdev_ops;
real_dev          432 net/8021q/vlan_dev.c 		rc = ops->ndo_fcoe_enable(real_dev);
real_dev          438 net/8021q/vlan_dev.c 	struct net_device *real_dev = vlan_dev_priv(dev)->real_dev;
real_dev          439 net/8021q/vlan_dev.c 	const struct net_device_ops *ops = real_dev->netdev_ops;
real_dev          443 net/8021q/vlan_dev.c 		rc = ops->ndo_fcoe_disable(real_dev);
real_dev          450 net/8021q/vlan_dev.c 	struct net_device *real_dev = vlan_dev_priv(dev)->real_dev;
real_dev          451 net/8021q/vlan_dev.c 	const struct net_device_ops *ops = real_dev->netdev_ops;
real_dev          455 net/8021q/vlan_dev.c 		rc = ops->ndo_fcoe_ddp_target(real_dev, xid, sgl, sgc);
real_dev          464 net/8021q/vlan_dev.c 	struct net_device *real_dev = vlan_dev_priv(dev)->real_dev;
real_dev          465 net/8021q/vlan_dev.c 	const struct net_device_ops *ops = real_dev->netdev_ops;
real_dev          469 net/8021q/vlan_dev.c 		rc = ops->ndo_fcoe_get_wwn(real_dev, wwn, type);
real_dev          476 net/8021q/vlan_dev.c 	struct net_device *real_dev = vlan_dev_priv(dev)->real_dev;
real_dev          480 net/8021q/vlan_dev.c 			dev_set_allmulti(real_dev, dev->flags & IFF_ALLMULTI ? 1 : -1);
real_dev          482 net/8021q/vlan_dev.c 			dev_set_promiscuity(real_dev, dev->flags & IFF_PROMISC ? 1 : -1);
real_dev          488 net/8021q/vlan_dev.c 	dev_mc_sync(vlan_dev_priv(vlan_dev)->real_dev, vlan_dev);
real_dev          489 net/8021q/vlan_dev.c 	dev_uc_sync(vlan_dev_priv(vlan_dev)->real_dev, vlan_dev);
real_dev          503 net/8021q/vlan_dev.c 	struct net_device *real_dev = vlan->real_dev;
real_dev          508 net/8021q/vlan_dev.c 	return dev_hard_header(skb, real_dev, type, daddr, saddr, len);
real_dev          525 net/8021q/vlan_dev.c 	struct net_device *real_dev = vlan->real_dev;
real_dev          530 net/8021q/vlan_dev.c 	dev->flags  = real_dev->flags & ~(IFF_UP | IFF_PROMISC | IFF_ALLMULTI |
real_dev          532 net/8021q/vlan_dev.c 	dev->state  = (real_dev->state & ((1<<__LINK_STATE_NOCARRIER) |
real_dev          546 net/8021q/vlan_dev.c 	dev->gso_max_size = real_dev->gso_max_size;
real_dev          547 net/8021q/vlan_dev.c 	dev->gso_max_segs = real_dev->gso_max_segs;
real_dev          549 net/8021q/vlan_dev.c 		netdev_warn(real_dev, "VLAN features are set incorrectly.  Q-in-Q configurations may not work correctly.\n");
real_dev          551 net/8021q/vlan_dev.c 	dev->vlan_features = real_dev->vlan_features & ~NETIF_F_ALL_FCOE;
real_dev          552 net/8021q/vlan_dev.c 	dev->hw_enc_features = vlan_tnl_features(real_dev);
real_dev          553 net/8021q/vlan_dev.c 	dev->mpls_features = real_dev->mpls_features;
real_dev          556 net/8021q/vlan_dev.c 	dev->dev_id = real_dev->dev_id;
real_dev          559 net/8021q/vlan_dev.c 		ether_addr_copy(dev->dev_addr, real_dev->dev_addr);
real_dev          563 net/8021q/vlan_dev.c 		memcpy(dev->broadcast, real_dev->broadcast, dev->addr_len);
real_dev          566 net/8021q/vlan_dev.c 	dev->fcoe_ddp_xid = real_dev->fcoe_ddp_xid;
real_dev          569 net/8021q/vlan_dev.c 	dev->needed_headroom = real_dev->needed_headroom;
real_dev          570 net/8021q/vlan_dev.c 	if (vlan_hw_offload_capable(real_dev->features, vlan->vlan_proto)) {
real_dev          572 net/8021q/vlan_dev.c 		dev->hard_header_len = real_dev->hard_header_len;
real_dev          575 net/8021q/vlan_dev.c 		dev->hard_header_len = real_dev->hard_header_len + VLAN_HLEN;
real_dev          607 net/8021q/vlan_dev.c 	struct net_device *real_dev = vlan_dev_priv(dev)->real_dev;
real_dev          611 net/8021q/vlan_dev.c 	lower_features = netdev_intersect_features((real_dev->vlan_features |
real_dev          613 net/8021q/vlan_dev.c 						   real_dev->features);
real_dev          632 net/8021q/vlan_dev.c 	return __ethtool_get_link_ksettings(vlan->real_dev, cmd);
real_dev          647 net/8021q/vlan_dev.c 	const struct ethtool_ops *ops = vlan->real_dev->ethtool_ops;
real_dev          648 net/8021q/vlan_dev.c 	struct phy_device *phydev = vlan->real_dev->phydev;
real_dev          653 net/8021q/vlan_dev.c 		return ops->get_ts_info(vlan->real_dev, info);
real_dev          706 net/8021q/vlan_dev.c 	struct net_device *real_dev = vlan->real_dev;
real_dev          715 net/8021q/vlan_dev.c 	err = __netpoll_setup(netpoll, real_dev);
real_dev          742 net/8021q/vlan_dev.c 	struct net_device *real_dev = vlan_dev_priv(dev)->real_dev;
real_dev          744 net/8021q/vlan_dev.c 	return real_dev->ifindex;
real_dev           34 net/8021q/vlan_gvrp.c 	return garp_request_join(vlan->real_dev, &vlan_gvrp_app,
real_dev           45 net/8021q/vlan_gvrp.c 	garp_request_leave(vlan->real_dev, &vlan_gvrp_app,
real_dev           40 net/8021q/vlan_mvrp.c 	return mrp_request_join(vlan->real_dev, &vlan_mrp_app,
real_dev           51 net/8021q/vlan_mvrp.c 	mrp_request_leave(vlan->real_dev, &vlan_mrp_app,
real_dev          141 net/8021q/vlan_netlink.c 	struct net_device *real_dev;
real_dev          156 net/8021q/vlan_netlink.c 	real_dev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK]));
real_dev          157 net/8021q/vlan_netlink.c 	if (!real_dev) {
real_dev          169 net/8021q/vlan_netlink.c 	vlan->real_dev	 = real_dev;
real_dev          170 net/8021q/vlan_netlink.c 	dev->priv_flags |= (real_dev->priv_flags & IFF_XMIT_DST_RELEASE);
real_dev          173 net/8021q/vlan_netlink.c 	err = vlan_check_real_dev(real_dev, vlan->vlan_proto, vlan->vlan_id,
real_dev          178 net/8021q/vlan_netlink.c 	max_mtu = netif_reduces_vlan_mtu(real_dev) ? real_dev->mtu - VLAN_HLEN :
real_dev          179 net/8021q/vlan_netlink.c 						     real_dev->mtu;
real_dev          277 net/8021q/vlan_netlink.c 	struct net_device *real_dev = vlan_dev_priv(dev)->real_dev;
real_dev          279 net/8021q/vlan_netlink.c 	return dev_net(real_dev);
real_dev          236 net/8021q/vlanproc.c 			   vlan->vlan_id,    vlan->real_dev->name);
real_dev          265 net/8021q/vlanproc.c 	seq_printf(seq, "Device: %s", vlan->real_dev->name);