Searched refs:virtio_crypto (Results 1 – 10 of 10) sorted by relevance
35 struct virtio_crypto { struct113 int virtcrypto_devmgr_add_dev(struct virtio_crypto *vcrypto_dev);115 void virtcrypto_devmgr_rm_dev(struct virtio_crypto *vcrypto_dev);116 struct virtio_crypto *virtcrypto_devmgr_get_first(void);117 int virtcrypto_dev_in_use(struct virtio_crypto *vcrypto_dev);118 int virtcrypto_dev_get(struct virtio_crypto *vcrypto_dev);119 void virtcrypto_dev_put(struct virtio_crypto *vcrypto_dev);120 int virtcrypto_dev_started(struct virtio_crypto *vcrypto_dev);124 struct virtio_crypto *virtcrypto_get_dev_node(int node,127 int virtcrypto_dev_start(struct virtio_crypto *vcrypto);[all …]
46 struct virtio_crypto *ptr = in virtcrypto_devmgr_add_dev()47 list_entry(itr, struct virtio_crypto, list); in virtcrypto_devmgr_add_dev()94 struct virtio_crypto *virtcrypto_devmgr_get_first(void) in virtcrypto_devmgr_get_first()96 struct virtio_crypto *dev = NULL; in virtcrypto_devmgr_get_first()101 struct virtio_crypto, in virtcrypto_devmgr_get_first()115 int virtcrypto_dev_in_use(struct virtio_crypto *vcrypto_dev) in virtcrypto_dev_in_use()131 int virtcrypto_dev_get(struct virtio_crypto *vcrypto_dev) in virtcrypto_dev_get()150 void virtcrypto_dev_put(struct virtio_crypto *vcrypto_dev) in virtcrypto_dev_put()187 struct virtio_crypto *vcrypto_dev = NULL, *tmp_dev; in virtcrypto_get_dev_node()238 int virtcrypto_dev_start(struct virtio_crypto *vcrypto) in virtcrypto_dev_start()[all …]
32 struct virtio_crypto *vcrypto = vq->vdev->priv; in virtcrypto_ctrlq_callback()93 struct virtio_crypto *vcrypto = vq->vdev->priv; in virtcrypto_dataq_callback()99 static int virtcrypto_find_vqs(struct virtio_crypto *vi) in virtcrypto_find_vqs()231 static int virtcrypto_init_vqs(struct virtio_crypto *vi) in virtcrypto_init_vqs()343 struct virtio_crypto *vcrypto = in vcrypto_config_changed_work()344 container_of(work, struct virtio_crypto, config_work); in vcrypto_config_changed_work()352 struct virtio_crypto *vcrypto; in virtcrypto_probe()502 struct virtio_crypto *vcrypto = vdev->priv; in virtcrypto_remove()522 struct virtio_crypto *vcrypto = vdev->priv; in virtcrypto_config_changed()530 struct virtio_crypto *vcrypto = vdev->priv; in virtcrypto_freeze()[all …]
2 obj-$(CONFIG_CRYPTO_DEV_VIRTIO) += virtio_crypto.o3 virtio_crypto-objs := \
19 struct virtio_crypto *vcrypto;118 struct virtio_crypto *vcrypto = ctx->vcrypto; in virtio_crypto_alg_skcipher_init_session()198 struct virtio_crypto *vcrypto = ctx->vcrypto; in virtio_crypto_alg_skcipher_close_session()255 struct virtio_crypto *vcrypto = ctx->vcrypto; in virtio_crypto_alg_skcipher_init_sessions()296 struct virtio_crypto *vcrypto = in virtio_crypto_skcipher_setkey()331 struct virtio_crypto *vcrypto = ctx->vcrypto; in __virtio_crypto_skcipher_do_req()473 struct virtio_crypto *vcrypto = ctx->vcrypto; in virtio_crypto_skcipher_encrypt()498 struct virtio_crypto *vcrypto = ctx->vcrypto; in virtio_crypto_skcipher_decrypt()600 int virtio_crypto_skcipher_algs_register(struct virtio_crypto *vcrypto) in virtio_crypto_skcipher_algs_register()631 void virtio_crypto_skcipher_algs_unregister(struct virtio_crypto *vcrypto) in virtio_crypto_skcipher_algs_unregister()
28 struct virtio_crypto *vcrypto;112 struct virtio_crypto *vcrypto = ctx->vcrypto; in virtio_crypto_alg_akcipher_init_session()171 struct virtio_crypto *vcrypto = ctx->vcrypto; in virtio_crypto_alg_akcipher_close_session()225 struct virtio_crypto *vcrypto = ctx->vcrypto; in __virtio_crypto_akcipher_do_req()293 struct virtio_crypto *vcrypto = ctx->vcrypto; in virtio_crypto_rsa_do_req()332 struct virtio_crypto *vcrypto = ctx->vcrypto; in virtio_crypto_rsa_req()374 struct virtio_crypto *vcrypto; in virtio_crypto_rsa_set_key()548 int virtio_crypto_akcipher_algs_register(struct virtio_crypto *vcrypto) in virtio_crypto_akcipher_algs_register()578 void virtio_crypto_akcipher_algs_unregister(struct virtio_crypto *vcrypto) in virtio_crypto_akcipher_algs_unregister()
13 choose 'M' here, this module will be called virtio_crypto.
4046 -rw-r--r-- root root 13874 ./usr/include/linux/virtio_crypto.h
4045 -rw-r--r-- root root 13874 ./usr/include/linux/virtio_crypto.h
22848 F: include/uapi/linux/virtio_crypto.h