Lines Matching refs:s_port
10 struct net_bridge_port *s_port, in br_mrp_is_ring_port() argument
14 port == s_port) in br_mrp_is_ring_port()
89 p = rtnl_dereference(mrp->s_port); in br_mrp_unique_ifindex()
110 rcu_access_pointer(mrp->s_port) == p || in br_mrp_find_port()
291 p = rcu_dereference(mrp->s_port); in br_mrp_test_work_expired()
356 p = rcu_dereference(mrp->s_port); in br_mrp_in_test_work_expired()
422 p = rtnl_dereference(mrp->s_port); in br_mrp_del_impl()
431 rcu_assign_pointer(mrp->s_port, NULL); in br_mrp_del_impl()
494 rcu_assign_pointer(mrp->s_port, p); in br_mrp_add()
588 rcu_assign_pointer(mrp->s_port, p); in br_mrp_set_port_role()
1018 struct net_bridge_port *p_port, *s_port, *i_port = NULL; in br_mrp_rcv() local
1037 s_port = rcu_dereference(mrp->s_port); in br_mrp_rcv()
1038 if (!s_port) in br_mrp_rcv()
1040 s_dst = s_port; in br_mrp_rcv()
1076 if (br_mrp_is_ring_port(p_port, s_port, p) && in br_mrp_rcv()
1086 br_mrp_is_ring_port(p_port, s_port, p) && in br_mrp_rcv()
1087 (s_port->state != BR_STATE_FORWARDING || in br_mrp_rcv()
1109 if (br_mrp_is_ring_port(p_port, s_port, in br_mrp_rcv()
1123 if (br_mrp_is_ring_port(p_port, s_port, p)) in br_mrp_rcv()
1141 if (br_mrp_is_ring_port(p_port, s_port, p) && in br_mrp_rcv()