Searched refs:vhost_crypto (Results 1 – 5 of 5) sorted by relevance
/openbmc/qemu/backends/ |
H A D | cryptodev-vhost.c | 122 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 D | cryptodev-vhost-user.c | 52 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 D | virtio-crypto.c | 1252 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 D | meson_options.txt | 304 option('vhost_crypto', type: 'feature', value: 'auto', feature
|
H A D | meson.build | 213 have_vhost_user_crypto = get_option('vhost_crypto') \
|