Searched refs:vc_req (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/drivers/crypto/virtio/ |
D | virtio_crypto_algs.c | 59 (struct virtio_crypto_request *vc_req, int len) in virtio_crypto_dataq_sym_callback() argument 62 container_of(vc_req, struct virtio_crypto_sym_request, base); in virtio_crypto_dataq_sym_callback() 68 switch (vc_req->status) { in virtio_crypto_dataq_sym_callback() 345 struct virtio_crypto_request *vc_req = &vc_sym_req->base; in __virtio_crypto_skcipher_do_req() local 384 vc_req->req_data = req_data; in __virtio_crypto_skcipher_do_req() 415 sizeof(vc_req->status) > vcrypto->max_size)) { in __virtio_crypto_skcipher_do_req() 459 sg_init_one(&status_sg, &vc_req->status, sizeof(vc_req->status)); in __virtio_crypto_skcipher_do_req() 462 vc_req->sgs = sgs; in __virtio_crypto_skcipher_do_req() 466 num_in, vc_req, GFP_ATOMIC); in __virtio_crypto_skcipher_do_req() 488 struct virtio_crypto_request *vc_req = &vc_sym_req->base; in virtio_crypto_skcipher_encrypt() local [all …]
|
D | virtio_crypto_core.c | 17 virtcrypto_clear_request(struct virtio_crypto_request *vc_req) in virtcrypto_clear_request() argument 19 if (vc_req) { in virtcrypto_clear_request() 20 kfree_sensitive(vc_req->req_data); in virtcrypto_clear_request() 21 kfree(vc_req->sgs); in virtcrypto_clear_request() 28 struct virtio_crypto_request *vc_req; in virtcrypto_dataq_callback() local 36 while ((vc_req = virtqueue_get_buf(vq, &len)) != NULL) { in virtcrypto_dataq_callback() 39 if (vc_req->alg_cb) in virtcrypto_dataq_callback() 40 vc_req->alg_cb(vc_req, len); in virtcrypto_dataq_callback() 418 struct virtio_crypto_request *vc_req; in virtcrypto_free_unused_reqs() local 424 while ((vc_req = virtqueue_detach_unused_buf(vq)) != NULL) { in virtcrypto_free_unused_reqs() [all …]
|
D | virtio_crypto_common.h | 89 (struct virtio_crypto_request *vc_req, int len); 119 virtcrypto_clear_request(struct virtio_crypto_request *vc_req);
|