Lines Matching refs:vhost_net_virtqueue

108 struct vhost_net_virtqueue {  struct
134 struct vhost_net_virtqueue vqs[VHOST_NET_VQ_MAX]; argument
175 static int vhost_net_buf_produce(struct vhost_net_virtqueue *nvq) in vhost_net_buf_produce()
185 static void vhost_net_buf_unproduce(struct vhost_net_virtqueue *nvq) in vhost_net_buf_unproduce()
208 static int vhost_net_buf_peek(struct vhost_net_virtqueue *nvq) in vhost_net_buf_peek()
360 struct vhost_net_virtqueue *nvq = in vhost_zerocopy_signal_used()
361 container_of(vq, struct vhost_net_virtqueue, vq); in vhost_zerocopy_signal_used()
429 struct vhost_net_virtqueue *nvq = in vhost_net_disable_vq()
430 container_of(vq, struct vhost_net_virtqueue, vq); in vhost_net_disable_vq()
440 struct vhost_net_virtqueue *nvq = in vhost_net_enable_vq()
441 container_of(vq, struct vhost_net_virtqueue, vq); in vhost_net_enable_vq()
452 static void vhost_net_signal_used(struct vhost_net_virtqueue *nvq) in vhost_net_signal_used()
465 struct vhost_net_virtqueue *nvq, in vhost_tx_batch()
575 struct vhost_net_virtqueue *tnvq, in vhost_net_tx_get_vq_desc()
579 struct vhost_net_virtqueue *rnvq = &net->vqs[VHOST_NET_VQ_RX]; in vhost_net_tx_get_vq_desc()
604 struct vhost_net_virtqueue *nvq = &net->vqs[VHOST_NET_VQ_TX]; in vhost_exceeds_maxpend()
624 struct vhost_net_virtqueue *nvq, in get_tx_bufs()
662 static int vhost_net_build_xdp(struct vhost_net_virtqueue *nvq, in vhost_net_build_xdp()
743 struct vhost_net_virtqueue *nvq = &net->vqs[VHOST_NET_VQ_TX]; in handle_tx_copy()
833 struct vhost_net_virtqueue *nvq = &net->vqs[VHOST_NET_VQ_TX]; in handle_tx_zerocopy()
942 struct vhost_net_virtqueue *nvq = &net->vqs[VHOST_NET_VQ_TX]; in handle_tx()
966 static int peek_head_len(struct vhost_net_virtqueue *rvq, struct sock *sk) in peek_head_len()
990 struct vhost_net_virtqueue *rnvq = &net->vqs[VHOST_NET_VQ_RX]; in vhost_net_rx_peek_head_len()
991 struct vhost_net_virtqueue *tnvq = &net->vqs[VHOST_NET_VQ_TX]; in vhost_net_rx_peek_head_len()
1089 struct vhost_net_virtqueue *nvq = &net->vqs[VHOST_NET_VQ_RX]; in handle_rx()
1337 struct vhost_net_virtqueue *nvq = in vhost_net_stop_vq()
1338 container_of(vq, struct vhost_net_virtqueue, vq); in vhost_net_stop_vq()
1475 struct vhost_net_virtqueue *nvq; in vhost_net_set_backend()