Lines Matching refs:gs4
638 struct geneve_sock *gs4 = rtnl_dereference(geneve->sock4); in geneve_sock_release() local
648 __geneve_sock_release(gs4); in geneve_sock_release()
820 struct geneve_sock *gs4 = rcu_dereference(geneve->sock4); in geneve_xmit_skb() local
833 if (!gs4) in geneve_xmit_skb()
916 udp_tunnel_xmit_skb(rt, gs4->sock->sk, skb, saddr, info->key.u.ipv4.dst, in geneve_xmit_skb()
1076 struct geneve_sock *gs4 = rcu_dereference(geneve->sock4); in geneve_fill_metadata_dst() local
1081 if (!gs4) in geneve_fill_metadata_dst()
1655 static void geneve_quiesce(struct geneve_dev *geneve, struct geneve_sock **gs4, in geneve_quiesce() argument
1658 *gs4 = rtnl_dereference(geneve->sock4); in geneve_quiesce()
1660 if (*gs4) in geneve_quiesce()
1661 rcu_assign_sk_user_data((*gs4)->sock->sk, NULL); in geneve_quiesce()
1674 static void geneve_unquiesce(struct geneve_dev *geneve, struct geneve_sock *gs4, in geneve_unquiesce() argument
1677 rcu_assign_pointer(geneve->sock4, gs4); in geneve_unquiesce()
1678 if (gs4) in geneve_unquiesce()
1679 rcu_assign_sk_user_data(gs4->sock->sk, gs4); in geneve_unquiesce()
1693 struct geneve_sock *gs4, *gs6; in geneve_changelink() local
1714 geneve_quiesce(geneve, &gs4, &gs6); in geneve_changelink()
1716 geneve_unquiesce(geneve, gs4, gs6); in geneve_changelink()