Lines Matching refs:VHOST_NET_VQ_MAX
87 VHOST_NET_VQ_MAX = 2, enumerator
134 struct vhost_net_virtqueue vqs[VHOST_NET_VQ_MAX];
135 struct vhost_poll poll[VHOST_NET_VQ_MAX];
274 for (i = 0; i < VHOST_NET_VQ_MAX; ++i) { in vhost_net_clear_ubuf_info()
285 for (i = 0; i < VHOST_NET_VQ_MAX; ++i) { in vhost_net_set_ubuf_info()
309 for (i = 0; i < VHOST_NET_VQ_MAX; i++) { in vhost_net_vq_reset()
1305 vqs = kmalloc_array(VHOST_NET_VQ_MAX, sizeof(*vqs), GFP_KERNEL); in vhost_net_open()
1334 for (i = 0; i < VHOST_NET_VQ_MAX; i++) { in vhost_net_open()
1345 vhost_dev_init(dev, vqs, VHOST_NET_VQ_MAX, in vhost_net_open()
1514 if (index >= VHOST_NET_VQ_MAX) { in vhost_net_set_backend()
1660 for (i = 0; i < VHOST_NET_VQ_MAX; ++i) { in vhost_net_set_features()