Home
last modified time | relevance | path

Searched refs:vhost_crypto (Results 1 – 5 of 5) sorted by relevance

/openbmc/qemu/backends/
H A Dcryptodev-vhost.c122 CryptoDevBackendVhost *vhost_crypto = NULL; in cryptodev_get_vhost() local
131 vhost_crypto = cryptodev_vhost_user_get_vhost(cc, b, queue); in cryptodev_get_vhost()
138 return vhost_crypto; in cryptodev_get_vhost()
180 CryptoDevBackendVhost *vhost_crypto; in cryptodev_vhost_start() local
191 vhost_crypto = cryptodev_get_vhost(cc, b, i); in cryptodev_vhost_start()
192 cryptodev_vhost_set_vq_index(vhost_crypto, i); in cryptodev_vhost_start()
212 vhost_crypto = cryptodev_get_vhost(cc, b, i); in cryptodev_vhost_start()
213 r = cryptodev_vhost_start_one(vhost_crypto, dev); in cryptodev_vhost_start()
234 vhost_crypto = cryptodev_get_vhost(cc, b, i); in cryptodev_vhost_start()
235 cryptodev_vhost_stop_one(vhost_crypto, dev); in cryptodev_vhost_start()
[all …]
H A Dcryptodev-vhost-user.c52 CryptoDevBackendVhost *vhost_crypto[MAX_CRYPTO_QUEUE_NUM]; member
73 return s->vhost_crypto[queue]; in cryptodev_vhost_user_get_vhost()
82 if (!cryptodev_vhost_user_running(s->vhost_crypto[i])) { in cryptodev_vhost_user_stop()
86 cryptodev_vhost_cleanup(s->vhost_crypto[i]); in cryptodev_vhost_user_stop()
87 s->vhost_crypto[i] = NULL; in cryptodev_vhost_user_stop()
101 if (cryptodev_vhost_user_running(s->vhost_crypto[i])) { in cryptodev_vhost_user_start()
108 s->vhost_crypto[i] = cryptodev_vhost_init(&options); in cryptodev_vhost_user_start()
109 if (!s->vhost_crypto[i]) { in cryptodev_vhost_user_start()
116 cryptodev_vhost_get_max_queues(s->vhost_crypto[i]); in cryptodev_vhost_user_start()
242 CryptoDevBackendVhost *vhost_crypto; in cryptodev_vhost_user_crypto_create_session() local
[all …]
/openbmc/qemu/hw/virtio/
H A Dvirtio-crypto.c1252 CryptoDevBackendVhost *vhost_crypto; in virtio_crypto_get_vhost() local
1260 vhost_crypto = cryptodev_get_vhost(cc, b, 0); in virtio_crypto_get_vhost()
1261 if (!vhost_crypto) { in virtio_crypto_get_vhost()
1265 return &vhost_crypto->dev; in virtio_crypto_get_vhost()
/openbmc/qemu/
H A Dmeson_options.txt304 option('vhost_crypto', type: 'feature', value: 'auto', feature
H A Dmeson.build213 have_vhost_user_crypto = get_option('vhost_crypto') \