Lines Matching refs:s_port
17 struct net_bridge_port *s_port, in br_mrp_is_ring_port() argument
21 port == s_port) in br_mrp_is_ring_port()
96 p = rtnl_dereference(mrp->s_port); in br_mrp_unique_ifindex()
117 rcu_access_pointer(mrp->s_port) == p || in br_mrp_find_port()
325 p = rcu_dereference(mrp->s_port); in br_mrp_test_work_expired()
390 p = rcu_dereference(mrp->s_port); in br_mrp_in_test_work_expired()
463 p = rtnl_dereference(mrp->s_port); in br_mrp_del_impl()
472 rcu_assign_pointer(mrp->s_port, NULL); in br_mrp_del_impl()
538 rcu_assign_pointer(mrp->s_port, p); in br_mrp_add()
635 rcu_assign_pointer(mrp->s_port, p); in br_mrp_set_port_role()
1077 struct net_bridge_port *p_port, *s_port, *i_port = NULL; in br_mrp_rcv() local
1096 s_port = rcu_dereference(mrp->s_port); in br_mrp_rcv()
1097 if (!s_port) in br_mrp_rcv()
1099 s_dst = s_port; in br_mrp_rcv()
1135 if (br_mrp_is_ring_port(p_port, s_port, p) && in br_mrp_rcv()
1145 br_mrp_is_ring_port(p_port, s_port, p) && in br_mrp_rcv()
1146 (s_port->state != BR_STATE_FORWARDING || in br_mrp_rcv()
1168 if (br_mrp_is_ring_port(p_port, s_port, in br_mrp_rcv()
1182 if (br_mrp_is_ring_port(p_port, s_port, p)) in br_mrp_rcv()
1200 if (br_mrp_is_ring_port(p_port, s_port, p) && in br_mrp_rcv()
1210 if (br_mrp_is_ring_port(p_port, s_port, p) && in br_mrp_rcv()