Lines Matching full:backend

40 #define TYPE_CRYPTODEV_BACKEND "cryptodev-backend"
197 void (*init)(CryptoDevBackend *backend, Error **errp);
198 void (*cleanup)(CryptoDevBackend *backend, Error **errp);
200 int (*create_session)(CryptoDevBackend *backend,
206 int (*close_session)(CryptoDevBackend *backend,
212 int (*do_op)(CryptoDevBackend *backend,
273 /* Tag the cryptodev backend is used by virtio-crypto or not */
317 * Creates a new cryptodev backend client object.
323 * Returns: a new cryptodev backend client object
329 * @cc: the cryptodev backend client object
339 * @backend: the cryptodev backend object
342 * Clean the resource associated with @backend that realizaed
343 * by the specific backend's init() callback
346 CryptoDevBackend *backend,
351 * @backend: the cryptodev backend object
353 * @queue_index: queue index of cryptodev backend client
364 CryptoDevBackend *backend,
372 * @backend: the cryptodev backend object
374 * @queue_index: queue index of cryptodev backend client
386 CryptoDevBackend *backend,
394 * @backend: the cryptodev backend object
404 CryptoDevBackend *backend,
409 * @backend: the cryptodev backend object
412 * Set the cryptodev backend is used by virtio-crypto or not
414 void cryptodev_backend_set_used(CryptoDevBackend *backend, bool used);
418 * @backend: the cryptodev backend object
420 * Return the status that the cryptodev backend is used
425 bool cryptodev_backend_is_used(CryptoDevBackend *backend);
429 * @backend: the cryptodev backend object
432 * Set the cryptodev backend is ready or not, which is called
435 void cryptodev_backend_set_ready(CryptoDevBackend *backend, bool ready);
439 * @backend: the cryptodev backend object
441 * Return the status that the cryptodev backend is ready or not
445 bool cryptodev_backend_is_ready(CryptoDevBackend *backend);