Searched refs:backup_p (Results 1 – 3 of 3) sorted by relevance
182 struct net_bridge_port *backup_p = NULL; in nbp_backup_change() local190 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() local221 backup_p = rtnl_dereference(cur_p->backup_port); in nbp_backup_clear()[all …]
202 struct net_bridge_port *backup_p; in show_backup_port() local206 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()
232 struct net_bridge_port *backup_p; in br_port_fill_attrs() local305 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()