Home
last modified time | relevance | path

Searched refs:total_vqs (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/crypto/virtio/
H A Dvirtio_crypto_core.c107 int i, total_vqs; in virtcrypto_find_vqs() local
115 total_vqs = vi->max_data_queues + 1; in virtcrypto_find_vqs()
118 vqs = kzalloc_objs(*vqs, total_vqs); in virtcrypto_find_vqs()
121 vqs_info = kzalloc_objs(*vqs_info, total_vqs); in virtcrypto_find_vqs()
126 vqs_info[total_vqs - 1].callback = virtcrypto_ctrlq_callback; in virtcrypto_find_vqs()
127 vqs_info[total_vqs - 1].name = "controlq"; in virtcrypto_find_vqs()
137 ret = virtio_find_vqs(vi->vdev, total_vqs, vqs, vqs_info, NULL); in virtcrypto_find_vqs()
141 vi->ctrl_vq = vqs[total_vqs - 1]; in virtcrypto_find_vqs()
/linux/drivers/net/
H A Dvirtio_net.c6389 int total_vqs; in virtnet_find_vqs() local
6397 total_vqs = vi->max_queue_pairs * 2 + in virtnet_find_vqs()
6401 vqs = kzalloc_objs(*vqs, total_vqs); in virtnet_find_vqs()
6404 vqs_info = kzalloc_objs(*vqs_info, total_vqs); in virtnet_find_vqs()
6408 ctx = kzalloc_objs(*ctx, total_vqs); in virtnet_find_vqs()
6417 vqs_info[total_vqs - 1].name = "control"; in virtnet_find_vqs()
6432 ret = virtio_find_vqs(vi->vdev, total_vqs, vqs, vqs_info, NULL); in virtnet_find_vqs()
6437 vi->cvq = vqs[total_vqs - 1]; in virtnet_find_vqs()