Searched refs:backup_dev (Results 1 – 4 of 4) sorted by relevance
209 struct net_device *backup_dev = NULL; in store_backup_port() local216 backup_dev = __dev_get_by_name(dev_net(p->dev), buf); in store_backup_port()217 if (!backup_dev) in store_backup_port()221 return nbp_backup_change(p, backup_dev); in store_backup_port()
170 struct net_device *backup_dev) in nbp_backup_change() argument177 if (backup_dev) { in nbp_backup_change()178 if (!netif_is_bridge_port(backup_dev)) in nbp_backup_change()181 backup_p = br_port_get_rtnl(backup_dev); in nbp_backup_change()
886 struct net_device *backup_dev = NULL; in br_setport() local891 backup_dev = __dev_get_by_index(dev_net(p->dev), in br_setport()893 if (!backup_dev) in br_setport()897 err = nbp_backup_change(p, backup_dev); in br_setport()
752 int nbp_backup_change(struct net_bridge_port *p, struct net_device *backup_dev);