Lines Matching refs:total_vqs
5284 int total_vqs;
5292 total_vqs = vi->max_queue_pairs * 2 +
5296 vqs = kcalloc(total_vqs, sizeof(*vqs), GFP_KERNEL);
5299 callbacks = kmalloc_array(total_vqs, sizeof(*callbacks), GFP_KERNEL);
5302 names = kmalloc_array(total_vqs, sizeof(*names), GFP_KERNEL);
5306 ctx = kcalloc(total_vqs, sizeof(*ctx), GFP_KERNEL);
5315 callbacks[total_vqs - 1] = NULL;
5316 names[total_vqs - 1] = "control";
5331 ret = virtio_find_vqs_ctx(vi->vdev, total_vqs, vqs, callbacks,
5337 vi->cvq = vqs[total_vqs - 1];