Home
last modified time | relevance | path

Searched refs:backup_dev (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/net/bridge/
Dbr_sysfs_if.c216 struct net_device *backup_dev = NULL; in store_backup_port() local
223 backup_dev = __dev_get_by_name(dev_net(p->dev), buf); in store_backup_port()
224 if (!backup_dev) in store_backup_port()
228 return nbp_backup_change(p, backup_dev); in store_backup_port()
Dbr_if.c179 struct net_device *backup_dev) in nbp_backup_change() argument
186 if (backup_dev) { in nbp_backup_change()
187 if (!netif_is_bridge_port(backup_dev)) in nbp_backup_change()
190 backup_p = br_port_get_rtnl(backup_dev); in nbp_backup_change()
Dbr_netlink.c1010 struct net_device *backup_dev = NULL; in br_setport() local
1015 backup_dev = __dev_get_by_index(dev_net(p->dev), in br_setport()
1017 if (!backup_dev) in br_setport()
1021 err = nbp_backup_change(p, backup_dev); in br_setport()
Dbr_private.h853 int nbp_backup_change(struct net_bridge_port *p, struct net_device *backup_dev);