Searched refs:tx_sock (Results 1 – 1 of 1) sorted by relevance
1356 static void vhost_net_stop(struct vhost_net *n, struct socket **tx_sock, in vhost_net_stop() argument1359 *tx_sock = vhost_net_stop_vq(n, &n->vqs[VHOST_NET_VQ_TX].vq); in vhost_net_stop()1389 struct socket *tx_sock; in vhost_net_release() local1392 vhost_net_stop(n, &tx_sock, &rx_sock); in vhost_net_release()1397 if (tx_sock) in vhost_net_release()1398 sockfd_put(tx_sock); in vhost_net_release()1594 struct socket *tx_sock = NULL; in vhost_net_reset_owner() local1608 vhost_net_stop(n, &tx_sock, &rx_sock); in vhost_net_reset_owner()1615 if (tx_sock) in vhost_net_reset_owner()1616 sockfd_put(tx_sock); in vhost_net_reset_owner()