Lines Matching refs:gs4
643 struct geneve_sock *gs4 = rtnl_dereference(geneve->sock4); in geneve_sock_release() local
653 __geneve_sock_release(gs4); in geneve_sock_release()
804 struct geneve_sock *gs4, in geneve_get_v4_rt() argument
816 if (!gs4) in geneve_get_v4_rt()
920 struct geneve_sock *gs4 = rcu_dereference(geneve->sock4); in geneve_xmit_skb() local
934 rt = geneve_get_v4_rt(skb, dev, gs4, &fl4, info, in geneve_xmit_skb()
1007 udp_tunnel_xmit_skb(rt, gs4->sock->sk, skb, fl4.saddr, fl4.daddr, in geneve_xmit_skb()
1159 struct geneve_sock *gs4 = rcu_dereference(geneve->sock4); in geneve_fill_metadata_dst() local
1163 rt = geneve_get_v4_rt(skb, dev, gs4, &fl4, info, in geneve_fill_metadata_dst()
1716 static void geneve_quiesce(struct geneve_dev *geneve, struct geneve_sock **gs4, in geneve_quiesce() argument
1719 *gs4 = rtnl_dereference(geneve->sock4); in geneve_quiesce()
1721 if (*gs4) in geneve_quiesce()
1722 rcu_assign_sk_user_data((*gs4)->sock->sk, NULL); in geneve_quiesce()
1735 static void geneve_unquiesce(struct geneve_dev *geneve, struct geneve_sock *gs4, in geneve_unquiesce() argument
1738 rcu_assign_pointer(geneve->sock4, gs4); in geneve_unquiesce()
1739 if (gs4) in geneve_unquiesce()
1740 rcu_assign_sk_user_data(gs4->sock->sk, gs4); in geneve_unquiesce()
1754 struct geneve_sock *gs4, *gs6; in geneve_changelink() local
1775 geneve_quiesce(geneve, &gs4, &gs6); in geneve_changelink()
1777 geneve_unquiesce(geneve, gs4, gs6); in geneve_changelink()