Lines Matching refs:cc

61     crypto->cc = options->cc;  in cryptodev_vhost_init()
67 crypto->dev.vq_index = crypto->cc->queue_index * crypto->dev.nvqs; in cryptodev_vhost_init()
118 cryptodev_get_vhost(CryptoDevBackendClient *cc, in cryptodev_get_vhost() argument
124 if (!cc) { in cryptodev_get_vhost()
128 switch (cc->type) { in cryptodev_get_vhost()
131 vhost_crypto = cryptodev_vhost_user_get_vhost(cc, b, queue); in cryptodev_get_vhost()
149 vhost_set_vring_enable(CryptoDevBackendClient *cc, in vhost_set_vring_enable() argument
154 cryptodev_get_vhost(cc, b, queue); in vhost_set_vring_enable()
157 cc->vring_enable = enable; in vhost_set_vring_enable()
181 CryptoDevBackendClient *cc; in cryptodev_vhost_start() local
189 cc = b->conf.peers.ccs[i]; in cryptodev_vhost_start()
191 vhost_crypto = cryptodev_get_vhost(cc, b, i); in cryptodev_vhost_start()
198 if (cc->type == QCRYPTODEV_BACKEND_TYPE_VHOST_USER) { in cryptodev_vhost_start()
210 cc = b->conf.peers.ccs[i]; in cryptodev_vhost_start()
212 vhost_crypto = cryptodev_get_vhost(cc, b, i); in cryptodev_vhost_start()
219 if (cc->vring_enable) { in cryptodev_vhost_start()
221 r = vhost_set_vring_enable(cc, b, i, cc->vring_enable); in cryptodev_vhost_start()
233 cc = b->conf.peers.ccs[i]; in cryptodev_vhost_start()
234 vhost_crypto = cryptodev_get_vhost(cc, b, i); in cryptodev_vhost_start()
253 CryptoDevBackendClient *cc; in cryptodev_vhost_stop() local
258 cc = b->conf.peers.ccs[i]; in cryptodev_vhost_stop()
260 vhost_crypto = cryptodev_get_vhost(cc, b, i); in cryptodev_vhost_stop()
278 CryptoDevBackendClient *cc; in cryptodev_vhost_virtqueue_mask() local
282 cc = b->conf.peers.ccs[queue]; in cryptodev_vhost_virtqueue_mask()
283 vhost_crypto = cryptodev_get_vhost(cc, b, queue); in cryptodev_vhost_virtqueue_mask()
294 CryptoDevBackendClient *cc; in cryptodev_vhost_virtqueue_pending() local
298 cc = b->conf.peers.ccs[queue]; in cryptodev_vhost_virtqueue_pending()
299 vhost_crypto = cryptodev_get_vhost(cc, b, queue); in cryptodev_vhost_virtqueue_pending()
322 cryptodev_get_vhost(CryptoDevBackendClient *cc, in cryptodev_get_vhost() argument