Lines Matching defs:vhost_net
136 struct vhost_net {
285 static void vhost_net_clear_ubuf_info(struct vhost_net *n)
295 static int vhost_net_set_ubuf_info(struct vhost_net *n)
316 static void vhost_net_vq_reset(struct vhost_net *n)
333 static void vhost_net_tx_packet(struct vhost_net *net)
342 static void vhost_net_tx_err(struct vhost_net *net)
347 static bool vhost_net_tx_select_zcopy(struct vhost_net *net)
372 static void vhost_zerocopy_signal_used(struct vhost_net *net,
449 static void vhost_net_disable_vq(struct vhost_net *n,
460 static int vhost_net_enable_vq(struct vhost_net *n,
489 static void vhost_tx_batch(struct vhost_net *net,
544 static void vhost_net_busy_poll_try_queue(struct vhost_net *net,
555 static void vhost_net_busy_poll(struct vhost_net *net,
606 static int vhost_net_tx_get_vq_desc(struct vhost_net *net,
635 static bool vhost_exceeds_maxpend(struct vhost_net *net)
656 static int get_tx_bufs(struct vhost_net *net,
701 struct vhost_net *net = container_of(vq->dev, struct vhost_net,
770 static void handle_tx_copy(struct vhost_net *net, struct socket *sock)
873 static void handle_tx_zerocopy(struct vhost_net *net, struct socket *sock)
983 static void handle_tx(struct vhost_net *net)
1030 static int vhost_net_rx_peek_head_len(struct vhost_net *net, struct sock *sk,
1054 * @nvq - the relevant vhost_net virtqueue
1149 static void handle_rx(struct vhost_net *net)
1310 struct vhost_net *net = container_of(vq->dev, struct vhost_net, dev);
1319 struct vhost_net *net = container_of(vq->dev, struct vhost_net, dev);
1326 struct vhost_net *net = container_of(work, struct vhost_net,
1333 struct vhost_net *net = container_of(work, struct vhost_net,
1340 struct vhost_net *n;
1406 static struct socket *vhost_net_stop_vq(struct vhost_net *n,
1423 static void vhost_net_stop(struct vhost_net *n, struct socket **tx_sock,
1430 static void vhost_net_flush(struct vhost_net *n)
1448 struct vhost_net *n = f->private_data;
1544 static long vhost_net_set_backend(struct vhost_net *n, unsigned index, int fd)
1645 static long vhost_net_reset_owner(struct vhost_net *n)
1675 static int vhost_net_set_features(struct vhost_net *n, const u64 *features)
1728 static long vhost_net_set_owner(struct vhost_net *n)
1754 struct vhost_net *n = f->private_data;
1853 struct vhost_net *n = file->private_data;
1864 struct vhost_net *n = file->private_data;
1872 struct vhost_net *n = file->private_data;