Lines Matching refs:p

33 	struct net_bridge_port *p;  in br_device_event()  local
55 p = br_port_get_rtnl(dev); in br_device_event()
56 if (!p) in br_device_event()
59 br = p->br; in br_device_event()
79 br_fdb_changeaddr(p, dev->dev_addr); in br_device_event()
89 br_port_carrier_check(p, &notified); in br_device_event()
99 br_stp_disable_port(p); in br_device_event()
108 br_stp_enable_port(p); in br_device_event()
119 err = br_sysfs_renameif(p); in br_device_event()
135 br_vlan_port_event(p, event); in br_device_event()
140 br_ifinfo_notify(RTM_NEWLINK, NULL, p); in br_device_event()
154 struct net_bridge_port *p; in br_switchdev_event() local
159 p = br_port_get_rtnl_rcu(dev); in br_switchdev_event()
160 if (!p) in br_switchdev_event()
163 br = p->br; in br_switchdev_event()
168 err = br_fdb_external_learn_add(br, p, fdb_info->addr, in br_switchdev_event()
175 br_fdb_offloaded_set(br, p, fdb_info->addr, in br_switchdev_event()
180 err = br_fdb_external_learn_del(br, p, fdb_info->addr, in br_switchdev_event()
187 br_fdb_offloaded_set(br, p, fdb_info->addr, in br_switchdev_event()
193 br_fdb_delete_by_port(br, p, fdb_info->vid, 0); in br_switchdev_event()
213 struct net_bridge_port *p; in br_switchdev_blocking_event() local
216 p = br_port_get_rtnl(dev); in br_switchdev_blocking_event()
217 if (!p) in br_switchdev_blocking_event()
225 err = br_switchdev_port_offload(p, b->dev, b->ctx, in br_switchdev_blocking_event()
234 br_switchdev_port_unoffload(p, b->ctx, b->atomic_nb, in br_switchdev_blocking_event()
241 err = br_switchdev_port_replay(p, b->dev, b->ctx, b->atomic_nb, in br_switchdev_blocking_event()