Lines Matching refs:poll
134 struct vhost_poll poll[VHOST_NET_VQ_MAX]; member
406 vhost_poll_queue(&vq->poll); in vhost_zerocopy_callback()
427 struct vhost_poll *poll = n->poll + (nvq - n->vqs); in vhost_net_disable_vq() local
430 vhost_poll_stop(poll); in vhost_net_disable_vq()
438 struct vhost_poll *poll = n->poll + (nvq - n->vqs); in vhost_net_enable_vq() local
445 return vhost_poll_start(poll, sock->file); in vhost_net_enable_vq()
512 vhost_poll_queue(&vq->poll); in vhost_net_busy_poll_try_queue()
515 vhost_poll_queue(&vq->poll); in vhost_net_busy_poll_try_queue()
799 vhost_poll_queue(&vq->poll); in handle_tx_copy()
893 vhost_poll_queue(&vq->poll); in handle_tx_zerocopy()
1175 vhost_poll_queue(&vq->poll); in handle_rx()
1251 vhost_poll_queue(&vq->poll); in handle_rx()
1262 poll.work); in handle_tx_kick()
1271 poll.work); in handle_rx_kick()
1280 poll[VHOST_NET_VQ_TX].work); in handle_tx_net()
1287 poll[VHOST_NET_VQ_RX].work); in handle_rx_net()
1348 vhost_poll_init(n->poll + VHOST_NET_VQ_TX, handle_tx_net, EPOLLOUT, dev); in vhost_net_open()
1349 vhost_poll_init(n->poll + VHOST_NET_VQ_RX, handle_rx_net, EPOLLIN, dev); in vhost_net_open()
1384 vhost_poll_flush(n->poll + index); in vhost_net_flush_vq()
1385 vhost_poll_flush(&n->vqs[index].vq.poll); in vhost_net_flush_vq()
1786 .poll = vhost_net_chr_poll,