Searched refs:virtio_crypto (Results 1 – 8 of 8) sorted by relevance
33 struct virtio_crypto { struct111 int virtcrypto_devmgr_add_dev(struct virtio_crypto *vcrypto_dev);113 void virtcrypto_devmgr_rm_dev(struct virtio_crypto *vcrypto_dev);114 struct virtio_crypto *virtcrypto_devmgr_get_first(void);115 int virtcrypto_dev_in_use(struct virtio_crypto *vcrypto_dev);116 int virtcrypto_dev_get(struct virtio_crypto *vcrypto_dev);117 void virtcrypto_dev_put(struct virtio_crypto *vcrypto_dev);118 int virtcrypto_dev_started(struct virtio_crypto *vcrypto_dev);119 bool virtcrypto_algo_is_supported(struct virtio_crypto *vcrypto_dev,122 struct virtio_crypto *virtcrypto_get_dev_node(int node,[all …]
33 int virtcrypto_devmgr_add_dev(struct virtio_crypto *vcrypto_dev) in virtcrypto_devmgr_add_dev()46 struct virtio_crypto *ptr = in virtcrypto_devmgr_add_dev()47 list_entry(itr, struct virtio_crypto, list); in virtcrypto_devmgr_add_dev()76 void virtcrypto_devmgr_rm_dev(struct virtio_crypto *vcrypto_dev) in virtcrypto_devmgr_rm_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()[all …]
32 struct virtio_crypto *vcrypto = vq->vdev->priv; in virtcrypto_ctrlq_callback()51 int virtio_crypto_ctrl_vq_request(struct virtio_crypto *vcrypto, struct scatterlist *sgs[], in virtio_crypto_ctrl_vq_request()77 struct virtio_crypto *vcrypto = vq->vdev->priv; in virtcrypto_dataq_callback()98 static int virtcrypto_find_vqs(struct virtio_crypto *vi) in virtcrypto_find_vqs()172 static int virtcrypto_alloc_queues(struct virtio_crypto *vi) in virtcrypto_alloc_queues()182 static void virtcrypto_clean_affinity(struct virtio_crypto *vi, long hcpu) in virtcrypto_clean_affinity()194 static void virtcrypto_set_affinity(struct virtio_crypto *vcrypto) in virtcrypto_set_affinity()223 static void virtcrypto_free_queues(struct virtio_crypto *vi) in virtcrypto_free_queues()228 static int virtcrypto_init_vqs(struct virtio_crypto *vi) in virtcrypto_init_vqs()253 static int virtcrypto_update_status(struct virtio_crypto *vcrypto) in virtcrypto_update_status()[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;111 struct virtio_crypto *vcrypto = ctx->vcrypto; in virtio_crypto_alg_akcipher_init_session()170 struct virtio_crypto *vcrypto = ctx->vcrypto; in virtio_crypto_alg_akcipher_close_session()224 struct virtio_crypto *vcrypto = ctx->vcrypto; in __virtio_crypto_akcipher_do_req()292 struct virtio_crypto *vcrypto = ctx->vcrypto; in virtio_crypto_rsa_do_req()331 struct virtio_crypto *vcrypto = ctx->vcrypto; in virtio_crypto_rsa_req()373 struct virtio_crypto *vcrypto; in virtio_crypto_rsa_set_key()547 int virtio_crypto_akcipher_algs_register(struct virtio_crypto *vcrypto) in virtio_crypto_akcipher_algs_register()577 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.
22803 F: include/uapi/linux/virtio_crypto.h