Lines Matching refs:p_port
16 static bool br_mrp_is_ring_port(struct net_bridge_port *p_port, in br_mrp_is_ring_port() argument
20 if (port == p_port || in br_mrp_is_ring_port()
92 p = rtnl_dereference(mrp->p_port); in br_mrp_unique_ifindex()
116 if (rcu_access_pointer(mrp->p_port) == p || in br_mrp_find_port()
309 p = rcu_dereference(mrp->p_port); in br_mrp_test_work_expired()
376 p = rcu_dereference(mrp->p_port); in br_mrp_in_test_work_expired()
451 p = rtnl_dereference(mrp->p_port); in br_mrp_del_impl()
460 rcu_assign_pointer(mrp->p_port, NULL); in br_mrp_del_impl()
531 rcu_assign_pointer(mrp->p_port, p); in br_mrp_add()
632 rcu_assign_pointer(mrp->p_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
1091 p_port = rcu_dereference(mrp->p_port); in br_mrp_rcv()
1092 if (!p_port) in br_mrp_rcv()
1094 p_dst = p_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()
1147 p_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()