Lines Matching refs:vhost_net
132 struct vhost_net { struct
268 static void vhost_net_clear_ubuf_info(struct vhost_net *n) in vhost_net_clear_ubuf_info()
278 static int vhost_net_set_ubuf_info(struct vhost_net *n) in vhost_net_set_ubuf_info()
301 static void vhost_net_vq_reset(struct vhost_net *n) in vhost_net_vq_reset()
318 static void vhost_net_tx_packet(struct vhost_net *net) in vhost_net_tx_packet()
327 static void vhost_net_tx_err(struct vhost_net *net) in vhost_net_tx_err()
332 static bool vhost_net_tx_select_zcopy(struct vhost_net *net) in vhost_net_tx_select_zcopy()
357 static void vhost_zerocopy_signal_used(struct vhost_net *net, in vhost_zerocopy_signal_used()
426 static void vhost_net_disable_vq(struct vhost_net *n, in vhost_net_disable_vq()
437 static int vhost_net_enable_vq(struct vhost_net *n, in vhost_net_enable_vq()
464 static void vhost_tx_batch(struct vhost_net *net, in vhost_tx_batch()
512 static void vhost_net_busy_poll_try_queue(struct vhost_net *net, in vhost_net_busy_poll_try_queue()
523 static void vhost_net_busy_poll(struct vhost_net *net, in vhost_net_busy_poll()
574 static int vhost_net_tx_get_vq_desc(struct vhost_net *net, in vhost_net_tx_get_vq_desc()
602 static bool vhost_exceeds_maxpend(struct vhost_net *net) in vhost_exceeds_maxpend()
623 static int get_tx_bufs(struct vhost_net *net, in get_tx_bufs()
666 struct vhost_net *net = container_of(vq->dev, struct vhost_net, in vhost_net_build_xdp()
741 static void handle_tx_copy(struct vhost_net *net, struct socket *sock) in handle_tx_copy()
831 static void handle_tx_zerocopy(struct vhost_net *net, struct socket *sock) in handle_tx_zerocopy()
940 static void handle_tx(struct vhost_net *net) in handle_tx()
987 static int vhost_net_rx_peek_head_len(struct vhost_net *net, struct sock *sk, in vhost_net_rx_peek_head_len()
1087 static void handle_rx(struct vhost_net *net) in handle_rx()
1240 struct vhost_net *net = container_of(vq->dev, struct vhost_net, dev); in handle_tx_kick()
1249 struct vhost_net *net = container_of(vq->dev, struct vhost_net, dev); in handle_rx_kick()
1256 struct vhost_net *net = container_of(work, struct vhost_net, in handle_tx_net()
1263 struct vhost_net *net = container_of(work, struct vhost_net, in handle_rx_net()
1270 struct vhost_net *n; in vhost_net_open()
1336 static struct socket *vhost_net_stop_vq(struct vhost_net *n, in vhost_net_stop_vq()
1353 static void vhost_net_stop(struct vhost_net *n, struct socket **tx_sock, in vhost_net_stop()
1360 static void vhost_net_flush(struct vhost_net *n) in vhost_net_flush()
1378 struct vhost_net *n = f->private_data; in vhost_net_release()
1474 static long vhost_net_set_backend(struct vhost_net *n, unsigned index, int fd) in vhost_net_set_backend()
1575 static long vhost_net_reset_owner(struct vhost_net *n) in vhost_net_reset_owner()
1605 static int vhost_net_set_features(struct vhost_net *n, u64 features) in vhost_net_set_features()
1648 static long vhost_net_set_owner(struct vhost_net *n) in vhost_net_set_owner()
1672 struct vhost_net *n = f->private_data; in vhost_net_ioctl()
1726 struct vhost_net *n = file->private_data; in vhost_net_chr_read_iter()
1737 struct vhost_net *n = file->private_data; in vhost_net_chr_write_iter()
1745 struct vhost_net *n = file->private_data; in vhost_net_chr_poll()