Lines Matching refs:vhost_net_virtqueue

108 struct vhost_net_virtqueue {  struct
134 struct vhost_net_virtqueue vqs[VHOST_NET_VQ_MAX]; argument
177 static int vhost_net_buf_produce(struct vhost_net_virtqueue *nvq) in vhost_net_buf_produce()
187 static void vhost_net_buf_unproduce(struct vhost_net_virtqueue *nvq) in vhost_net_buf_unproduce()
210 static int vhost_net_buf_peek(struct vhost_net_virtqueue *nvq) in vhost_net_buf_peek()
362 struct vhost_net_virtqueue *nvq = in vhost_zerocopy_signal_used()
363 container_of(vq, struct vhost_net_virtqueue, vq); in vhost_zerocopy_signal_used()
427 struct vhost_net_virtqueue *nvq = in vhost_net_disable_vq()
428 container_of(vq, struct vhost_net_virtqueue, vq); in vhost_net_disable_vq()
438 struct vhost_net_virtqueue *nvq = in vhost_net_enable_vq()
439 container_of(vq, struct vhost_net_virtqueue, vq); in vhost_net_enable_vq()
450 static void vhost_net_signal_used(struct vhost_net_virtqueue *nvq) in vhost_net_signal_used()
463 struct vhost_net_virtqueue *nvq, in vhost_tx_batch()
573 struct vhost_net_virtqueue *tnvq, in vhost_net_tx_get_vq_desc()
577 struct vhost_net_virtqueue *rnvq = &net->vqs[VHOST_NET_VQ_RX]; in vhost_net_tx_get_vq_desc()
602 struct vhost_net_virtqueue *nvq = &net->vqs[VHOST_NET_VQ_TX]; in vhost_exceeds_maxpend()
622 struct vhost_net_virtqueue *nvq, in get_tx_bufs()
695 static int vhost_net_build_xdp(struct vhost_net_virtqueue *nvq, in vhost_net_build_xdp()
771 struct vhost_net_virtqueue *nvq = &net->vqs[VHOST_NET_VQ_TX]; in handle_tx_copy()
861 struct vhost_net_virtqueue *nvq = &net->vqs[VHOST_NET_VQ_TX]; in handle_tx_zerocopy()
970 struct vhost_net_virtqueue *nvq = &net->vqs[VHOST_NET_VQ_TX]; in handle_tx()
994 static int peek_head_len(struct vhost_net_virtqueue *rvq, struct sock *sk) in peek_head_len()
1018 struct vhost_net_virtqueue *rnvq = &net->vqs[VHOST_NET_VQ_RX]; in vhost_net_rx_peek_head_len()
1019 struct vhost_net_virtqueue *tnvq = &net->vqs[VHOST_NET_VQ_TX]; in vhost_net_rx_peek_head_len()
1117 struct vhost_net_virtqueue *nvq = &net->vqs[VHOST_NET_VQ_RX]; in handle_rx()
1366 struct vhost_net_virtqueue *nvq = in vhost_net_stop_vq()
1367 container_of(vq, struct vhost_net_virtqueue, vq); in vhost_net_stop_vq()
1505 struct vhost_net_virtqueue *nvq; in vhost_net_set_backend()