Lines Matching refs:i_port
27 static bool br_mrp_is_in_port(struct net_bridge_port *i_port, in br_mrp_is_in_port() argument
30 if (port == i_port) in br_mrp_is_in_port()
100 p = rtnl_dereference(mrp->i_port); in br_mrp_unique_ifindex()
118 rcu_access_pointer(mrp->i_port) == p) { in br_mrp_find_port()
404 p = rcu_dereference(mrp->i_port); in br_mrp_in_test_work_expired()
443 p = rtnl_dereference(mrp->i_port); in br_mrp_del_impl()
475 p = rtnl_dereference(mrp->i_port); in br_mrp_del_impl()
484 rcu_assign_pointer(mrp->i_port, NULL); in br_mrp_del_impl()
774 p = rtnl_dereference(mrp->i_port); in br_mrp_set_in_role()
790 rcu_assign_pointer(mrp->i_port, NULL); in br_mrp_set_in_role()
806 if (rcu_access_pointer(mrp->i_port)) in br_mrp_set_in_role()
814 rcu_assign_pointer(mrp->i_port, p); in br_mrp_set_in_role()
1077 struct net_bridge_port *p_port, *s_port, *i_port = NULL; in br_mrp_rcv() local
1129 i_port = rcu_dereference(mrp->i_port); in br_mrp_rcv()
1130 i_dst = i_port; in br_mrp_rcv()
1172 if (br_mrp_is_in_port(i_port, p)) in br_mrp_rcv()
1185 if (br_mrp_is_in_port(i_port, p)) in br_mrp_rcv()