Home
last modified time | relevance | path

Searched refs:tx_sock (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/vhost/
Dnet.c1143 static void vhost_net_stop(struct vhost_net *n, struct socket **tx_sock, in vhost_net_stop() argument
1146 *tx_sock = vhost_net_stop_vq(n, &n->vqs[VHOST_NET_VQ_TX].vq); in vhost_net_stop()
1176 struct socket *tx_sock; in vhost_net_release() local
1179 vhost_net_stop(n, &tx_sock, &rx_sock); in vhost_net_release()
1184 if (tx_sock) in vhost_net_release()
1185 sockfd_put(tx_sock); in vhost_net_release()
1378 struct socket *tx_sock = NULL; in vhost_net_reset_owner() local
1392 vhost_net_stop(n, &tx_sock, &rx_sock); in vhost_net_reset_owner()
1399 if (tx_sock) in vhost_net_reset_owner()
1400 sockfd_put(tx_sock); in vhost_net_reset_owner()