Lines Matching refs:soft_iface
519 struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface);
743 struct net_device *soft_iface;
755 soft_iface = dev_get_by_index(net, ifindex);
756 if (!soft_iface || !batadv_softif_is_valid(soft_iface)) {
761 bat_priv = netdev_priv(soft_iface);
781 if (hardif->soft_iface != soft_iface) {
803 if (soft_iface)
804 dev_put(soft_iface);
1248 if (hard_iface->soft_iface != bat_priv->soft_iface)
1378 if (!hard_iface || !hard_iface->soft_iface) {
1383 bat_priv = netdev_priv(hard_iface->soft_iface);
1398 hard_iface->soft_iface->name, bat_priv->algo_ops->name);
1420 struct net_device *soft_iface;
1432 soft_iface = dev_get_by_index(net, ifindex);
1433 if (!soft_iface || !batadv_softif_is_valid(soft_iface)) {
1438 bat_priv = netdev_priv(soft_iface);
1458 if (hardif->soft_iface != soft_iface) {
1480 if (soft_iface)
1481 dev_put(soft_iface);