Lines Matching refs:real_netdev
219 struct net_device *real_netdev = NULL; in batadv_get_real_netdevice() local
244 real_netdev = netdev; in batadv_get_real_netdevice()
245 dev_hold(real_netdev); in batadv_get_real_netdevice()
249 real_netdev = dev_get_by_index(real_net, iflink); in batadv_get_real_netdevice()
254 return real_netdev; in batadv_get_real_netdevice()
267 struct net_device *real_netdev; in batadv_get_real_netdev() local
270 real_netdev = batadv_get_real_netdevice(net_device); in batadv_get_real_netdev()
273 return real_netdev; in batadv_get_real_netdev()
329 struct net_device *real_netdev; in batadv_wifi_flags_evaluate() local
337 real_netdev = batadv_get_real_netdevice(net_device); in batadv_wifi_flags_evaluate()
338 if (!real_netdev) in batadv_wifi_flags_evaluate()
341 if (real_netdev == net_device) in batadv_wifi_flags_evaluate()
344 if (batadv_is_wext_netdev(real_netdev)) in batadv_wifi_flags_evaluate()
347 if (batadv_is_cfg80211_netdev(real_netdev)) in batadv_wifi_flags_evaluate()
351 dev_put(real_netdev); in batadv_wifi_flags_evaluate()