Searched refs:vc_req (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/crypto/virtio/ |
D | virtio_crypto_algs.c | 70 (struct virtio_crypto_request *vc_req, int len) in virtio_crypto_dataq_sym_callback() argument 73 container_of(vc_req, struct virtio_crypto_sym_request, base); in virtio_crypto_dataq_sym_callback() 79 switch (vc_req->status) { in virtio_crypto_dataq_sym_callback() 364 struct virtio_crypto_request *vc_req = &vc_sym_req->base; in __virtio_crypto_ablkcipher_do_req() local 398 vc_req->req_data = req_data; in __virtio_crypto_ablkcipher_do_req() 428 sizeof(vc_req->status) > vcrypto->max_size)) { in __virtio_crypto_ablkcipher_do_req() 467 sg_init_one(&status_sg, &vc_req->status, sizeof(vc_req->status)); in __virtio_crypto_ablkcipher_do_req() 470 vc_req->sgs = sgs; in __virtio_crypto_ablkcipher_do_req() 474 num_in, vc_req, GFP_ATOMIC); in __virtio_crypto_ablkcipher_do_req() 496 struct virtio_crypto_request *vc_req = &vc_sym_req->base; in virtio_crypto_ablkcipher_encrypt() local [all …]
|
D | virtio_crypto_core.c | 29 virtcrypto_clear_request(struct virtio_crypto_request *vc_req) in virtcrypto_clear_request() argument 31 if (vc_req) { in virtcrypto_clear_request() 32 kzfree(vc_req->req_data); in virtcrypto_clear_request() 33 kfree(vc_req->sgs); in virtcrypto_clear_request() 40 struct virtio_crypto_request *vc_req; in virtcrypto_dataq_callback() local 48 while ((vc_req = virtqueue_get_buf(vq, &len)) != NULL) { in virtcrypto_dataq_callback() 51 if (vc_req->alg_cb) in virtcrypto_dataq_callback() 52 vc_req->alg_cb(vc_req, len); in virtcrypto_dataq_callback() 430 struct virtio_crypto_request *vc_req; in virtcrypto_free_unused_reqs() local 436 while ((vc_req = virtqueue_detach_unused_buf(vq)) != NULL) { in virtcrypto_free_unused_reqs() [all …]
|
D | virtio_crypto_common.h | 101 (struct virtio_crypto_request *vc_req, int len); 131 virtcrypto_clear_request(struct virtio_crypto_request *vc_req);
|