Lines Matching refs:soft_iface
522 struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface); in batadv_hardif_neigh_create()
743 struct net_device *soft_iface; in batadv_hardif_neigh_dump() local
755 soft_iface = dev_get_by_index(net, ifindex); in batadv_hardif_neigh_dump()
756 if (!soft_iface || !batadv_softif_is_valid(soft_iface)) { in batadv_hardif_neigh_dump()
761 bat_priv = netdev_priv(soft_iface); in batadv_hardif_neigh_dump()
781 if (hardif->soft_iface != soft_iface) { in batadv_hardif_neigh_dump()
803 if (soft_iface) in batadv_hardif_neigh_dump()
804 dev_put(soft_iface); in batadv_hardif_neigh_dump()
1266 if (hard_iface->soft_iface != bat_priv->soft_iface) in batadv_purge_orig_node()
1389 if (!hard_iface || !hard_iface->soft_iface) { in batadv_orig_hardif_seq_print_text()
1394 bat_priv = netdev_priv(hard_iface->soft_iface); in batadv_orig_hardif_seq_print_text()
1409 hard_iface->soft_iface->name, bat_priv->algo_ops->name); in batadv_orig_hardif_seq_print_text()
1431 struct net_device *soft_iface; in batadv_orig_dump() local
1443 soft_iface = dev_get_by_index(net, ifindex); in batadv_orig_dump()
1444 if (!soft_iface || !batadv_softif_is_valid(soft_iface)) { in batadv_orig_dump()
1449 bat_priv = netdev_priv(soft_iface); in batadv_orig_dump()
1469 if (hardif->soft_iface != soft_iface) { in batadv_orig_dump()
1491 if (soft_iface) in batadv_orig_dump()
1492 dev_put(soft_iface); in batadv_orig_dump()
1500 struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface); in batadv_orig_hash_add_if()
1535 struct batadv_priv *bat_priv = netdev_priv(hard_iface->soft_iface); in batadv_orig_hash_del_if()
1571 if (hard_iface->soft_iface != hard_iface_tmp->soft_iface) in batadv_orig_hash_del_if()