Home
last modified time | relevance | path

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

/net/bridge/
Dbr_if.c174 struct net_bridge_port *backup_p = NULL; in nbp_backup_change() local
182 backup_p = br_port_get_rtnl(backup_dev); in nbp_backup_change()
183 if (backup_p->br != p->br) in nbp_backup_change()
187 if (p == backup_p) in nbp_backup_change()
190 if (old_backup == backup_p) in nbp_backup_change()
197 if (backup_p) in nbp_backup_change()
198 backup_p->backup_redirected_cnt++; in nbp_backup_change()
199 rcu_assign_pointer(p->backup_port, backup_p); in nbp_backup_change()
211 struct net_bridge_port *backup_p; in nbp_backup_clear() local
213 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.c228 struct net_bridge_port *backup_p; in br_port_fill_attrs() local
300 backup_p = rcu_dereference(p->backup_port); in br_port_fill_attrs()
301 if (backup_p) in br_port_fill_attrs()
303 backup_p->dev->ifindex); in br_port_fill_attrs()