Lines Matching refs:p
53 const struct net_bridge_port *p = NULL; in br_mst_get_state() local
59 p = br_port_get_check_rtnl(dev); in br_mst_get_state()
60 if (!p || !br_opt_get(p->br, BROPT_MST_ENABLED)) in br_mst_get_state()
63 vg = nbp_vlan_group(p); in br_mst_get_state()
89 int br_mst_set_state(struct net_bridge_port *p, u16 msti, u8 state, in br_mst_set_state() argument
94 .orig_dev = p->dev, in br_mst_set_state()
105 vg = nbp_vlan_group_rcu(p); in br_mst_set_state()
113 err = switchdev_port_attr_set(p->dev, &attr, extack); in br_mst_set_state()
163 struct net_bridge_port *p; in br_mst_vlan_set_msti() local
175 list_for_each_entry(p, &mv->br->port_list, list) { in br_mst_vlan_set_msti()
176 vg = nbp_vlan_group(p); in br_mst_vlan_set_msti()
206 struct net_bridge_port *p; in br_mst_set_enabled() local
209 list_for_each_entry(p, &br->port_list, list) { in br_mst_set_enabled()
210 vg = nbp_vlan_group(p); in br_mst_set_enabled()
298 static int br_mst_process_one(struct net_bridge_port *p, in br_mst_process_one() argument
325 return br_mst_set_state(p, msti, state, extack); in br_mst_process_one()
328 int br_mst_process(struct net_bridge_port *p, const struct nlattr *mst_attr, in br_mst_process() argument
335 if (!br_opt_get(p->br, BROPT_MST_ENABLED)) { in br_mst_process()
343 err = br_mst_process_one(p, attr, extack); in br_mst_process()