Searched refs:vc_req (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/crypto/virtio/ |
H A D | virtio_crypto_skcipher_algs.c | 56 (struct virtio_crypto_request *vc_req, int len) in virtio_crypto_dataq_sym_callback() argument 59 container_of(vc_req, struct virtio_crypto_sym_request, base); in virtio_crypto_dataq_sym_callback() 65 switch (vc_req->status) { in virtio_crypto_dataq_sym_callback() 329 struct virtio_crypto_request *vc_req = &vc_sym_req->base; in __virtio_crypto_skcipher_do_req() local 368 vc_req->req_data = req_data; in __virtio_crypto_skcipher_do_req() 399 sizeof(vc_req->status) > vcrypto->max_size)) { in __virtio_crypto_skcipher_do_req() 443 sg_init_one(&status_sg, &vc_req->status, sizeof(vc_req->status)); in __virtio_crypto_skcipher_do_req() 446 vc_req->sgs = sgs; in __virtio_crypto_skcipher_do_req() 450 num_in, vc_req, GFP_ATOMIC); in __virtio_crypto_skcipher_do_req() 472 struct virtio_crypto_request *vc_req = &vc_sym_req->base; in virtio_crypto_skcipher_encrypt() local [all …]
|
H A 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() 77 struct virtio_crypto_request *vc_req; in virtcrypto_done_task() local 82 while ((vc_req = virtqueue_get_buf(vq, &len)) != NULL) { in virtcrypto_done_task() 83 if (vc_req->alg_cb) in virtcrypto_done_task() 84 vc_req->alg_cb(vc_req, len); in virtcrypto_done_task() 477 struct virtio_crypto_request *vc_req; in virtcrypto_free_unused_reqs() local 483 while ((vc_req = virtqueue_detach_unused_buf(vq)) != NULL) { in virtcrypto_free_unused_reqs() [all …]
|
H A D | virtio_crypto_common.h | 103 (struct virtio_crypto_request *vc_req, int len); 133 virtcrypto_clear_request(struct virtio_crypto_request *vc_req);
|