Home
last modified time | relevance | path

Searched refs:backup_p (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/net/bridge/
Dbr_if.c182 struct net_bridge_port *backup_p = NULL; in nbp_backup_change() local
190 backup_p = br_port_get_rtnl(backup_dev); in nbp_backup_change()
191 if (backup_p->br != p->br) in nbp_backup_change()
195 if (p == backup_p) in nbp_backup_change()
198 if (old_backup == backup_p) in nbp_backup_change()
205 if (backup_p) in nbp_backup_change()
206 backup_p->backup_redirected_cnt++; in nbp_backup_change()
207 rcu_assign_pointer(p->backup_port, backup_p); in nbp_backup_change()
219 struct net_bridge_port *backup_p; in nbp_backup_clear() local
221 backup_p = rtnl_dereference(cur_p->backup_port); in nbp_backup_clear()
[all …]
Dbr_sysfs_if.c202 struct net_bridge_port *backup_p; in show_backup_port() local
206 backup_p = rcu_dereference(p->backup_port); in show_backup_port()
207 if (backup_p) in show_backup_port()
208 ret = sprintf(buf, "%s\n", backup_p->dev->name); in show_backup_port()
Dbr_netlink.c232 struct net_bridge_port *backup_p; in br_port_fill_attrs() local
305 backup_p = rcu_dereference(p->backup_port); in br_port_fill_attrs()
306 if (backup_p) in br_port_fill_attrs()
308 backup_p->dev->ifindex); in br_port_fill_attrs()