Home
last modified time | relevance | path

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

/dports/multimedia/libv4l/linux-5.13-rc2/drivers/crypto/virtio/
H A Dvirtio_crypto_core.c53 int i, total_vqs; in virtcrypto_find_vqs() local
62 total_vqs = vi->max_data_queues + 1; in virtcrypto_find_vqs()
65 vqs = kcalloc(total_vqs, sizeof(*vqs), GFP_KERNEL); in virtcrypto_find_vqs()
68 callbacks = kcalloc(total_vqs, sizeof(*callbacks), GFP_KERNEL); in virtcrypto_find_vqs()
71 names = kcalloc(total_vqs, sizeof(*names), GFP_KERNEL); in virtcrypto_find_vqs()
76 callbacks[total_vqs - 1] = NULL; in virtcrypto_find_vqs()
77 names[total_vqs - 1] = "controlq"; in virtcrypto_find_vqs()
87 ret = virtio_find_vqs(vi->vdev, total_vqs, vqs, callbacks, names, NULL); in virtcrypto_find_vqs()
91 vi->ctrl_vq = vqs[total_vqs - 1]; in virtcrypto_find_vqs()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/crypto/virtio/
H A Dvirtio_crypto_core.c53 int i, total_vqs; in virtcrypto_find_vqs() local
62 total_vqs = vi->max_data_queues + 1; in virtcrypto_find_vqs()
65 vqs = kcalloc(total_vqs, sizeof(*vqs), GFP_KERNEL); in virtcrypto_find_vqs()
68 callbacks = kcalloc(total_vqs, sizeof(*callbacks), GFP_KERNEL); in virtcrypto_find_vqs()
71 names = kcalloc(total_vqs, sizeof(*names), GFP_KERNEL); in virtcrypto_find_vqs()
76 callbacks[total_vqs - 1] = NULL; in virtcrypto_find_vqs()
77 names[total_vqs - 1] = "controlq"; in virtcrypto_find_vqs()
87 ret = virtio_find_vqs(vi->vdev, total_vqs, vqs, callbacks, names, NULL); in virtcrypto_find_vqs()
91 vi->ctrl_vq = vqs[total_vqs - 1]; in virtcrypto_find_vqs()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/crypto/virtio/
H A Dvirtio_crypto_core.c53 int i, total_vqs; in virtcrypto_find_vqs() local
62 total_vqs = vi->max_data_queues + 1; in virtcrypto_find_vqs()
65 vqs = kcalloc(total_vqs, sizeof(*vqs), GFP_KERNEL); in virtcrypto_find_vqs()
68 callbacks = kcalloc(total_vqs, sizeof(*callbacks), GFP_KERNEL); in virtcrypto_find_vqs()
71 names = kcalloc(total_vqs, sizeof(*names), GFP_KERNEL); in virtcrypto_find_vqs()
76 callbacks[total_vqs - 1] = NULL; in virtcrypto_find_vqs()
77 names[total_vqs - 1] = "controlq"; in virtcrypto_find_vqs()
87 ret = virtio_find_vqs(vi->vdev, total_vqs, vqs, callbacks, names, NULL); in virtcrypto_find_vqs()
91 vi->ctrl_vq = vqs[total_vqs - 1]; in virtcrypto_find_vqs()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/
H A Dvirtio_net.c2790 int i, total_vqs; in virtnet_find_vqs() local
2798 total_vqs = vi->max_queue_pairs * 2 + in virtnet_find_vqs()
2802 vqs = kcalloc(total_vqs, sizeof(*vqs), GFP_KERNEL); in virtnet_find_vqs()
2805 callbacks = kmalloc_array(total_vqs, sizeof(*callbacks), GFP_KERNEL); in virtnet_find_vqs()
2808 names = kmalloc_array(total_vqs, sizeof(*names), GFP_KERNEL); in virtnet_find_vqs()
2812 ctx = kcalloc(total_vqs, sizeof(*ctx), GFP_KERNEL); in virtnet_find_vqs()
2821 callbacks[total_vqs - 1] = NULL; in virtnet_find_vqs()
2822 names[total_vqs - 1] = "control"; in virtnet_find_vqs()
2837 ret = vi->vdev->config->find_vqs(vi->vdev, total_vqs, vqs, callbacks, in virtnet_find_vqs()
2843 vi->cvq = vqs[total_vqs - 1]; in virtnet_find_vqs()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/
H A Dvirtio_net.c2790 int i, total_vqs; in virtnet_find_vqs() local
2798 total_vqs = vi->max_queue_pairs * 2 + in virtnet_find_vqs()
2802 vqs = kcalloc(total_vqs, sizeof(*vqs), GFP_KERNEL); in virtnet_find_vqs()
2805 callbacks = kmalloc_array(total_vqs, sizeof(*callbacks), GFP_KERNEL); in virtnet_find_vqs()
2808 names = kmalloc_array(total_vqs, sizeof(*names), GFP_KERNEL); in virtnet_find_vqs()
2812 ctx = kcalloc(total_vqs, sizeof(*ctx), GFP_KERNEL); in virtnet_find_vqs()
2821 callbacks[total_vqs - 1] = NULL; in virtnet_find_vqs()
2822 names[total_vqs - 1] = "control"; in virtnet_find_vqs()
2837 ret = vi->vdev->config->find_vqs(vi->vdev, total_vqs, vqs, callbacks, in virtnet_find_vqs()
2843 vi->cvq = vqs[total_vqs - 1]; in virtnet_find_vqs()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/
H A Dvirtio_net.c2790 int i, total_vqs; in virtnet_find_vqs() local
2798 total_vqs = vi->max_queue_pairs * 2 + in virtnet_find_vqs()
2802 vqs = kcalloc(total_vqs, sizeof(*vqs), GFP_KERNEL); in virtnet_find_vqs()
2805 callbacks = kmalloc_array(total_vqs, sizeof(*callbacks), GFP_KERNEL); in virtnet_find_vqs()
2808 names = kmalloc_array(total_vqs, sizeof(*names), GFP_KERNEL); in virtnet_find_vqs()
2812 ctx = kcalloc(total_vqs, sizeof(*ctx), GFP_KERNEL); in virtnet_find_vqs()
2821 callbacks[total_vqs - 1] = NULL; in virtnet_find_vqs()
2822 names[total_vqs - 1] = "control"; in virtnet_find_vqs()
2837 ret = vi->vdev->config->find_vqs(vi->vdev, total_vqs, vqs, callbacks, in virtnet_find_vqs()
2843 vi->cvq = vqs[total_vqs - 1]; in virtnet_find_vqs()