Searched refs:tx_sock (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/vhost/ |
H A D | net.c | 1368 static void vhost_net_stop(struct vhost_net *n, struct socket **tx_sock, in vhost_net_stop() argument 1371 *tx_sock = vhost_net_stop_vq(n, &n->vqs[VHOST_NET_VQ_TX].vq); in vhost_net_stop() 1401 struct socket *tx_sock; in vhost_net_release() local 1404 vhost_net_stop(n, &tx_sock, &rx_sock); in vhost_net_release() 1409 if (tx_sock) in vhost_net_release() 1410 sockfd_put(tx_sock); in vhost_net_release() 1600 struct socket *tx_sock = NULL; in vhost_net_reset_owner() local 1614 vhost_net_stop(n, &tx_sock, &rx_sock); in vhost_net_reset_owner() 1621 if (tx_sock) in vhost_net_reset_owner() 1622 sockfd_put(tx_sock); in vhost_net_reset_owner() [all...] |
/kernel/linux/linux-6.6/drivers/vhost/ |
H A D | net.c | 1379 static void vhost_net_stop(struct vhost_net *n, struct socket **tx_sock, in vhost_net_stop() argument 1382 *tx_sock = vhost_net_stop_vq(n, &n->vqs[VHOST_NET_VQ_TX].vq); in vhost_net_stop() 1405 struct socket *tx_sock; in vhost_net_release() local 1408 vhost_net_stop(n, &tx_sock, &rx_sock); in vhost_net_release() 1413 if (tx_sock) in vhost_net_release() 1414 sockfd_put(tx_sock); in vhost_net_release() 1604 struct socket *tx_sock = NULL; in vhost_net_reset_owner() local 1618 vhost_net_stop(n, &tx_sock, &rx_sock); in vhost_net_reset_owner() 1625 if (tx_sock) in vhost_net_reset_owner() 1626 sockfd_put(tx_sock); in vhost_net_reset_owner() [all...] |
Completed in 6 milliseconds